summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJulien Moutte <julien@moutte.net>2008-04-11 08:13:22 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2010-05-11 19:02:53 +0100
commitb33c37c2561780e106085534c2b748144f7280de (patch)
tree056208461c2274cc91c0f1a97a0654e627b29c8e /sys
parent5f73998ac818bd720f3a0fa7d16555cd188dae1d (diff)
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.
Diffstat (limited to 'sys')
-rw-r--r--sys/oss4/oss4-mixer-enum.c8
-rw-r--r--sys/oss4/oss4-source.c3
2 files changed, 6 insertions, 5 deletions
diff --git a/sys/oss4/oss4-mixer-enum.c b/sys/oss4/oss4-mixer-enum.c
index edd0d7bb8..4b64bb1fc 100644
--- a/sys/oss4/oss4-mixer-enum.c
+++ b/sys/oss4/oss4-mixer-enum.c
@@ -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);
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);
list = g_list_prepend (list, (gpointer) s);
} else {
- GST_LOG_OBJECT (e, "option '%s' is currently not available");
+ GST_LOG_OBJECT (e, "option '%s' is currently not available", s);
}
}
diff --git a/sys/oss4/oss4-source.c b/sys/oss4/oss4-source.c
index 1cf2328f9..90c12b0f8 100644
--- a/sys/oss4/oss4-source.c
+++ b/sys/oss4/oss4-source.c
@@ -548,7 +548,8 @@ gst_oss4_source_delay (GstAudioSrc * asrc)
}
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;
}