transcodebin: Fixes for upstream selectable support
authorPhilippe Normand <philn@igalia.com>
Sat, 22 Jul 2023 09:42:39 +0000 (10:42 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 3 Aug 2023 14:06:54 +0000 (15:06 +0100)
commit1ea67bdfc58c33812019d70c5afe801077f8b0d9
treed25dc754745391ec93d2f2db1150a11cf5f13980
parent903e116cc5c8231b58c760b8433d36282558036e
transcodebin: Fixes for upstream selectable support

The upstream selectable query was not performed in all situations where we
handle the stream-start event. This could potentially lead to unlinked pads
between decodebin3 and encodebin later on.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5141>
subprojects/gst-plugins-bad/gst/transcode/gsttranscodebin.c