From c403790b6cb1c9af19a71064f71bf43ae12e77d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 5 Oct 2006 18:14:46 +0000 Subject: Another batch of printf format fixes. Original commit message from CVS: * ext/dts/gstdtsdec.c: (gst_dtsdec_chain): * ext/musicbrainz/gsttrm.c: (gst_trm_setcaps): * ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_sink_set_caps): * gst/qtdemux/qtdemux.c: (gst_qtdemux_chain), (qtdemux_parse), (qtdemux_parse_trak): * gst/spectrum/gstspectrum.c: (gst_spectrum_transform_ip): Another batch of printf format fixes. --- gst/qtdemux/qtdemux.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'gst/qtdemux') diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c index cc60e4b0..6ec89eb0 100644 --- a/gst/qtdemux/qtdemux.c +++ b/gst/qtdemux/qtdemux.c @@ -1567,8 +1567,8 @@ gst_qtdemux_chain (GstPad * sinkpad, GstBuffer * inbuf) /* get fourcc/length, set neededbytes */ extract_initial_length_and_fourcc ((guint8 *) data, &size, &fourcc); GST_DEBUG_OBJECT (demux, - "Peeking found [%" GST_FOURCC_FORMAT "] size:%ld", - GST_FOURCC_ARGS (fourcc), size); + "Peeking found [%" GST_FOURCC_FORMAT "] size: %u", + GST_FOURCC_ARGS (fourcc), (guint) size); if ((fourcc == GST_MAKE_FOURCC ('m', 'd', 'a', 't'))) { if (demux->n_streams > 0) { demux->state = QTDEMUX_STATE_MOVIE; @@ -1719,7 +1719,7 @@ gst_qtdemux_chain (GstPad * sinkpad, GstBuffer * inbuf) stream->sample_index++; /* update current offset and figure out size of next buffer */ - GST_LOG_OBJECT (demux, "bumping offset:%lld up by %lld", + GST_LOG_OBJECT (demux, "increasing offset %" G_GUINT64_FORMAT " by %u", demux->offset, demux->neededbytes); demux->offset += demux->neededbytes; GST_LOG_OBJECT (demux, "offset is now %lld", demux->offset); @@ -2257,7 +2257,7 @@ qtdemux_parse (GstQTDemux * qtdemux, GNode * node, void *buffer, int length) } len = QTDEMUX_GUINT32_GET (buf); if (len < 8) { - GST_WARNING ("length too short (%d < 8)"); + GST_WARNING ("length too short (%d < 8)", len); break; } if (len > (end - buf)) { @@ -2290,7 +2290,7 @@ qtdemux_parse (GstQTDemux * qtdemux, GNode * node, void *buffer, int length) } len = QTDEMUX_GUINT32_GET (buf); if (len < 8) { - GST_WARNING ("length too short (%d < 8)"); + GST_WARNING ("length too short (%d < 8)", len); break; } if (len > (end - buf)) { @@ -2345,7 +2345,7 @@ qtdemux_parse (GstQTDemux * qtdemux, GNode * node, void *buffer, int length) if (len == 0) break; if (len < 8) { - GST_WARNING ("length too short (%d < 8)"); + GST_WARNING ("length too short (%d < 8)", len); break; } if (len > (end - buf)) { @@ -2375,7 +2375,7 @@ qtdemux_parse (GstQTDemux * qtdemux, GNode * node, void *buffer, int length) } len = QTDEMUX_GUINT32_GET (buf); if (len < 8) { - GST_WARNING ("length too short (%d < 8)"); + GST_WARNING ("length too short (%d < 8)", len); break; } if (len > (end - buf)) { @@ -2424,7 +2424,7 @@ qtdemux_parse (GstQTDemux * qtdemux, GNode * node, void *buffer, int length) if (len == 0) break; if (len < 8) { - GST_WARNING ("length too short (%d < 8)"); + GST_WARNING ("length too short (%d < 8)", len); break; } if (len > (end - buf)) { @@ -3335,7 +3335,8 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak) GST_LOG ("stsd len: %d", len); stream->fourcc = fourcc = QTDEMUX_FOURCC_GET (stsd->data + 16 + 4); - GST_LOG ("stsd type: %" GST_FOURCC_FORMAT, stream->fourcc); + GST_LOG ("stsd type: %" GST_FOURCC_FORMAT, + GST_FOURCC_ARGS (stream->fourcc)); offset = 32; -- cgit v1.2.1