diff options
Diffstat (limited to 'gst/siren/gstsirendec.c')
-rw-r--r-- | gst/siren/gstsirendec.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gst/siren/gstsirendec.c b/gst/siren/gstsirendec.c index 6325c9670..2e517199f 100644 --- a/gst/siren/gstsirendec.c +++ b/gst/siren/gstsirendec.c @@ -92,8 +92,10 @@ gst_siren_dec_base_init (gpointer klass) { GstElementClass *element_class = GST_ELEMENT_CLASS (klass); - gst_element_class_add_static_pad_template (element_class, &srctemplate); - gst_element_class_add_static_pad_template (element_class, &sinktemplate); + 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_set_details_simple (element_class, "Siren Decoder element", "Codec/Decoder/Audio ", |