summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2008-03-16 14:04:16 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2008-03-16 14:04:16 +0000
commite0ac7c51f30bd19ceef6e38c6541db3454ca86e1 (patch)
tree8dc1e98b587a64f5bd9ee25f989ef214cde8c3f2
parentae0eb4e7ce3b592cd767b6655fef51688b0776c6 (diff)
gst/avi/gstavidemux.c: Fix up my last commit. Use G_GUINT32_FORMAT for the guint32 debug log.
Original commit message from CVS: * gst/avi/gstavidemux.c: Fix up my last commit. Use G_GUINT32_FORMAT for the guint32 debug log. Also downgrade a GST_WARNING to GST_DEBUG and add a comment.
-rw-r--r--ChangeLog6
-rw-r--r--gst/avi/gstavidemux.c7
2 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 06022f94..435dc334 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,12 @@
2008-03-16 Stefan Kost <ensonic@users.sf.net>
* gst/avi/gstavidemux.c:
+ Fix up my last commit. Use G_GUINT32_FORMAT for the guint32 debug log.
+ Also downgrade a GST_WARNING to GST_DEBUG and add a comment.
+
+2008-03-16 Stefan Kost <ensonic@users.sf.net>
+
+ * gst/avi/gstavidemux.c:
Chunksize is uint32. Fix format specifier.
2008-03-14 Christian Schaller <christian.schaller@collabora.co.uk>
diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c
index ac1f7042..b515e06c 100644
--- a/gst/avi/gstavidemux.c
+++ b/gst/avi/gstavidemux.c
@@ -1739,7 +1739,8 @@ gst_avi_demux_stream_index (GstAviDemux * avi,
tag = GST_READ_UINT32_LE (GST_BUFFER_DATA (buf));
size = GST_READ_UINT32_LE (GST_BUFFER_DATA (buf) + 4);
if (tag == GST_RIFF_TAG_LIST) {
- GST_WARNING_OBJECT (avi, "skip LIST chunk, size %lu",
+ /* this is the movi tag */
+ GST_DEBUG_OBJECT (avi, "skip LIST chunk, size %" G_GUINT32_FORMAT,
(8 + ((size + 1) & ~1)));
offset += 8 + ((size + 1) & ~1);
gst_buffer_unref (buf);
@@ -1766,8 +1767,8 @@ gst_avi_demux_stream_index (GstAviDemux * avi,
avi->sinkpad, &offset, &tag, &buf) != GST_FLOW_OK)
return;
- GST_INFO ("will parse index chunk size %lu for tag %" GST_FOURCC_FORMAT,
- GST_BUFFER_SIZE (buf), GST_FOURCC_ARGS (tag));
+ GST_INFO ("will parse index chunk size %" G_GUINT32_FORMAT " for tag %"
+ GST_FOURCC_FORMAT, GST_BUFFER_SIZE (buf), GST_FOURCC_ARGS (tag));
gst_avi_demux_parse_index (avi, buf, index);
if (*index)