qtdemux: Fix push mode by making sure stbl information is available in

next_entry_size ()
This commit is contained in:
Robert Swain 2009-11-24 16:40:19 +01:00
parent db5de8f1b6
commit 98279be735

View file

@ -2814,6 +2814,13 @@ next_entry_size (GstQTDemux * demux)
continue;
}
if ((stream->sample_index > stream->stbl_index)
&& !qtdemux_parse_samples (demux, stream, stream->sample_index)) {
GST_LOG_OBJECT (demux, "Parsing of index %u from stbl atom failed!",
stream->sample_index);
return -1;
}
sample = &stream->samples[stream->sample_index];
GST_LOG_OBJECT (demux,