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

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


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

d3d11_filters: disable extra processing done by some drivers

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

 modules/hw/d3d11/d3d11_filters.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/hw/d3d11/d3d11_filters.c b/modules/hw/d3d11/d3d11_filters.c
index d33921155e..845e81d31d 100644
--- a/modules/hw/d3d11/d3d11_filters.c
+++ b/modules/hw/d3d11/d3d11_filters.c
@@ -119,6 +119,9 @@ static bool ApplyFilter( filter_sys_t *p_sys,
                                                      filter,
                                                      TRUE,
                                                      level);
+    ID3D11VideoContext_VideoProcessorSetStreamAutoProcessingMode(p_sys->d3d_proc.d3dvidctx,
+                                                                 p_sys->d3d_proc.videoProcessor,
+                                                                 0, FALSE);
 
     RECT srcRect;
     srcRect.left   = fmt->i_x_offset;



More information about the vlc-commits mailing list