diff options
Diffstat (limited to 'gst/siren/gstsirenenc.c')
-rw-r--r-- | gst/siren/gstsirenenc.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gst/siren/gstsirenenc.c b/gst/siren/gstsirenenc.c index 561d2689d..b201e18b2 100644 --- a/gst/siren/gstsirenenc.c +++ b/gst/siren/gstsirenenc.c @@ -95,10 +95,8 @@ gst_siren_enc_base_init (gpointer klass) { GstElementClass *element_class = GST_ELEMENT_CLASS (klass); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&srctemplate)); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&sinktemplate)); + gst_element_class_add_static_pad_template (element_class, &srctemplate); + gst_element_class_add_static_pad_template (element_class, &sinktemplate); gst_element_class_set_details_simple (element_class, "Siren Encoder element", "Codec/Encoder/Audio ", |