From 5827843f2d2e3b8579539dbc5892612ec48f0296 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Thu, 21 Dec 2006 14:03:42 +0000 Subject: [PATCH] tests/check/elements/mpeg2enc.c: (setup_mpeg2enc) Original commit message from CVS: * tests/check/elements/mpeg2enc.c: (setup_mpeg2enc) (cleanup_mpeg2enc): * tests/check/elements/rganalysis.c: (cleanup_rganalysis): * tests/check/elements/wavpackdec.c: (setup_wavpackdec), (cleanup_wavpackdec): * tests/check/elements/wavpackenc.c: (setup_wavpackenc), (cleanup_wavpackenc): * tests/check/elements/y4menc.c: (setup_y4menc), (cleanup_y4menc): revert my freeze breakage --- tests/check/elements/rganalysis.c | 2 -- tests/check/elements/wavpackdec.c | 4 ---- tests/check/elements/wavpackenc.c | 4 ---- 3 files changed, 10 deletions(-) diff --git a/tests/check/elements/rganalysis.c b/tests/check/elements/rganalysis.c index 63e3c7205c..17b4d62f41 100644 --- a/tests/check/elements/rganalysis.c +++ b/tests/check/elements/rganalysis.c @@ -187,8 +187,6 @@ cleanup_rganalysis (GstElement * element) /* The bus owns references to the element: */ gst_element_set_bus (element, NULL); - gst_pad_set_active (mysrcpad, FALSE); - gst_pad_set_active (mysinkpad, FALSE); gst_check_teardown_src_pad (element); gst_check_teardown_sink_pad (element); gst_check_teardown_element (element); diff --git a/tests/check/elements/wavpackdec.c b/tests/check/elements/wavpackdec.c index b058a5e249..6c7bb4e10c 100644 --- a/tests/check/elements/wavpackdec.c +++ b/tests/check/elements/wavpackdec.c @@ -69,8 +69,6 @@ setup_wavpackdec () wavpackdec = gst_check_setup_element ("wavpackdec"); mysrcpad = gst_check_setup_src_pad (wavpackdec, &srctemplate, NULL); mysinkpad = gst_check_setup_sink_pad (wavpackdec, &sinktemplate, NULL); - gst_pad_set_active (mysrcpad, TRUE); - gst_pad_set_active (mysinkpad, TRUE); return wavpackdec; } @@ -81,8 +79,6 @@ cleanup_wavpackdec (GstElement * wavpackdec) GST_DEBUG ("cleanup_wavpackdec"); gst_element_set_state (wavpackdec, GST_STATE_NULL); - gst_pad_set_active (mysrcpad, FALSE); - gst_pad_set_active (mysinkpad, FALSE); gst_check_teardown_src_pad (wavpackdec); gst_check_teardown_sink_pad (wavpackdec); gst_check_teardown_element (wavpackdec); diff --git a/tests/check/elements/wavpackenc.c b/tests/check/elements/wavpackenc.c index 3ac3ea3fa4..9053ef4b6e 100644 --- a/tests/check/elements/wavpackenc.c +++ b/tests/check/elements/wavpackenc.c @@ -62,8 +62,6 @@ setup_wavpackenc () wavpackenc = gst_check_setup_element ("wavpackenc"); mysrcpad = gst_check_setup_src_pad (wavpackenc, &srctemplate, NULL); mysinkpad = gst_check_setup_sink_pad (wavpackenc, &sinktemplate, NULL); - gst_pad_set_active (mysrcpad, TRUE); - gst_pad_set_active (mysinkpad, TRUE); fail_unless (gst_element_set_state (wavpackenc, GST_STATE_PLAYING) == GST_STATE_CHANGE_SUCCESS, @@ -84,8 +82,6 @@ cleanup_wavpackenc (GstElement * wavpackenc) gst_element_set_state (wavpackenc, GST_STATE_NULL); - gst_pad_set_active (mysrcpad, FALSE); - gst_pad_set_active (mysinkpad, FALSE); gst_check_teardown_src_pad (wavpackenc); gst_check_teardown_sink_pad (wavpackenc); gst_check_teardown_element (wavpackenc);