mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
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>
This commit is contained in:
parent
2527c8f9f8
commit
8bf7816790
1 changed files with 1 additions and 1 deletions
|
@ -1500,7 +1500,7 @@ gst_decodebin3_handle_message (GstBin * bin, GstMessage * message)
|
|||
}
|
||||
|
||||
SELECTION_LOCK (dbin);
|
||||
if (dbin->collection && collection != dbin->collection) {
|
||||
if (dbin->collection) {
|
||||
/* Replace collection message, we most likely aggregated it */
|
||||
GstMessage *new_msg;
|
||||
new_msg =
|
||||
|
|
Loading…
Reference in a new issue