mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -647,7 +647,7 @@ gst_dvbsub_overlay_can_handle_caps (GstCaps * incaps)
|
||||||
{
|
{
|
||||||
gboolean ret;
|
gboolean ret;
|
||||||
GstCaps *caps;
|
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);
|
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