decodebin3: Prevent a critical warning when reassigning output slots
authorPhilippe Normand <philn@igalia.com>
Tue, 18 Jul 2023 14:15:40 +0000 (15:15 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 19 Jul 2023 11:48:40 +0000 (11:48 +0000)
commit8d486d1398522a6eee0d28563345630b78329b41
treed44e9ae586107e5b1aad01ec30681ea5abb758b3
parenteea9f74f955e99515332bafd2cfbfbfc5a75b526
decodebin3: Prevent a critical warning when reassigning output slots

Do not attempt to send a streams-selected message when reassigning
an output slot in case upstream signalled that it is handling stream selection.
In this case decodebin3 doesn't keep track of stream
collections (`dbin->collection` is NULL).

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