sys/oss4/: Fix arguments format in debug statements.
Original commit message from CVS: 2008-04-11 Julien Moutte <julien@fluendo.com> * sys/oss4/oss4-mixer-enum.c: (gst_oss4_mixer_enum_get_values_locked): * sys/oss4/oss4-source.c: (gst_oss4_source_delay): Fix arguments format in debug statements.
This commit is contained in:
parent
44611701ba
commit
5788aba92c
@ -1,3 +1,10 @@
|
|||||||
|
2008-04-11 Julien Moutte <julien@fluendo.com>
|
||||||
|
|
||||||
|
* sys/oss4/oss4-mixer-enum.c:
|
||||||
|
(gst_oss4_mixer_enum_get_values_locked):
|
||||||
|
* sys/oss4/oss4-source.c: (gst_oss4_source_delay): Fix arguments
|
||||||
|
format in debug statements.
|
||||||
|
|
||||||
2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
|
2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
|
Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
|
||||||
|
@ -84,14 +84,14 @@ gst_oss4_mixer_enum_get_values_locked (GstMixerOptions * options)
|
|||||||
GST_LOG_OBJECT (e, "updating available values for %s", e->mc->mixext.extname);
|
GST_LOG_OBJECT (e, "updating available values for %s", e->mc->mixext.extname);
|
||||||
|
|
||||||
for (i = 0; i < e->mc->mixext.maxvalue; ++i) {
|
for (i = 0; i < e->mc->mixext.maxvalue; ++i) {
|
||||||
if (MIXEXT_ENUM_IS_AVAILABLE (e->mc->mixext, i)) {
|
|
||||||
const gchar *s;
|
const gchar *s;
|
||||||
|
|
||||||
s = g_quark_to_string (e->mc->enum_vals[i]);
|
s = g_quark_to_string (e->mc->enum_vals[i]);
|
||||||
|
if (MIXEXT_ENUM_IS_AVAILABLE (e->mc->mixext, i)) {
|
||||||
GST_LOG_OBJECT (e, "option '%s' is available", s);
|
GST_LOG_OBJECT (e, "option '%s' is available", s);
|
||||||
list = g_list_prepend (list, (gpointer) s);
|
list = g_list_prepend (list, (gpointer) s);
|
||||||
} else {
|
} else {
|
||||||
GST_LOG_OBJECT (e, "option '%s' is currently not available");
|
GST_LOG_OBJECT (e, "option '%s' is currently not available", s);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -548,7 +548,8 @@ gst_oss4_source_delay (GstAudioSrc * asrc)
|
|||||||
}
|
}
|
||||||
|
|
||||||
delay = (info.fragstotal * info.fragsize) - info.bytes;
|
delay = (info.fragstotal * info.fragsize) - info.bytes;
|
||||||
GST_LOG_OBJECT (oss, "fragstotal:%d, fragsize:%d, bytes:%d, delay:%d");
|
GST_LOG_OBJECT (oss, "fragstotal:%d, fragsize:%d, bytes:%d, delay:%d",
|
||||||
|
info.fragstotal, info.fragsize, info.bytes, delay);
|
||||||
return delay;
|
return delay;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user