summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2015-08-27 11:10:05 +0300
committerSebastian Dröge <sebastian@centricular.com>2015-08-27 11:10:53 +0300
commit50fc332ab5dafcc9ac4b0e2afe2207b1eca79b2c (patch)
tree5561984d8171cf7492c1001372f5ff7d255dff5e /gst
parentef7f5fc4c7f19c35238cbdaa597cf43c90454e23 (diff)
downloadgstreamer-plugins-bad-50fc332ab5dafcc9ac4b0e2afe2207b1eca79b2c.tar.gz
dvbsuboverlay: Fix caps memory leak by making static caps actually static
See https://bugzilla.gnome.org/show_bug.cgi?id=754157
Diffstat (limited to 'gst')
-rw-r--r--gst/dvbsuboverlay/gstdvbsuboverlay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/dvbsuboverlay/gstdvbsuboverlay.c b/gst/dvbsuboverlay/gstdvbsuboverlay.c
index 5dcdd15b0..8a429eb2e 100644
--- a/gst/dvbsuboverlay/gstdvbsuboverlay.c
+++ b/gst/dvbsuboverlay/gstdvbsuboverlay.c
@@ -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);