mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 04:56:24 +00:00
qtdemux: Do not expect EOS after a segment event if upstream is mss
In case qtdemux is handling a mss stream, do not mark the stream to wait for EOS after a segment. Even if it seems to be the last one according to the current streams information. MSS handling is different here because there is another demuxer driving the pipeline
This commit is contained in:
parent
5517e352ab
commit
55caa99ccd
1 changed files with 5 additions and 1 deletions
|
@ -1919,7 +1919,11 @@ gst_qtdemux_handle_sink_event (GstPad * sinkpad, GstObject * parent,
|
|||
demux->neededbytes = demux->todrop + stream->samples[idx].size;
|
||||
} else {
|
||||
/* set up for EOS */
|
||||
demux->neededbytes = -1;
|
||||
if (demux->mss_mode) {
|
||||
demux->neededbytes = 16;
|
||||
} else {
|
||||
demux->neededbytes = -1;
|
||||
}
|
||||
demux->todrop = 0;
|
||||
}
|
||||
exit:
|
||||
|
|
Loading…
Reference in a new issue