summaryrefslogtreecommitdiff
path: root/gst/audioresample
diff options
context:
space:
mode:
authorVineeth TM <vineeth.tm@samsung.com>2016-03-03 16:46:24 +0900
committerSebastian Dröge <sebastian@centricular.com>2016-03-24 14:25:41 +0200
commit44b70ca3a15fde4fa725ce74a5f5315b148bbf47 (patch)
treee46cae3862f076a377b2ae950a25df0fb96130ff /gst/audioresample
parent93196092d1729c4765dbd676662dda89fb246675 (diff)
base: use new gst_element_class_add_static_pad_template()
https://bugzilla.gnome.org/show_bug.cgi?id=763075
Diffstat (limited to 'gst/audioresample')
-rw-r--r--gst/audioresample/gstaudioresample.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/audioresample/gstaudioresample.c b/gst/audioresample/gstaudioresample.c
index 7155c3c3a..9f66096bf 100644
--- a/gst/audioresample/gstaudioresample.c
+++ b/gst/audioresample/gstaudioresample.c
@@ -178,10 +178,10 @@ gst_audio_resample_class_init (GstAudioResampleClass * klass)
0, G_MAXUINT, SPEEX_RESAMPLER_SINC_FILTER_AUTO_THRESHOLD_DEFAULT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- gst_element_class_add_pad_template (gstelement_class,
- gst_static_pad_template_get (&gst_audio_resample_src_template));
- gst_element_class_add_pad_template (gstelement_class,
- gst_static_pad_template_get (&gst_audio_resample_sink_template));
+ gst_element_class_add_static_pad_template (gstelement_class,
+ &gst_audio_resample_src_template);
+ gst_element_class_add_static_pad_template (gstelement_class,
+ &gst_audio_resample_sink_template);
gst_element_class_set_static_metadata (gstelement_class, "Audio resampler",
"Filter/Converter/Audio", "Resamples audio",