diff options
Diffstat (limited to 'tools/element-templates/sinkpad')
-rw-r--r-- | tools/element-templates/sinkpad | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/element-templates/sinkpad b/tools/element-templates/sinkpad index ec8a98060..6d3bad1fb 100644 --- a/tools/element-templates/sinkpad +++ b/tools/element-templates/sinkpad @@ -30,8 +30,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 replace->sinkpad = gst_pad_new_from_static_template (&gst_replace_sink_template |