hlsdemux: fails on twitter m3u8 when bandwidth variant changes
This pipeline fails with on an not-linked error, with gstreamer 1.18:
gst-launch-1.0 -v souphttpsrc location=http://video.twimg.com/ext_tw_video/1325050821277528064/pu/pl/N7CUCgcSSHBNsjx5.m3u8 ! hlsdemux ! fakesink
It looks like a superfluous eos event is propagated from
gst_adaptive_demux_expose_streams() while switching from low bandwidth to high bandwidth stream (there're 3 streams available in the master playlist). It seems to me that the fakesink consumes the buffers faster than they can be downloaded.