From 744f3efec5a2c93298e5c169e087258f572f794b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 10 Jun 2008 12:54:59 +0000 Subject: 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. --- ext/soundtouch/gstpitch.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/soundtouch') diff --git a/ext/soundtouch/gstpitch.cc b/ext/soundtouch/gstpitch.cc index 34e50aa4..bebf13cf 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; -- cgit v1.2.1