qtdemux: fix chunk counter
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 5 Jan 2010 10:47:20 +0000 (11:47 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 5 Jan 2010 14:51:55 +0000 (15:51 +0100)
gst/qtdemux/qtdemux.c

index b85c8acdb5d16d270b6304bc98763ad5d73a2d1e..d474f8c109daf78aa024bdecb30f887a8f00b68b 100644 (file)
@@ -4327,6 +4327,7 @@ qtdemux_parse_samples (GstQTDemux * qtdemux, QtDemuxStream * stream, guint32 n)
             /* save state */
             stream->stsc_sample_index = k + 1;
             stream->chunk_offset = chunk_offset;
+            stream->stsc_chunk_index = j;
             goto done2;
           }
         }