diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2008-06-10 12:54:59 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-06-10 12:54:59 +0000 |
commit | 744f3efec5a2c93298e5c169e087258f572f794b (patch) | |
tree | b855ad80d7e1782b766461f1679b12ddb1d85d2d /ext/soundtouch | |
parent | 5e88627e2b889fb2dc437d969149656e3cc24d8b (diff) |
ext/soundtouch/gstpitch.cc: Call gst_element_no_more_pads() after all pads are added.
Original commit message from CVS:
* ext/soundtouch/gstpitch.cc:
Call gst_element_no_more_pads() after all pads are added.
Diffstat (limited to 'ext/soundtouch')
-rw-r--r-- | ext/soundtouch/gstpitch.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/soundtouch/gstpitch.cc b/ext/soundtouch/gstpitch.cc index 34e50aa4e..bebf13cf2 100644 --- a/ext/soundtouch/gstpitch.cc +++ b/ext/soundtouch/gstpitch.cc @@ -181,6 +181,8 @@ gst_pitch_init (GstPitch * pitch, GstPitchClass * pitch_class) GST_DEBUG_FUNCPTR (gst_pad_proxy_getcaps)); gst_element_add_pad (GST_ELEMENT (pitch), pitch->srcpad); + gst_element_no_more_pads (GST_ELEMENT (pitch)); + pitch->priv->st = new soundtouch::SoundTouch (); pitch->tempo = 1.0; |