summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Santos <thiagoss@osg.samsung.com>2015-10-31 17:30:46 -0300
committerThiago Santos <thiagoss@osg.samsung.com>2015-11-01 08:51:51 -0300
commit2369e120a9110c4c0878c33885db44de9df2eaee (patch)
treec1657c3f5097a8fd15e72db6b3fa8efc626cad6a
parentefc0110a158e6b87101164db9816c1b6b422ed8c (diff)
outputselector: push reconfigure when active pad changes
-rw-r--r--plugins/elements/gstoutputselector.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/elements/gstoutputselector.c b/plugins/elements/gstoutputselector.c
index beb4c7078..f2cdfc471 100644
--- a/plugins/elements/gstoutputselector.c
+++ b/plugins/elements/gstoutputselector.c
@@ -225,6 +225,7 @@ gst_output_selector_set_property (GObject * object, guint prop_id,
if (next_pad)
gst_object_ref (next_pad);
sel->pending_srcpad = next_pad;
+ gst_pad_push_event (sel->sinkpad, gst_event_new_reconfigure ());
} else {
GST_INFO ("pad already active");
if (sel->pending_srcpad != NULL) {