[vlc-commits] d3d11_deinterlace: disable extra processing done by some drivers
Steve Lhomme
git at videolan.org
Wed Oct 17 12:02:20 CEST 2018
vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Sep 11 14:37:37 2018 +0200| [49d2cbb9e3c2e9219fd6d8306f5723c36619a453] | committer: Steve Lhomme
d3d11_deinterlace: disable extra processing done by some drivers
Some end up overblowing the picture for no reason.
(cherry picked from commit 79330fd2fc23deed82a101425e7f12d9b18a4625)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=49d2cbb9e3c2e9219fd6d8306f5723c36619a453
---
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 2f22ad579a..63341fe6f9 100644
--- a/modules/hw/d3d11/d3d11_deinterlace.c
+++ b/modules/hw/d3d11/d3d11_deinterlace.c
@@ -138,6 +138,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->d3dvidctx, p_sys->videoProcessor, 0, frameFormat);
+ ID3D11VideoContext_VideoProcessorSetStreamAutoProcessingMode(p_sys->d3dvidctx, p_sys->videoProcessor, 0, FALSE);
D3D11_VIDEO_PROCESSOR_STREAM stream = {0};
stream.Enable = TRUE;
More information about the vlc-commits
mailing list