mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
decodebin: forward sticky events on multiqueue
When connecting a demuxer through a multiqueue ensure to copy sticky events in order to allow the following factory being properly checked that it is functional. https://bugzilla.gnome.org/show_bug.cgi?id=769580
This commit is contained in:
parent
c95f2e5b23
commit
970ea49d30
1 changed files with 2 additions and 0 deletions
|
@ -2125,6 +2125,8 @@ connect_pad (GstDecodeBin * dbin, GstElement * src, GstDecodePad * dpad,
|
|||
if (!(mqpad = gst_decode_group_control_demuxer_pad (chain->parent, pad)))
|
||||
goto beach;
|
||||
src = chain->parent->multiqueue;
|
||||
/* Forward sticky events to mq src pad to allow factory initialization */
|
||||
gst_pad_sticky_events_foreach (pad, copy_sticky_events, mqpad);
|
||||
pad = mqpad;
|
||||
decode_pad_set_target (dpad, pad);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue