summaryrefslogtreecommitdiff
path: root/ext/hal/gsthalaudiosink.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/hal/gsthalaudiosink.c')
-rw-r--r--ext/hal/gsthalaudiosink.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/hal/gsthalaudiosink.c b/ext/hal/gsthalaudiosink.c
index 24b29da..88fac00 100644
--- a/ext/hal/gsthalaudiosink.c
+++ b/ext/hal/gsthalaudiosink.c
@@ -74,8 +74,7 @@ gst_hal_audio_sink_base_init (gpointer klass)
GST_PAD_ALWAYS,
GST_STATIC_CAPS_ANY);
- gst_element_class_add_pad_template (eklass,
- gst_static_pad_template_get (&sink_template));
+ gst_element_class_add_static_pad_template (eklass, &sink_template);
gst_element_class_set_details_simple (eklass, "HAL audio sink",
"Sink/Audio",
"Audio sink for sound device access via HAL",