diff options
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)); |