mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-08 21:28:45 +00:00
gst/qtdemux/qtdemux.c: Unbreak streaming mode again.
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (next_entry_size): Unbreak streaming mode again.
This commit is contained in:
parent
d31a648d75
commit
7f18fb8c35
2 changed files with 8 additions and 0 deletions
|
@ -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>
|
2008-03-25 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_set_capture):
|
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_set_capture):
|
||||||
|
|
|
@ -1866,6 +1866,9 @@ next_entry_size (GstQTDemux * demux)
|
||||||
for (i = 0; i < demux->n_streams; i++) {
|
for (i = 0; i < demux->n_streams; i++) {
|
||||||
stream = demux->streams[i];
|
stream = demux->streams[i];
|
||||||
|
|
||||||
|
if (stream->sample_index == -1)
|
||||||
|
stream->sample_index = 0;
|
||||||
|
|
||||||
GST_LOG_OBJECT (demux,
|
GST_LOG_OBJECT (demux,
|
||||||
"Checking Stream %d (sample_index:%d / offset:%lld / size:%d / chunk:%d)",
|
"Checking Stream %d (sample_index:%d / offset:%lld / size:%d / chunk:%d)",
|
||||||
i, stream->sample_index, stream->samples[stream->sample_index].offset,
|
i, stream->sample_index, stream->samples[stream->sample_index].offset,
|
||||||
|
|
Loading…
Reference in a new issue