mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 14:36:24 +00:00
basetransform: avoid caps leak
This commit is contained in:
parent
23ff3a8f53
commit
ae12e4f645
1 changed files with 1 additions and 1 deletions
|
@ -692,7 +692,7 @@ gst_base_transform_query_caps (GstBaseTransform * trans, GstPad * pad,
|
||||||
GST_DEBUG_OBJECT (pad, "intersected %" GST_PTR_FORMAT, temp);
|
GST_DEBUG_OBJECT (pad, "intersected %" GST_PTR_FORMAT, temp);
|
||||||
gst_caps_unref (templ);
|
gst_caps_unref (templ);
|
||||||
} else {
|
} 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 */
|
/* then see what we can transform this to */
|
||||||
|
|
Loading…
Reference in a new issue