diff options
Diffstat (limited to 'gst/aiff')
-rw-r--r-- | gst/aiff/aiffmux.c | 6 | ||||
-rw-r--r-- | gst/aiff/aiffparse.c | 8 |
2 files changed, 6 insertions, 8 deletions
diff --git a/gst/aiff/aiffmux.c b/gst/aiff/aiffmux.c index a2d99f587..0d2772af5 100644 --- a/gst/aiff/aiffmux.c +++ b/gst/aiff/aiffmux.c @@ -110,10 +110,8 @@ gst_aiff_mux_base_init (gpointer gclass) "AIFF audio muxer", "Muxer/Audio", "Multiplex raw audio into AIFF", "Robert Swain <robert.swain@gmail.com>"); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&src_factory)); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&sink_factory)); + gst_element_class_add_static_pad_template (element_class, &src_factory); + gst_element_class_add_static_pad_template (element_class, &sink_factory); } static GstStateChangeReturn diff --git a/gst/aiff/aiffparse.c b/gst/aiff/aiffparse.c index 575b309b5..6dbee6868 100644 --- a/gst/aiff/aiffparse.c +++ b/gst/aiff/aiffparse.c @@ -105,10 +105,10 @@ gst_aiff_parse_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 (&sink_template_factory)); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&src_template_factory)); + gst_element_class_add_static_pad_template (element_class, + &sink_template_factory); + gst_element_class_add_static_pad_template (element_class, + &src_template_factory); gst_element_class_set_details_simple (element_class, "AIFF audio demuxer", "Codec/Demuxer/Audio", |