pango: Make static caps actually static to fix a memory leak
This commit is contained in:
parent
846a4a1038
commit
3e2a693ca9
@ -757,7 +757,7 @@ gst_base_text_overlay_can_handle_caps (GstCaps * incaps)
|
||||
{
|
||||
gboolean ret;
|
||||
GstCaps *caps;
|
||||
GstStaticCaps static_caps = GST_STATIC_CAPS (BASE_TEXT_OVERLAY_CAPS);
|
||||
static GstStaticCaps static_caps = GST_STATIC_CAPS (BASE_TEXT_OVERLAY_CAPS);
|
||||
|
||||
caps = gst_static_caps_get (&static_caps);
|
||||
ret = gst_caps_is_subset (incaps, caps);
|
||||
|
Loading…
x
Reference in New Issue
Block a user