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.
This commit is contained in:
Sebastian Dröge 2008-06-10 12:54:59 +00:00
parent 5e88627e2b
commit 744f3efec5
2 changed files with 7 additions and 0 deletions
ChangeLog
ext/soundtouch

View file

@ -1,3 +1,8 @@
2008-06-10 Sebastian Dröge <slomo@circular-chaos.org>
* ext/soundtouch/gstpitch.cc:
Call gst_element_no_more_pads() after all pads are added.
2008-06-09 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rawparse/gstrawparse.c: (gst_raw_parse_push_buffer),

View file

@ -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;