adaptivedemux2: Ignore stopped stream flow state
authorJan Schmidt <jan@centricular.com>
Tue, 28 Jun 2022 14:51:28 +0000 (00:51 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 29 Jun 2022 15:35:26 +0000 (16:35 +0100)
commit0af4a53bc25cbe848ce485ee5a92f6fb8043d804
tree27b7cb984a13e6f4ed7bb87c82f682dd7b3d8f94
parenta369448b0ce98d57c061ea6f13dea978a00cb940
adaptivedemux2: Ignore stopped stream flow state

When calculating the combined stream flow state
for a period, don't consider stopped streams.

Fixes switching to the next period in DASH streams
with multiple video/audio/subtitle streams.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2684>
subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux-period.c