diff --git a/subprojects/gstreamer/libs/gst/base/gstaggregator.c b/subprojects/gstreamer/libs/gst/base/gstaggregator.c index abd711052d..956c1c895d 100644 --- a/subprojects/gstreamer/libs/gst/base/gstaggregator.c +++ b/subprojects/gstreamer/libs/gst/base/gstaggregator.c @@ -2108,7 +2108,6 @@ gst_aggregator_request_new_pad (GstElement * element, GstAggregator *self; GstAggregatorPad *agg_pad; GstAggregatorClass *klass = GST_AGGREGATOR_GET_CLASS (element); - GstAggregatorPrivate *priv = GST_AGGREGATOR (element)->priv; self = GST_AGGREGATOR (element); @@ -2120,9 +2119,6 @@ gst_aggregator_request_new_pad (GstElement * element, GST_DEBUG_OBJECT (element, "Adding pad %s", GST_PAD_NAME (agg_pad)); - if (priv->running) - gst_pad_set_active (GST_PAD (agg_pad), TRUE); - /* add the pad to the element */ gst_element_add_pad (element, GST_PAD (agg_pad)); diff --git a/subprojects/gstreamer/plugins/elements/gstconcat.c b/subprojects/gstreamer/plugins/elements/gstconcat.c index afa6b5316c..207ad4207e 100644 --- a/subprojects/gstreamer/plugins/elements/gstconcat.c +++ b/subprojects/gstreamer/plugins/elements/gstconcat.c @@ -311,8 +311,6 @@ gst_concat_request_new_pad (GstElement * element, GstPadTemplate * templ, GST_OBJECT_FLAG_SET (sinkpad, GST_PAD_FLAG_PROXY_CAPS); GST_OBJECT_FLAG_SET (sinkpad, GST_PAD_FLAG_PROXY_ALLOCATION); - gst_pad_set_active (sinkpad, TRUE); - g_mutex_lock (&self->lock); self->sinkpads = g_list_prepend (self->sinkpads, gst_object_ref (sinkpad)); if (!self->current_sinkpad) { diff --git a/subprojects/gstreamer/plugins/elements/gstfunnel.c b/subprojects/gstreamer/plugins/elements/gstfunnel.c index cdb22c905e..b09dbf18d1 100644 --- a/subprojects/gstreamer/plugins/elements/gstfunnel.c +++ b/subprojects/gstreamer/plugins/elements/gstfunnel.c @@ -238,8 +238,6 @@ gst_funnel_request_new_pad (GstElement * element, GstPadTemplate * templ, GST_OBJECT_FLAG_SET (sinkpad, GST_PAD_FLAG_PROXY_CAPS); GST_OBJECT_FLAG_SET (sinkpad, GST_PAD_FLAG_PROXY_ALLOCATION); - gst_pad_set_active (sinkpad, TRUE); - gst_element_add_pad (element, sinkpad); GST_DEBUG_OBJECT (element, "requested pad %s:%s", diff --git a/subprojects/gstreamer/plugins/elements/gstinputselector.c b/subprojects/gstreamer/plugins/elements/gstinputselector.c index ac8470ee9b..aad7eb1c6c 100644 --- a/subprojects/gstreamer/plugins/elements/gstinputselector.c +++ b/subprojects/gstreamer/plugins/elements/gstinputselector.c @@ -1934,7 +1934,6 @@ gst_input_selector_request_new_pad (GstElement * element, GST_OBJECT_FLAG_SET (sinkpad, GST_PAD_FLAG_PROXY_CAPS); GST_OBJECT_FLAG_SET (sinkpad, GST_PAD_FLAG_PROXY_ALLOCATION); - gst_pad_set_active (sinkpad, TRUE); GST_INPUT_SELECTOR_UNLOCK (sel); gst_element_add_pad (GST_ELEMENT (sel), sinkpad);