decodebin3: change stream selection message owner
authorStéphane Cerveau <scerveau@collabora.com>
Tue, 19 Jan 2021 14:56:18 +0000 (15:56 +0100)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 19 Feb 2021 08:01:57 +0000 (08:01 +0000)
commit8bf7816790aa4e963319f3333edec9646a558765
treedf9c7583573e3f9825d6efa2096af1adbf30a9b6
parent2527c8f9f8eca9b19014ba7b442ae4becbe45eac
decodebin3: change stream selection message owner

In order to select the streams on GST_MESSAGE_STREAM_COLLECTION,
the app needs to send the select-streams event
to the decodebin and not to the parsebin.

The message should be always owned by the decodebin.

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