vlc | branch: master | Steve Lhomme <[email protected]> | Mon Feb 26 11:54:39 2018 +0100| [3f922c78203d08ac6ee6a3a8502148f6d5ec2265] | committer: Steve Lhomme
hw:d3d11: fix texture leak > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3f922c78203d08ac6ee6a3a8502148f6d5ec2265 --- modules/hw/d3d11/d3d11_surface.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/hw/d3d11/d3d11_surface.c b/modules/hw/d3d11/d3d11_surface.c index 2085e29231..5d34ffa792 100644 --- a/modules/hw/d3d11/d3d11_surface.c +++ b/modules/hw/d3d11/d3d11_surface.c @@ -828,6 +828,8 @@ void D3D11CloseConverter( vlc_object_t *obj ) filter_t *p_filter = (filter_t *)obj; filter_sys_t *p_sys = p_filter->p_sys; #if CAN_PROCESSOR + if (p_sys->procOutTexture) + ID3D11Texture2D_Release(p_sys->procOutTexture); D3D11_ReleaseProcessor( &p_sys->d3d_proc ); #endif CopyCleanCache(&p_sys->cache); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
