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>
GST_LOG_OBJECT (dbin, "Checking");
+ if (dbin->upstream_selected) {
+ GST_DEBUG ("Upstream handles stream selection, returning");
+ return NULL;
+ }
+
if (dbin->to_activate != NULL) {
GST_DEBUG ("Still have streams to activate");
return NULL;