qtdemux: Fix debug statement
authorEdward Hervey <bilboed@bilboed.com>
Fri, 12 Dec 2014 10:06:17 +0000 (11:06 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 12 Dec 2014 10:06:17 +0000 (11:06 +0100)
It was using the non-increasing offset variable, which made that statement
not so useful :)

gst/isomp4/qtdemux.c

index 44da17a..63a4623 100644 (file)
@@ -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;