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 | 6a2a4c0fe62d0cdbecc8dd0b01ea458c6efa2de7 (patch) | |
tree | 801347f24675fc742452f7470e04cfc0bb704339 /ext | |
parent | 43940d6f0f7c696217ec4810f2d28640446c7346 (diff) | |
download | gst-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 'ext')
-rw-r--r-- | ext/wavpack/gstwavpackenc.c | 1 | ||||
-rw-r--r-- | ext/wavpack/gstwavpackparse.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/ext/wavpack/gstwavpackenc.c b/ext/wavpack/gstwavpackenc.c index dbc3a31c..308f951c 100644 --- a/ext/wavpack/gstwavpackenc.c +++ b/ext/wavpack/gstwavpackenc.c @@ -442,6 +442,7 @@ gst_wavpack_enc_set_wp_config (GstWavpackEnc * enc) GST_WARNING_OBJECT (enc, "setting correction caps failed"); } else { gst_pad_use_fixed_caps (enc->wvcsrcpad); + gst_pad_set_active (enc->wvcsrcpad, TRUE); gst_element_add_pad (GST_ELEMENT (enc), enc->wvcsrcpad); enc->wp_config->flags |= CONFIG_CREATE_WVC; if (enc->correction_mode == 2) { diff --git a/ext/wavpack/gstwavpackparse.c b/ext/wavpack/gstwavpackparse.c index 30a5d78d..62bb8efd 100644 --- a/ext/wavpack/gstwavpackparse.c +++ b/ext/wavpack/gstwavpackparse.c @@ -831,6 +831,7 @@ gst_wavpack_parse_create_src_pad (GstWavpackParse * wvparse, GstBuffer * buf, gst_pad_use_fixed_caps (wvparse->srcpad); gst_object_ref (wvparse->srcpad); + gst_pad_set_active (wvparse->srcpad, TRUE); gst_element_add_pad (GST_ELEMENT (wvparse), wvparse->srcpad); gst_element_no_more_pads (GST_ELEMENT (wvparse)); |