summaryrefslogtreecommitdiff
path: root/tools/element-templates/srcpad
diff options
context:
space:
mode:
Diffstat (limited to 'tools/element-templates/srcpad')
-rw-r--r--tools/element-templates/srcpad4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/element-templates/srcpad b/tools/element-templates/srcpad
index 1afd7e76e..82e0eea3f 100644
--- a/tools/element-templates/srcpad
+++ b/tools/element-templates/srcpad
@@ -28,8 +28,8 @@ GST_STATIC_PAD_TEMPLATE ("src",
);
% base-init
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&gst_replace_src_template));
+ gst_element_class_add_static_pad_template (element_class,
+ &gst_replace_src_template);
% instance-init
replace->srcpad = gst_pad_new_from_static_template (&gst_replace_src_template