+2006-12-21 Stefan Kost <ensonic@users.sf.net>
+
+ * tests/check/elements/amrnbenc.c: (setup_amrnbenc),
+ (cleanup_amrnbenc):
+ * tests/check/elements/mpeg2dec.c: (setup_mpeg2dec),
+ (cleanup_mpeg2dec):
+ revert my freeze breakage
+
2006-12-21 Stefan Kost <ensonic@users.sf.net>
* gst/asfdemux/gstasfdemux.c:
(cleanup_amrnbenc):
* tests/check/elements/mpeg2dec.c: (setup_mpeg2dec),
(cleanup_mpeg2dec):
- consistent pad (de)activation
+ consistent pad (de)activation
2006-12-15 Tim-Philipp Müller <tim at centricular dot net>
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);
bus = gst_bus_new ();
gst_element_set_bus (amrnbenc, bus);
gst_object_unref (bus);
GST_DEBUG ("cleanup_amrnbenc");
- gst_pad_set_active (mysrcpad, FALSE);
- gst_pad_set_active (mysinkpad, FALSE);
gst_check_teardown_src_pad (amrnbenc);
gst_check_teardown_sink_pad (amrnbenc);
gst_check_teardown_element (amrnbenc);
mpeg2dec = gst_check_setup_element ("mpeg2dec");
mysrcpad = gst_check_setup_src_pad (mpeg2dec, &srctemplate, NULL);
mysinkpad = gst_check_setup_sink_pad (mpeg2dec, &sinktemplate, NULL);
- gst_pad_set_active (mysrcpad, TRUE);
- gst_pad_set_active (mysinkpad, TRUE);
return mpeg2dec;
}
GST_DEBUG ("cleanup_mpeg2dec");
gst_element_set_state (mpeg2dec, GST_STATE_NULL);
- gst_pad_set_active (mysrcpad, FALSE);
- gst_pad_set_active (mysinkpad, FALSE);
gst_check_teardown_src_pad (mpeg2dec);
gst_check_teardown_sink_pad (mpeg2dec);
gst_check_teardown_element (mpeg2dec);