inputselector: Send reconfigure event on the new active pad when pads are switched

This commit is contained in:
Sebastian Dröge 2012-04-16 09:45:27 +02:00
parent c0b16dfe30
commit 655bfbf776

View file

@ -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)