videoconvert: plug caps leak

This commit is contained in:
Mark Nauwelaerts 2012-04-02 17:01:59 +02:00
parent 91aa1eb7dd
commit 6656affdfa

View file

@ -146,6 +146,7 @@ gst_video_convert_fixate_caps (GstBaseTransform * trans,
result = gst_caps_intersect (othercaps, caps);
if (gst_caps_is_empty (result)) {
gst_caps_unref (result);
result = othercaps;
} else {
gst_caps_unref (othercaps);