From a698a439beb8a06dace3b5558b921ba2549699a1 Mon Sep 17 00:00:00 2001 From: Peter Kjellerstedt Date: Wed, 12 Sep 2007 08:38:22 +0000 Subject: gst/: Printf format fixes (#476128). Original commit message from CVS: Patch by: Peter Kjellerstedt * gst-libs/gst/app/gstappsink.c: * gst/flv/gstflvdemux.c: * gst/flv/gstflvparse.c: * gst/interleave/deinterleave.c: * gst/switch/gstswitch.c: Printf format fixes (#476128). --- gst/flv/gstflvparse.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'gst/flv/gstflvparse.c') diff --git a/gst/flv/gstflvparse.c b/gst/flv/gstflvparse.c index eeb64546..6240e684 100644 --- a/gst/flv/gstflvparse.c +++ b/gst/flv/gstflvparse.c @@ -474,7 +474,7 @@ gst_flv_parse_tag_audio (GstFLVDemux * demux, const guint8 * data, caps = gst_caps_new_simple ("audio/x-raw-int", NULL); break; default: - GST_WARNING_OBJECT (demux, "unsupported audio codec tag", codec_tag); + GST_WARNING_OBJECT (demux, "unsupported audio codec tag %u", codec_tag); } if (G_UNLIKELY (!caps)) { @@ -541,7 +541,7 @@ gst_flv_parse_tag_audio (GstFLVDemux * demux, const guint8 * data, caps = gst_caps_new_simple ("audio/x-raw-int", NULL); break; default: - GST_WARNING_OBJECT (demux, "unsupported audio codec tag", codec_tag); + GST_WARNING_OBJECT (demux, "unsupported audio codec tag %u", codec_tag); } if (G_UNLIKELY (!caps)) { @@ -930,7 +930,8 @@ gst_flv_parse_tag_type (GstFLVDemux * demux, const guint8 * data, demux->tag_data_size = FLV_GET_BEUI24 (data + 1, data_size - 1); demux->tag_size = demux->tag_data_size + 11; - GST_LOG_OBJECT (demux, "tag data size is %d", demux->tag_data_size); + GST_LOG_OBJECT (demux, "tag data size is %" G_GUINT64_FORMAT, + demux->tag_data_size); return ret; } -- cgit v1.2.1