pango: Make static caps actually static to fix a memory leak

This commit is contained in:
Sebastian Dröge 2014-04-15 13:57:08 +02:00
parent 846a4a1038
commit 3e2a693ca9

View file

@ -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);