decodebin3: DecodebinInputStream: Hold a ref to srcpad
authorEdward Hervey <edward@centricular.com>
Wed, 9 Nov 2022 09:18:25 +0000 (10:18 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 16 Nov 2022 14:01:46 +0000 (14:01 +0000)
commitf010dce6e7c068349e9f58e3d575aeca7e7df829
tree085309be535d313d623cd4ecc78c6c6acb50d40d
parente8f768212cb8af15529f1e82ce71a8f037a8a25d
decodebin3: DecodebinInputStream: Hold a ref to srcpad

And move the locking outside of the input stream creation function

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