[vlc-commits] d3d11_deinterlace: disable extra processing done by some drivers

Steve Lhomme git at videolan.org
Tue Sep 11 14:50:02 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Sep 11 14:37:37 2018 +0200| [79330fd2fc23deed82a101425e7f12d9b18a4625] | committer: Steve Lhomme

d3d11_deinterlace: disable extra processing done by some drivers

Some end up overblowing the picture for no reason.

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

 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 e2a6aab457..a96da69421 100644
--- a/modules/hw/d3d11/d3d11_deinterlace.c
+++ b/modules/hw/d3d11/d3d11_deinterlace.c
@@ -107,6 +107,7 @@ static int RenderPic( filter_t *p_filter, picture_t *p_outpic, picture_t *p_pic,
                 D3D11_VIDEO_FRAME_FORMAT_INTERLACED_BOTTOM_FIELD_FIRST;
 
     ID3D11VideoContext_VideoProcessorSetStreamFrameFormat(p_sys->d3d_proc.d3dvidctx, p_sys->d3d_proc.videoProcessor, 0, frameFormat);
+    ID3D11VideoContext_VideoProcessorSetStreamAutoProcessingMode(p_sys->d3d_proc.d3dvidctx, p_sys->d3d_proc.videoProcessor, 0, FALSE);
 
     D3D11_VIDEO_PROCESSOR_STREAM stream = {0};
     stream.Enable = TRUE;



More information about the vlc-commits mailing list