vlc | branch: master | Thomas Guillem <[email protected]> | Mon Mar  4 10:03:33 
2019 +0100| [48758ea18323b0f720f770c2cd3b29c32b2d0e9c] | committer: Thomas 
Guillem

gl: vdpau: fix vdp_t leak

Fixes #21993

Regression from 3c9b5fe7db8af75b01d1011278d2584fc56b7dff

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=48758ea18323b0f720f770c2cd3b29c32b2d0e9c
---

 modules/video_output/opengl/converter_vdpau.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/video_output/opengl/converter_vdpau.c 
b/modules/video_output/opengl/converter_vdpau.c
index c15b65afe5..d40d5d181f 100644
--- a/modules/video_output/opengl/converter_vdpau.c
+++ b/modules/video_output/opengl/converter_vdpau.c
@@ -112,6 +112,7 @@ Close(vlc_object_t *obj)
 {
     opengl_tex_converter_t *tc = (void *)obj;
     _glVDPAUFiniNV(); assert(tc->vt->GetError() == GL_NO_ERROR);
+    vdp_release_x11(tc->dec_device->opaque);
 }
 
 static int

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to