mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 04:45:36 +00:00
inputselector: Send reconfigure event on the new active pad when pads are switched
This commit is contained in:
parent
c0b16dfe30
commit
655bfbf776
1 changed files with 2 additions and 0 deletions
|
@ -929,6 +929,8 @@ gst_input_selector_set_active_pad (GstInputSelector * self, GstPad * pad)
|
|||
active_pad_p = &self->active_sinkpad;
|
||||
gst_object_replace ((GstObject **) active_pad_p, GST_OBJECT_CAST (pad));
|
||||
|
||||
gst_pad_push_event (pad, gst_event_new_reconfigure ());
|
||||
|
||||
/* Wake up all non-active pads in sync mode, they might be
|
||||
* the active pad now */
|
||||
if (self->sync_streams)
|
||||
|
|
Loading…
Reference in a new issue