diff --git a/plugins/nle/nleghostpad.c b/plugins/nle/nleghostpad.c index cda0b0d5b47cccb572ba94269d7e36b2b2b46907..35dfc246b46326db7c942cad8edfffefa9128653 100644 --- a/plugins/nle/nleghostpad.c +++ b/plugins/nle/nleghostpad.c @@ -749,6 +749,7 @@ nle_object_remove_ghost_pad (NleObject * object, GstPad * ghost) priv = gst_pad_get_element_private (ghost); gst_ghost_pad_set_target (GST_GHOST_PAD (ghost), NULL); + gst_pad_set_active (ghost, FALSE); gst_element_remove_pad (GST_ELEMENT (object), ghost); if (priv) g_slice_free (NlePadPrivate, priv);