From: <en...@ke...> - 2006-12-21 08:20:24
|
CVS Root: /cvs/gstreamer Module: gst-plugins-bad Changes by: ensonic Date: Thu Dec 21 2006 08:20:22 UTC Log message: * 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): consistent pad (de)activation Modified files: . : ChangeLog tests/check/elements: mpeg2enc.c rganalysis.c wavpackdec.c wavpackenc.c y4menc.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/ChangeLog.diff?r1=1.2347&r2=1.2348 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/tests/check/elements/mpeg2enc.c.diff?r1=1.1&r2=1.2 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/tests/check/elements/rganalysis.c.diff?r1=1.1&r2=1.2 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/tests/check/elements/wavpackdec.c.diff?r1=1.1&r2=1.2 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/tests/check/elements/wavpackenc.c.diff?r1=1.1&r2=1.2 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/tests/check/elements/y4menc.c.diff?r1=1.1&r2=1.2 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gst-plugins-bad/ChangeLog,v retrieving revision 1.2347 retrieving revision 1.2348 diff -u -d -r1.2347 -r1.2348 --- ChangeLog 18 Dec 2006 17:11:48 -0000 1.2347 +++ ChangeLog 21 Dec 2006 08:20:10 -0000 1.2348 @@ -1,3 +1,15 @@ +2006-12-21 Stefan Kost <en...@us...> + + * 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): + consistent pad (de)activation 2006-12-18 Tim-Philipp Müller <tim at centricular dot net> * gst/qtdemux/qtdemux.c: (gst_qtdemux_post_progress), Index: mpeg2enc.c RCS file: /cvs/gstreamer/gst-plugins-bad/tests/check/elements/mpeg2enc.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- mpeg2enc.c 13 Jul 2006 11:06:45 -0000 1.1 +++ mpeg2enc.c 21 Dec 2006 08:20:10 -0000 1.2 @@ -83,6 +83,8 @@ mpeg2enc = gst_check_setup_element ("mpeg2enc"); mysrcpad = gst_check_setup_src_pad (mpeg2enc, &srctemplate, NULL); mysinkpad = gst_check_setup_sink_pad (mpeg2enc, &sinktemplate, NULL); + gst_pad_set_active (mysrcpad, TRUE); + gst_pad_set_active (mysinkpad, TRUE); /* need to know when we are eos */ gst_pad_set_event_function (mysinkpad, test_sink_event); @@ -100,6 +102,8 @@ GST_DEBUG ("cleanup_mpeg2enc"); gst_element_set_state (mpeg2enc, GST_STATE_NULL); + gst_pad_set_active (mysrcpad, FALSE); + gst_pad_set_active (mysinkpad, FALSE); gst_check_teardown_src_pad (mpeg2enc); gst_check_teardown_sink_pad (mpeg2enc); gst_check_teardown_element (mpeg2enc); Index: rganalysis.c RCS file: /cvs/gstreamer/gst-plugins-bad/tests/check/elements/rganalysis.c,v --- rganalysis.c 6 Oct 2006 15:56:01 -0000 1.1 +++ rganalysis.c 21 Dec 2006 08:20:10 -0000 1.2 @@ -187,6 +187,8 @@ /* The bus owns references to the element: */ gst_element_set_bus (element, NULL); gst_check_teardown_src_pad (element); gst_check_teardown_sink_pad (element); gst_check_teardown_element (element); Index: wavpackdec.c RCS file: /cvs/gstreamer/gst-plugins-bad/tests/check/elements/wavpackdec.c,v --- wavpackdec.c 23 Aug 2006 09:22:07 -0000 1.1 +++ wavpackdec.c 21 Dec 2006 08:20:10 -0000 1.2 @@ -69,6 +69,8 @@ wavpackdec = gst_check_setup_element ("wavpackdec"); mysrcpad = gst_check_setup_src_pad (wavpackdec, &srctemplate, NULL); mysinkpad = gst_check_setup_sink_pad (wavpackdec, &sinktemplate, NULL); return wavpackdec; } @@ -79,6 +81,8 @@ GST_DEBUG ("cleanup_wavpackdec"); gst_element_set_state (wavpackdec, GST_STATE_NULL); gst_check_teardown_src_pad (wavpackdec); gst_check_teardown_sink_pad (wavpackdec); gst_check_teardown_element (wavpackdec); Index: wavpackenc.c RCS file: /cvs/gstreamer/gst-plugins-bad/tests/check/elements/wavpackenc.c,v --- wavpackenc.c 23 Aug 2006 09:22:07 -0000 1.1 +++ wavpackenc.c 21 Dec 2006 08:20:10 -0000 1.2 @@ -62,6 +62,8 @@ wavpackenc = gst_check_setup_element ("wavpackenc"); mysrcpad = gst_check_setup_src_pad (wavpackenc, &srctemplate, NULL); mysinkpad = gst_check_setup_sink_pad (wavpackenc, &sinktemplate, NULL); fail_unless (gst_element_set_state (wavpackenc, GST_STATE_PLAYING) == GST_STATE_CHANGE_SUCCESS, @@ -82,6 +84,8 @@ gst_element_set_state (wavpackenc, GST_STATE_NULL); gst_check_teardown_src_pad (wavpackenc); gst_check_teardown_sink_pad (wavpackenc); gst_check_teardown_element (wavpackenc); Index: y4menc.c RCS file: /cvs/gstreamer/gst-plugins-bad/tests/check/elements/y4menc.c,v --- y4menc.c 14 Nov 2006 10:25:16 -0000 1.1 +++ y4menc.c 21 Dec 2006 08:20:10 -0000 1.2 @@ -58,6 +58,8 @@ y4menc = gst_check_setup_element ("y4menc"); mysrcpad = gst_check_setup_src_pad (y4menc, &srctemplate, NULL); mysinkpad = gst_check_setup_sink_pad (y4menc, &sinktemplate, NULL); return y4menc; @@ -68,6 +70,8 @@ GST_DEBUG ("cleanup_y4menc"); gst_element_set_state (y4menc, GST_STATE_NULL); gst_check_teardown_src_pad (y4menc); gst_check_teardown_sink_pad (y4menc); gst_check_teardown_element (y4menc); |