summaryrefslogtreecommitdiff
path: root/gst/audiovisualizers/gstwavescope.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/audiovisualizers/gstwavescope.c')
-rw-r--r--gst/audiovisualizers/gstwavescope.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/audiovisualizers/gstwavescope.c b/gst/audiovisualizers/gstwavescope.c
index 433a935e3..71468aed7 100644
--- a/gst/audiovisualizers/gstwavescope.c
+++ b/gst/audiovisualizers/gstwavescope.c
@@ -113,10 +113,10 @@ gst_wave_scope_base_init (gpointer g_class)
"Visualization",
"Simple waveform oscilloscope", "Stefan Kost <ensonic@users.sf.net>");
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&gst_wave_scope_src_template));
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&gst_wave_scope_sink_template));
+ gst_element_class_add_static_pad_template (element_class,
+ &gst_wave_scope_src_template);
+ gst_element_class_add_static_pad_template (element_class,
+ &gst_wave_scope_sink_template);
}
static void