diff --git a/subprojects/gstreamer/tests/check/gst/gstelement.c b/subprojects/gstreamer/tests/check/gst/gstelement.c index a1bf2aacdc..a80aa45e67 100644 --- a/subprojects/gstreamer/tests/check/gst/gstelement.c +++ b/subprojects/gstreamer/tests/check/gst/gstelement.c @@ -113,6 +113,7 @@ GST_START_TEST (test_add_pad_while_paused) gst_element_set_state (e, GST_STATE_PAUSED); { GstPad *old_pad = gst_element_get_static_pad (e, "src"); + gst_pad_set_active (old_pad, FALSE); gst_element_remove_pad (e, old_pad); gst_object_unref (old_pad); }