[vlc-commits] vout:win32:common: no need to crop the source for D3D11
Steve Lhomme
git at videolan.org
Mon Nov 27 20:54:13 CET 2017
vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | 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 <jb at videolan.org>
> 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
More information about the vlc-commits
mailing list