mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
intervideosrc: Fix a memory leak
Frees the source ARGB black frame that we use to create the black frame in our target format.
This commit is contained in:
parent
3910cbe7ce
commit
226a4fcea3
1 changed files with 1 additions and 0 deletions
|
@ -243,6 +243,7 @@ gst_inter_video_src_set_caps (GstBaseSrc * base, GstCaps * caps)
|
|||
gst_video_converter_free (converter);
|
||||
gst_video_frame_unmap (&src_frame);
|
||||
gst_video_frame_unmap (&dest_frame);
|
||||
gst_buffer_unref (src);
|
||||
intervideosrc->black_frame = dest;
|
||||
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in a new issue