summaryrefslogtreecommitdiff
path: root/gst/adpcmdec/adpcmdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/adpcmdec/adpcmdec.c')
-rw-r--r--gst/adpcmdec/adpcmdec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/adpcmdec/adpcmdec.c b/gst/adpcmdec/adpcmdec.c
index 0fcfeb03f..b97584cb9 100644
--- a/gst/adpcmdec/adpcmdec.c
+++ b/gst/adpcmdec/adpcmdec.c
@@ -562,10 +562,10 @@ adpcmdec_class_init (ADPCMDecClass * klass)
adpcmdec_base_init (gpointer klass)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&adpcmdec_sink_template));
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&adpcmdec_src_template));
+ gst_element_class_add_static_pad_template (element_class,
+ &adpcmdec_sink_template);
+ gst_element_class_add_static_pad_template (element_class,
+ &adpcmdec_src_template);
gst_element_class_set_details_simple (element_class, "ADPCM decoder",
"Codec/Decoder/Audio",
"Decode MS and IMA ADPCM audio",