summaryrefslogtreecommitdiffstats
path: root/tests/check
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2006-12-21 08:12:26 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2006-12-21 08:12:26 +0000
commitfe38d6d7acdd76482f055cb3ec2aea307d7adb9f (patch)
tree79d9308c3b96625e19dd15785471f6cca15075d7 /tests/check
parent7238064f5c62b8e4ad78c37c5b36a53d81395f77 (diff)
downloadgst-plugins-bad-fe38d6d7acdd76482f055cb3ec2aea307d7adb9f.tar.gz
gst-plugins-bad-fe38d6d7acdd76482f055cb3ec2aea307d7adb9f.tar.bz2
gst-plugins-bad-fe38d6d7acdd76482f055cb3ec2aea307d7adb9f.zip
tests/check/elements/: consistent pad (de)activation
Original commit message from CVS: * tests/check/elements/audioresample.c: (cleanup_audioresample): * tests/check/elements/audiotestsrc.c: (cleanup_audiotestsrc): * tests/check/elements/gdpdepay.c: (setup_gdpdepay), (cleanup_gdpdepay): * tests/check/elements/gdppay.c: (setup_gdppay), (cleanup_gdppay): * tests/check/elements/subparse.c: (teardown_subparse): * tests/check/elements/textoverlay.c: (cleanup_textoverlay): * tests/check/elements/videorate.c: (cleanup_videorate): * tests/check/elements/videotestsrc.c: (cleanup_videotestsrc): * tests/check/elements/volume.c: (cleanup_volume): * tests/check/elements/vorbisdec.c: (setup_vorbisdec), (cleanup_vorbisdec): * tests/check/elements/vorbistag.c: (setup_vorbistag), (cleanup_vorbistag): consistent pad (de)activation
Diffstat (limited to 'tests/check')
-rw-r--r--tests/check/elements/audioresample.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/check/elements/audioresample.c b/tests/check/elements/audioresample.c
index 8ab663d3..bd5bf424 100644
--- a/tests/check/elements/audioresample.c
+++ b/tests/check/elements/audioresample.c
@@ -108,6 +108,8 @@ cleanup_audioresample (GstElement * audioresample)
fail_unless (gst_element_set_state (audioresample,
GST_STATE_NULL) == GST_STATE_CHANGE_SUCCESS, "could not set to NULL");
+ gst_pad_set_active (mysrcpad, FALSE);
+ gst_pad_set_active (mysinkpad, FALSE);
gst_check_teardown_src_pad (audioresample);
gst_check_teardown_sink_pad (audioresample);
gst_check_teardown_element (audioresample);