decodebin3: avoid identity, sinkpad, parsebin leakage when reset input
authorHaihua Hu <jared.hu@nxp.com>
Thu, 18 May 2023 08:08:03 +0000 (16:08 +0800)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 21 Jul 2023 17:20:37 +0000 (18:20 +0100)
commit03119a388cbaacfb614b2c8f780b563d2f1ea7e1
tree7ec11f05c6aa0a26df9751fdaa6eec1901661c62
parent60120003c03501f45947282bfcc6a41da4912a63
decodebin3: avoid identity, sinkpad, parsebin leakage when reset input

when reset_input, need remove identity/parsebin from decodebin3
when release_pad, need call free or reset input if collection
didn't change

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