Source pad of decodebin2 isn't unlinked after hlsdemuxer changed stream
Describe your issue
When hlsdemux change video stream, decobin still linked to old mutiqueue It made output is paused after short time. Please check my attached pipeline graph. As you see, multique0 was unlinked to hlsdumux, but docodebin source pad still be linked to multique0. It should be linked to multique0 instead.
Expected Behavior
docodebin source pad should be linked to multique of new stream
Observed Behavior
docodebin source was linked to multique of old stream
Setup
- Operating System: Ubuntu tu 20.04
- GStreamer Version: 1.16.3
Steps to reproduce the bug
- open terminal and run: gst-play-1.0 https://d3rlna7iyyu8wu.cloudfront.net/skip_armstrong/skip_armstrong_stereo_subs.m3u8
- waiting for playing
- turn off network connect and waiting for gst-play is buffering
- turn on network connection again (at that time, hlsdemux will re-caculate with bitrate/bandwidth and will change new stream)
- gst-play will continue to play in a short time and then playing with audio only ( video is pause)