summaryrefslogtreecommitdiff
path: root/gst/replaygain/gstrgvolume.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/replaygain/gstrgvolume.c')
-rw-r--r--gst/replaygain/gstrgvolume.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gst/replaygain/gstrgvolume.c b/gst/replaygain/gstrgvolume.c
index b75cbde..d3d105a 100644
--- a/gst/replaygain/gstrgvolume.c
+++ b/gst/replaygain/gstrgvolume.c
@@ -143,10 +143,9 @@ gst_rg_volume_base_init (gpointer g_class)
{
GstElementClass *element_class = g_class;
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&src_template));
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&sink_template));
+ gst_element_class_add_static_pad_template (element_class, &src_template);
+ gst_element_class_add_static_pad_template (element_class,
+ &sink_template);
gst_element_class_set_details_simple (element_class, "ReplayGain volume",
"Filter/Effect/Audio",
"Apply ReplayGain volume adjustment",