dvbsuboverlay: Fix caps memory leak by making static caps actually static
See https://bugzilla.gnome.org/show_bug.cgi?id=754157
This commit is contained in:
parent
ef7f5fc4c7
commit
50fc332ab5
@ -647,7 +647,7 @@ gst_dvbsub_overlay_can_handle_caps (GstCaps * incaps)
|
||||
{
|
||||
gboolean ret;
|
||||
GstCaps *caps;
|
||||
GstStaticCaps static_caps = GST_STATIC_CAPS (DVBSUB_OVERLAY_CAPS);
|
||||
static GstStaticCaps static_caps = GST_STATIC_CAPS (DVBSUB_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