aboutsummaryrefslogtreecommitdiff
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-simple2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/element-templates/sinkpad-simple b/tools/element-templates/sinkpad-simple
index e8538b6e..e6cd684b 100644
--- a/tools/element-templates/sinkpad-simple
+++ b/tools/element-templates/sinkpad-simple
@@ -12,7 +12,7 @@ GST_STATIC_PAD_TEMPLATE ("sink",
);
% base-init
- gst_element_class_add_pad_template (element_class,
+ gst_element_class_add_pad_template (GST_ELEMENT_CLASS(klass),
gst_static_pad_template_get (&gst_replace_sink_template));
% instance-init