videomixer: Fix leak

This commit is contained in:
Edward Hervey 2012-09-25 14:18:35 +02:00
parent 6277ee69e0
commit ac9394de29

View file

@ -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);