summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-06-10 12:54:59 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-06-10 12:54:59 +0000
commit744f3efec5a2c93298e5c169e087258f572f794b (patch)
treeb855ad80d7e1782b766461f1679b12ddb1d85d2d /ext
parent5e88627e2b889fb2dc437d969149656e3cc24d8b (diff)
downloadgst-plugins-bad-744f3efec5a2c93298e5c169e087258f572f794b.tar.gz
gst-plugins-bad-744f3efec5a2c93298e5c169e087258f572f794b.tar.bz2
gst-plugins-bad-744f3efec5a2c93298e5c169e087258f572f794b.zip
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')
-rw-r--r--ext/soundtouch/gstpitch.cc2
1 files changed, 2 insertions, 0 deletions
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;