From 5c90f17cf0052638a79b1bfb5b72c406631cd99f Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 9 May 2014 16:14:21 +0200 Subject: [PATCH] shapewipe: no need to activate pads Activation will happen in the state change --- tests/check/elements/shapewipe.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/check/elements/shapewipe.c b/tests/check/elements/shapewipe.c index e68d38bd4e..ab90084c28 100644 --- a/tests/check/elements/shapewipe.c +++ b/tests/check/elements/shapewipe.c @@ -95,16 +95,13 @@ GST_START_TEST (test_general) myvideosrcpad = gst_pad_new_from_static_template (&videosrctemplate, "videosrc"); gst_element_add_pad (videosrc, myvideosrcpad); - gst_pad_set_active (myvideosrcpad, TRUE); mymasksrcpad = gst_pad_new_from_static_template (&masksrctemplate, "masksrc"); gst_element_add_pad (masksrc, mymasksrcpad); - gst_pad_set_active (mymasksrcpad, TRUE); mysinkpad = gst_pad_new_from_static_template (&sinktemplate, "sink"); gst_element_add_pad (sink, mysinkpad); gst_pad_set_chain_function (mysinkpad, on_chain); - gst_pad_set_active (mysinkpad, TRUE); p = gst_element_get_static_pad (shapewipe, "video_sink"); fail_unless (gst_pad_link (myvideosrcpad, p) == GST_PAD_LINK_OK);