From 6b69ef24a1e13f0ad7980fe25d954d37133ba746 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Fri, 12 Dec 2014 11:06:17 +0100 Subject: [PATCH] qtdemux: Fix debug statement It was using the non-increasing offset variable, which made that statement not so useful :) --- gst/isomp4/qtdemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c index 44da17a371..63a462351a 100644 --- a/gst/isomp4/qtdemux.c +++ b/gst/isomp4/qtdemux.c @@ -6831,7 +6831,7 @@ qtdemux_parse_samples (GstQTDemux * qtdemux, QtDemuxStream * stream, guint32 n) for (k = stream->stsc_sample_index; k < samples_per_chunk; k++) { GST_LOG_OBJECT (qtdemux, "creating entry %d with offset %" G_GUINT64_FORMAT " and size %d", - (guint) (cur - samples), stream->chunk_offset, cur->size); + (guint) (cur - samples), chunk_offset, cur->size); cur->offset = chunk_offset; chunk_offset += cur->size;