mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-19 17:03:55 +00:00
videomixer: Fix leak
This commit is contained in:
parent
6277ee69e0
commit
ac9394de29
1 changed files with 1 additions and 0 deletions
|
@ -270,6 +270,7 @@ gst_videomixer2_update_src_caps (GstVideoMixer2 * mix)
|
||||||
gst_structure_get_fraction (s, "fraction", &info.fps_n, &info.fps_d);
|
gst_structure_get_fraction (s, "fraction", &info.fps_n, &info.fps_d);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gst_caps_unref (caps);
|
||||||
caps = gst_video_info_to_caps (&info);
|
caps = gst_video_info_to_caps (&info);
|
||||||
|
|
||||||
GST_VIDEO_MIXER2_UNLOCK (mix);
|
GST_VIDEO_MIXER2_UNLOCK (mix);
|
||||||
|
|
Loading…
Reference in a new issue