summaryrefslogtreecommitdiffstats
path: root/tests/check
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2006-10-17 15:16:47 +0000
committerTim-Philipp Müller <tim@centricular.net>2006-10-17 15:16:47 +0000
commit6a2a4c0fe62d0cdbecc8dd0b01ea458c6efa2de7 (patch)
tree801347f24675fc742452f7470e04cfc0bb704339 /tests/check
parent43940d6f0f7c696217ec4810f2d28640446c7346 (diff)
downloadgst-plugins-bad-6a2a4c0fe62d0cdbecc8dd0b01ea458c6efa2de7.tar.gz
gst-plugins-bad-6a2a4c0fe62d0cdbecc8dd0b01ea458c6efa2de7.tar.bz2
gst-plugins-bad-6a2a4c0fe62d0cdbecc8dd0b01ea458c6efa2de7.zip
Activate pads before adding them to running element.
Original commit message from CVS: * ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_set_wp_config): * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_create_src_pad): * gst/nuvdemux/gstnuvdemux.c: (gst_nuv_demux_create_pads): * tests/check/elements/wavpackparse.c: (wavpackparse_found_pad): Activate pads before adding them to running element.
Diffstat (limited to 'tests/check')
-rw-r--r--tests/check/elements/wavpackparse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/check/elements/wavpackparse.c b/tests/check/elements/wavpackparse.c
index fa0b137c..80cef399 100644
--- a/tests/check/elements/wavpackparse.c
+++ b/tests/check/elements/wavpackparse.c
@@ -77,6 +77,7 @@ wavpackparse_found_pad (GstElement * src, GstPad * pad, gpointer data)
gst_pad_set_chain_function (mysinkpad, gst_check_chain_func);
fail_unless (gst_pad_link (srcpad, mysinkpad) == GST_PAD_LINK_OK,
"Failed to link pads");
+ gst_pad_set_active (mysinkpad, TRUE);
gst_object_unref (srcpad);
}