decodebin3: Fix memory issues with active selection list
authorEdward Hervey <edward@centricular.com>
Tue, 27 Sep 2022 11:41:37 +0000 (13:41 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 27 Sep 2022 14:21:25 +0000 (16:21 +0200)
commitc22ddbc187771cec394bcb2c43e65f171cca0182
tree5d2a17bb5e8608f85815092ec857d64cc54364c2
parent02a8f9973b6c7d4c3c53dfe86d25e262705f92fa
decodebin3: Fix memory issues with active selection list

This had a couple of issues:
* The backing strings (from GstStream) could disappear
* The actual list wasn't properly reset/freed when decodebin3 was re-used

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3083>
subprojects/gst-plugins-base/gst/playback/gstdecodebin3.c