diff options
author | Stefan Kost <ensonic@users.sourceforge.net> | 2006-12-22 10:15:24 +0000 |
---|---|---|
committer | Stefan Kost <ensonic@users.sourceforge.net> | 2006-12-22 10:15:24 +0000 |
commit | b9925f8b22fd4cea03dbad2983aa309529b8f50e (patch) | |
tree | 323beea378d772121a1df029495bcf2e568d71b6 /tests/check/elements/y4menc.c | |
parent | 804cfff20a7ddb656205df590c0f264603fdf4b2 (diff) | |
download | gst-plugins-bad-b9925f8b22fd4cea03dbad2983aa309529b8f50e.tar.gz gst-plugins-bad-b9925f8b22fd4cea03dbad2983aa309529b8f50e.tar.bz2 gst-plugins-bad-b9925f8b22fd4cea03dbad2983aa309529b8f50e.zip |
tests/check/elements/: reapply consistent pad (de)activation
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):
reapply consistent pad (de)activation
Diffstat (limited to 'tests/check/elements/y4menc.c')
-rw-r--r-- | tests/check/elements/y4menc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/check/elements/y4menc.c b/tests/check/elements/y4menc.c index 80662ca3..56088891 100644 --- a/tests/check/elements/y4menc.c +++ b/tests/check/elements/y4menc.c @@ -58,6 +58,8 @@ setup_y4menc () y4menc = gst_check_setup_element ("y4menc"); mysrcpad = gst_check_setup_src_pad (y4menc, &srctemplate, NULL); mysinkpad = gst_check_setup_sink_pad (y4menc, &sinktemplate, NULL); + gst_pad_set_active (mysrcpad, TRUE); + gst_pad_set_active (mysinkpad, TRUE); return y4menc; } @@ -68,6 +70,8 @@ cleanup_y4menc (GstElement * y4menc) GST_DEBUG ("cleanup_y4menc"); gst_element_set_state (y4menc, GST_STATE_NULL); + gst_pad_set_active (mysrcpad, FALSE); + gst_pad_set_active (mysinkpad, FALSE); gst_check_teardown_src_pad (y4menc); gst_check_teardown_sink_pad (y4menc); gst_check_teardown_element (y4menc); |