summaryrefslogtreecommitdiff
path: root/tools/element-templates/sinkpad-simple
diff options
context:
space:
mode:
Diffstat (limited to 'tools/element-templates/sinkpad-simple')
-rw-r--r--tools/element-templates/sinkpad-simple4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/element-templates/sinkpad-simple b/tools/element-templates/sinkpad-simple
index 2500e3f63..9d7619b7b 100644
--- a/tools/element-templates/sinkpad-simple
+++ b/tools/element-templates/sinkpad-simple
@@ -11,8 +11,8 @@ GST_STATIC_PAD_TEMPLATE ("sink",
);
% base-init
- gst_element_class_add_pad_template (GST_ELEMENT_CLASS(klass),
- gst_static_pad_template_get (&gst_replace_sink_template));
+ gst_element_class_add_static_pad_template (GST_ELEMENT_CLASS(klass),
+ &gst_replace_sink_template);
% instance-init
% methods
% end