adaptivedemux2: Clean up stream parsebins on finalize
authorJan Schmidt <jan@centricular.com>
Tue, 28 Jun 2022 15:25:41 +0000 (01:25 +1000)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 29 Jun 2022 14:33:30 +0000 (14:33 +0000)
commita369448b0ce98d57c061ea6f13dea978a00cb940
treed53b4c829ae678ffb45246990f9374684e62bd07
parent63d3ba4dfbd962966cffea93808d46c35c1a61b1
adaptivedemux2: Clean up stream parsebins on finalize

Remove the parsebin for a stream from the overall
bin when cleaning up the stream, to avoid
keeping around old ones when moving between periods

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