hlsdemux: setup new stream if current variant stream becomes invalid and is removed from master playlist
Submitted by Jun Xie
Link to original bug (#792232)
Description
During updating manifest, current variant stream is checked for validity.
If it becomes invalid, master playlist is updated and old variant streams are compared new variant stream.
Currently, only a warning log is shown.
hlsdemux gsthlsdemux.c:1288:gst_hls_demux_update_variant_playlist:[00m Unable to match current playlist
I think we need to :
- reset current variant,
- setup new stream.