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

Steve Lhomme git at videolan.org
Wed Oct 17 12:02:21 CEST 2018


vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Sep 11 14:37:55 2018 +0200| [3a4fefdfe0a25bc77ecba6e9c355e0cf2d7e915a] | committer: Steve Lhomme

d3d11_filters: disable extra processing done by some drivers

(cherry picked from commit 54af59e1f80c0b519191878ce521aeaac39ffbca)

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

 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 4a287681d5..23e06d2851 100644
--- a/modules/hw/d3d11/d3d11_filters.c
+++ b/modules/hw/d3d11/d3d11_filters.c
@@ -151,6 +151,9 @@ static bool ApplyFilter( filter_sys_t *p_sys,
                                                      filter,
                                                      TRUE,
                                                      level);
+    ID3D11VideoContext_VideoProcessorSetStreamAutoProcessingMode(p_sys->d3dvidctx,
+                                                                 p_sys->videoProcessor,
+                                                                 0, FALSE);
 
     RECT srcRect;
     srcRect.left   = fmt->i_x_offset;



More information about the vlc-commits mailing list