mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
adaptivedemux: Remember the last return value of gst_adaptive_demux_stream_update_fragment_info()
It's going to return EOS if the period ended or otherwise there is just no next fragment left. If we don't store the last return value, it will always stay OK and gst_adaptive_demux_combine_flows() will always return OK instead of EOS once all streams are done. This partially switches period changes in DASH by at least trying to switch instead of just stopping. What is still left is that after a period change with DASH the times all start at 0 again instead of continuing.
This commit is contained in:
parent
0bff481011
commit
281a13efa1
1 changed files with 2 additions and 0 deletions
|
@ -2068,6 +2068,8 @@ gst_adaptive_demux_stream_download_loop (GstAdaptiveDemuxStream * stream)
|
|||
GST_OBJECT_UNLOCK (demux);
|
||||
|
||||
GST_MANIFEST_LOCK (demux);
|
||||
} else {
|
||||
stream->last_ret = ret;
|
||||
}
|
||||
|
||||
switch (ret) {
|
||||
|
|
Loading…
Reference in a new issue