adaptivedemux: Remember the last return value of gst_adaptive_demux_stream_update_fra...
authorSebastian Dröge <sebastian@centricular.com>
Tue, 23 Jun 2015 11:13:49 +0000 (13:13 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 23 Jun 2015 11:15:55 +0000 (13:15 +0200)
commit281a13efa12459ec80771c1b9478b0538017f918
tree3f3b977b14f45f176845b8ef7e3d8e4b29ef0dd3
parent0bff481011cf74c59869b511393d1696b570e3d5
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.
gst-libs/gst/adaptivedemux/gstadaptivedemux.c