mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-10 10:04:23 +00:00
kmssink: Don't leak the dumb buffer on drain
This commit is contained in:
parent
22ce257f1c
commit
ee021c0418
1 changed files with 1 additions and 0 deletions
|
@ -1400,6 +1400,7 @@ gst_kms_sink_drain (GstKMSSink * self)
|
|||
dumb_buf = gst_kms_sink_copy_to_dumb_buffer (self, parent_meta->buffer);
|
||||
clear_cached_kmsmem (self);
|
||||
gst_kms_sink_show_frame (GST_VIDEO_SINK (self), dumb_buf);
|
||||
gst_buffer_unref (dumb_buf);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue