summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--gst/qtdemux/qtdemux.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e2fa8745..ee738bd7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-03-25 Wim Taymans <wim.taymans@collabora.co.uk>
+
+ * gst/qtdemux/qtdemux.c: (next_entry_size):
+ Unbreak streaming mode again.
+
2008-03-25 Tim-Philipp Müller <tim at centricular dot net>
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_set_capture):
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,