summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <edward@collabora.com>2012-09-25 14:18:35 +0200
committerEdward Hervey <edward@collabora.com>2012-09-25 14:18:35 +0200
commitac9394de294790abed088e461c52aec3c930e3f3 (patch)
tree671c0b3c8d871bd2ff3872ce91f6f3849fdc46d6
parent6277ee69e018a2ec5a44b9248492fa4ea3a814f2 (diff)
videomixer: Fix leak
-rw-r--r--gst/videomixer/videomixer2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/videomixer/videomixer2.c b/gst/videomixer/videomixer2.c
index 98a3312dc..95c8f216e 100644
--- a/gst/videomixer/videomixer2.c
+++ b/gst/videomixer/videomixer2.c
@@ -270,6 +270,7 @@ gst_videomixer2_update_src_caps (GstVideoMixer2 * mix)
gst_structure_get_fraction (s, "fraction", &info.fps_n, &info.fps_d);
}
+ gst_caps_unref (caps);
caps = gst_video_info_to_caps (&info);
GST_VIDEO_MIXER2_UNLOCK (mix);