mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
pango: Make static caps actually static to fix a memory leak
This commit is contained in:
parent
846a4a1038
commit
3e2a693ca9
1 changed files with 1 additions and 1 deletions
|
@ -757,7 +757,7 @@ gst_base_text_overlay_can_handle_caps (GstCaps * incaps)
|
||||||
{
|
{
|
||||||
gboolean ret;
|
gboolean ret;
|
||||||
GstCaps *caps;
|
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);
|
caps = gst_static_caps_get (&static_caps);
|
||||||
ret = gst_caps_is_subset (incaps, caps);
|
ret = gst_caps_is_subset (incaps, caps);
|
||||||
|
|
Loading…
Reference in a new issue