diff options
Diffstat (limited to 'ext/soundtouch/gstpitch.cc')
-rw-r--r-- | ext/soundtouch/gstpitch.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/soundtouch/gstpitch.cc b/ext/soundtouch/gstpitch.cc index 2f33adf72..b41e66530 100644 --- a/ext/soundtouch/gstpitch.cc +++ b/ext/soundtouch/gstpitch.cc @@ -163,10 +163,8 @@ gst_pitch_class_init (GstPitchClass * klass) element_class->change_state = GST_DEBUG_FUNCPTR (gst_pitch_change_state); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&gst_pitch_src_template)); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&gst_pitch_sink_template)); + gst_element_class_add_static_pad_template (element_class, &gst_pitch_src_template); + gst_element_class_add_static_pad_template (element_class, &gst_pitch_sink_template); gst_element_class_set_static_metadata (element_class, "Pitch controller", "Filter/Effect/Audio", "Control the pitch of an audio stream", |