[vlc-commits] d3d11_deinterlace: flush the history when closing the filter

Steve Lhomme git at videolan.org
Tue Oct 13 13:03:43 CEST 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Oct 13 13:01:36 2020 +0200| [a66d2a3a8f36ef571a189b3499217390439ff34f] | committer: Steve Lhomme

d3d11_deinterlace: flush the history when closing the filter

There is no guarantee it has been called before.
The software implementations also does the same.

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

 modules/hw/d3d11/d3d11_deinterlace.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/hw/d3d11/d3d11_deinterlace.c b/modules/hw/d3d11/d3d11_deinterlace.c
index d37b3c8e05..a61160a9c0 100644
--- a/modules/hw/d3d11/d3d11_deinterlace.c
+++ b/modules/hw/d3d11/d3d11_deinterlace.c
@@ -235,6 +235,7 @@ picture_t *AllocPicture( filter_t *p_filter )
 static void D3D11CloseDeinterlace(filter_t *filter)
 {
     filter_sys_t *sys = filter->p_sys;
+    Flush(filter);
     D3D11_ReleaseProcessor( &sys->d3d_proc );
     vlc_video_context_Release(filter->vctx_out);
 



More information about the vlc-commits mailing list