mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
videoconvert: plug caps leak
This commit is contained in:
parent
91aa1eb7dd
commit
6656affdfa
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue