mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 02:15:31 +00:00
gl: download: Fix a caps memory leak in _try_export_dmabuf().
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1058>
This commit is contained in:
parent
f506a3e0ff
commit
3d96786857
1 changed files with 1 additions and 0 deletions
|
@ -420,6 +420,7 @@ _try_export_dmabuf (GstGLDownloadElement * download, GstBuffer * inbuf)
|
|||
|
||||
src_caps = gst_pad_get_current_caps (GST_BASE_TRANSFORM (download)->srcpad);
|
||||
gst_video_info_from_caps (&out_info, src_caps);
|
||||
gst_caps_unref (src_caps);
|
||||
|
||||
if (download->add_videometa) {
|
||||
GstVideoMeta *meta;
|
||||
|
|
Loading…
Reference in a new issue