summaryrefslogtreecommitdiff
path: root/tools/element-templates/sinkpad-template
diff options
context:
space:
mode:
Diffstat (limited to 'tools/element-templates/sinkpad-template')
-rw-r--r--tools/element-templates/sinkpad-template4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/element-templates/sinkpad-template b/tools/element-templates/sinkpad-template
index b06b346b1..785365d81 100644
--- a/tools/element-templates/sinkpad-template
+++ b/tools/element-templates/sinkpad-template
@@ -11,8 +11,8 @@ GST_STATIC_PAD_TEMPLATE ("sink",
);
% base-init
- gst_element_class_add_static_pad_template (element_class,
- &gst_replace_sink_template);
+ gst_element_class_add_pad_template (element_class,
+ gst_static_pad_template_get (&gst_replace_sink_template);
% instance-init
% methods
% end