summaryrefslogtreecommitdiff
path: root/ext/faad
diff options
context:
space:
mode:
authorJosep Torra <n770galaxy@gmail.com>2009-10-12 12:29:44 +0200
committerJosep Torra <n770galaxy@gmail.com>2009-10-12 12:30:22 +0200
commitd1f931630d61aebc7dad7b43e9acdf31d47ef1ed (patch)
tree2d357406b44e496e112df7077bc84bb3d81e9265 /ext/faad
parenta2be08d74c93d5a06d9a07a8d51891fc0b96513e (diff)
downloadgstreamer-plugins-bad-d1f931630d61aebc7dad7b43e9acdf31d47ef1ed.tar.gz
faad: fixes warning in macosx snow leopard
Diffstat (limited to 'ext/faad')
-rw-r--r--ext/faad/gstfaad.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c
index 78ca703a7..5ebb04382 100644
--- a/ext/faad/gstfaad.c
+++ b/ext/faad/gstfaad.c
@@ -346,7 +346,7 @@ gst_faad_setcaps (GstPad * pad, GstCaps * caps)
}
GST_DEBUG_OBJECT (faad, "codec_data init: channels=%u, rate=%u", channels,
- samplerate);
+ (guint32) samplerate);
/* not updating these here, so they are updated in the
* chain function, and new caps are created etc. */
@@ -1310,15 +1310,15 @@ gst_faad_chain (GstPad * pad, GstBuffer * buffer)
if (faacDecInit (faad->handle, input_data, input_size, &rate, &ch) < 0)
goto init_failed;
- GST_DEBUG_OBJECT (faad, "faacDecInit() ok: rate=%u,channels=%u", rate,
- ch);
+ GST_DEBUG_OBJECT (faad, "faacDecInit() ok: rate=%u,channels=%u",
+ (guint32) rate, ch);
} else {
if ((gint8) faacDecInit2 (faad->handle, faad->fake_codec_data, 2,
&rate, &ch) < 0) {
goto init2_failed;
}
- GST_DEBUG_OBJECT (faad, "faacDecInit2() ok: rate=%u,channels=%u", rate,
- ch);
+ GST_DEBUG_OBJECT (faad, "faacDecInit2() ok: rate=%u,channels=%u",
+ (guint32) rate, ch);
}
skip_bytes = 0;