vlc | branch: master | Steve Lhomme <[email protected]> | Mon Nov 27 13:38:13 
2017 +0100| [72d3b200b2dfca26ed0161fd6ac5b3a8217141e2] | committer: 
Jean-Baptiste Kempf

vout:win32:common: no need to crop the source for D3D11

We always give the right aligned texture size.

Fixes #18928

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

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

 modules/video_output/win32/common.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/modules/video_output/win32/common.c 
b/modules/video_output/win32/common.c
index d768043ed0..83807a4fad 100644
--- a/modules/video_output/win32/common.c
+++ b/modules/video_output/win32/common.c
@@ -294,12 +294,6 @@ void UpdateRects(vout_display_t *vd,
     /* Apply overlay hardware constraints */
     if (sys->use_overlay)
         AlignRect(&rect_src_clipped, sys->i_align_src_boundary, 
sys->i_align_src_size);
-#elif defined(MODULE_NAME_IS_direct3d11)
-    /* Needed at least with YUV content */
-    rect_src_clipped.left &= ~1;
-    rect_src_clipped.right &= ~1;
-    rect_src_clipped.top &= ~1;
-    rect_src_clipped.bottom &= ~1;
 #endif
 
 #ifndef NDEBUG

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to