mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +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_caps_unref (caps);
|
||||
caps = gst_video_info_to_caps (&info);
|
||||
|
||||
GST_VIDEO_MIXER2_UNLOCK (mix);
|
||||
|
|
Loading…
Reference in a new issue