mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
tests/check/elements/amrnbenc.c: and fix compilation of this test
Original commit message from CVS: * tests/check/elements/amrnbenc.c: (setup_amrnbenc), (cleanup_amrnbenc): and fix compilation of this test
This commit is contained in:
parent
687a8de8f6
commit
46e76ef87d
2 changed files with 10 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-12-22 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* tests/check/elements/amrnbenc.c: (setup_amrnbenc),
|
||||
(cleanup_amrnbenc):
|
||||
and fix compilation of this test
|
||||
|
||||
2006-12-22 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* tests/check/elements/amrnbenc.c: (setup_amrnbenc),
|
||||
|
|
|
@ -77,8 +77,8 @@ setup_amrnbenc ()
|
|||
amrnbenc = gst_check_setup_element ("amrnbenc");
|
||||
srcpad = gst_check_setup_src_pad (amrnbenc, &srctemplate, NULL);
|
||||
sinkpad = gst_check_setup_sink_pad (amrnbenc, &sinktemplate, NULL);
|
||||
gst_pad_set_active (mysrcpad, TRUE);
|
||||
gst_pad_set_active (mysinkpad, TRUE);
|
||||
gst_pad_set_active (srcpad, TRUE);
|
||||
gst_pad_set_active (sinkpad, TRUE);
|
||||
|
||||
bus = gst_bus_new ();
|
||||
gst_element_set_bus (amrnbenc, bus);
|
||||
|
@ -106,8 +106,8 @@ cleanup_amrnbenc (GstElement * amrnbenc)
|
|||
gst_object_unref (bus);
|
||||
|
||||
GST_DEBUG ("cleanup_amrnbenc");
|
||||
gst_pad_set_active (mysrcpad, FALSE);
|
||||
gst_pad_set_active (mysinkpad, FALSE);
|
||||
gst_pad_set_active (srcpad, FALSE);
|
||||
gst_pad_set_active (sinkpad, FALSE);
|
||||
gst_check_teardown_src_pad (amrnbenc);
|
||||
gst_check_teardown_sink_pad (amrnbenc);
|
||||
gst_check_teardown_element (amrnbenc);
|
||||
|
|
Loading…
Reference in a new issue