diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2008-03-25 16:44:20 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2008-03-25 16:44:20 +0000 |
commit | 7f18fb8c35153a5dc4c561e87dc3263718c69d50 (patch) | |
tree | bbd8c41d44bc6223c9818a42610a29ff516b0656 /gst | |
parent | d31a648d7542f4a86d5e184654c8ca63d2c6262f (diff) |
gst/qtdemux/qtdemux.c: Unbreak streaming mode again.
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (next_entry_size):
Unbreak streaming mode again.
Diffstat (limited to 'gst')
-rw-r--r-- | gst/qtdemux/qtdemux.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c index 324ccbc7..33061f5c 100644 --- a/gst/qtdemux/qtdemux.c +++ b/gst/qtdemux/qtdemux.c @@ -1866,6 +1866,9 @@ next_entry_size (GstQTDemux * demux) for (i = 0; i < demux->n_streams; i++) { stream = demux->streams[i]; + if (stream->sample_index == -1) + stream->sample_index = 0; + GST_LOG_OBJECT (demux, "Checking Stream %d (sample_index:%d / offset:%lld / size:%d / chunk:%d)", i, stream->sample_index, stream->samples[stream->sample_index].offset, |