mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-05 02:02:26 +00:00
qtdemux: Fix push mode by making sure stbl information is available in
next_entry_size ()
This commit is contained in:
parent
db5de8f1b6
commit
98279be735
1 changed files with 7 additions and 0 deletions
|
@ -2814,6 +2814,13 @@ next_entry_size (GstQTDemux * demux)
|
||||||
continue;
|
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];
|
sample = &stream->samples[stream->sample_index];
|
||||||
|
|
||||||
GST_LOG_OBJECT (demux,
|
GST_LOG_OBJECT (demux,
|
||||||
|
|
Loading…
Reference in a new issue