diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-01-27 11:40:05 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-01-27 11:41:33 +0100 |
commit | ae12e4f645fd085490bc9d64133adab1cd5e400c (patch) | |
tree | f337af7d671ef9856799e27383552aa6f9889ac7 | |
parent | 23ff3a8f53765a5fbdb8a94a74811dfbe44a97c0 (diff) |
basetransform: avoid caps leak
-rw-r--r-- | libs/gst/base/gstbasetransform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gst/base/gstbasetransform.c b/libs/gst/base/gstbasetransform.c index 2013a96a06..698ce31316 100644 --- a/libs/gst/base/gstbasetransform.c +++ b/libs/gst/base/gstbasetransform.c @@ -692,7 +692,7 @@ gst_base_transform_query_caps (GstBaseTransform * trans, GstPad * pad, GST_DEBUG_OBJECT (pad, "intersected %" GST_PTR_FORMAT, temp); gst_caps_unref (templ); } else { - temp = gst_caps_copy (gst_pad_get_pad_template_caps (otherpad)); + temp = gst_pad_get_pad_template_caps (otherpad); } /* then see what we can transform this to */ |