summaryrefslogtreecommitdiff
path: root/gst/aiff/aiffmux.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/aiff/aiffmux.c')
-rw-r--r--gst/aiff/aiffmux.c6
1 files changed, 2 insertions, 4 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