Commit 970ea49d authored by Josep Torra's avatar Josep Torra

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.
parent c95f2e5b
......@@ -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);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment