diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2006-10-17 15:16:47 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2006-10-17 15:16:47 +0000 |
commit | ad1f788ac15633c7d52d3d996cd4b62e03dd352a (patch) | |
tree | 7b4ba084edd8d10e4ea80df8fd7167ff262984b8 /tests/check | |
parent | 9d73ae11368c9a2939cbfc59053ab411a7d78d9d (diff) |
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.c | 1 |
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); } |