imagefreeze: plug caps leak
This commit is contained in:
parent
e937d38544
commit
02114c1cf0
@ -293,6 +293,8 @@ gst_image_freeze_sink_getcaps (GstImageFreeze * self, GstCaps * filter)
|
|||||||
ret = gst_caps_copy (templ);
|
ret = gst_caps_copy (templ);
|
||||||
}
|
}
|
||||||
gst_caps_unref (templ);
|
gst_caps_unref (templ);
|
||||||
|
if (filter)
|
||||||
|
gst_caps_unref (filter);
|
||||||
|
|
||||||
ret = gst_caps_make_writable (ret);
|
ret = gst_caps_make_writable (ret);
|
||||||
gst_image_freeze_remove_fps (self, ret);
|
gst_image_freeze_remove_fps (self, ret);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user