diff options
Diffstat (limited to 'ext/audiofile/gstafparse.c')
-rw-r--r-- | ext/audiofile/gstafparse.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/audiofile/gstafparse.c b/ext/audiofile/gstafparse.c index 27b5a6e8c..634d09abc 100644 --- a/ext/audiofile/gstafparse.c +++ b/ext/audiofile/gstafparse.c @@ -114,10 +114,10 @@ gst_afparse_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&afparse_src_factory)); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&afparse_sink_factory)); + gst_element_class_add_static_pad_template (element_class, + &afparse_src_factory); + gst_element_class_add_static_pad_template (element_class, + &afparse_sink_factory); gst_element_class_set_details_simple (element_class, "Audiofile demuxer", "Codec/Demuxer/Audio", |