summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/element-templates/srcpad2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/element-templates/srcpad b/tools/element-templates/srcpad
index d1f799267..1afd7e76e 100644
--- a/tools/element-templates/srcpad
+++ b/tools/element-templates/srcpad
@@ -76,7 +76,7 @@ gst_replace_src_getcaps (GstPad *pad)
GST_DEBUG_OBJECT(replace, "getcaps");
- caps = gst_caps_copy (gst_pad_get_pad_template_caps (pad));
+ caps = gst_pad_get_pad_template_caps (pad);
gst_object_unref (replace);
return caps;