diff options
Diffstat (limited to 'ext')
-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; |