[vlc-commits] direct3d9: Don't round uneven sizes down.
Hugo Beauzée-Luyssen
git at videolan.org
Wed Apr 5 19:31:02 CEST 2017
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Apr 5 09:40:11 2017 +0200| [fc0eb78ad163882fd9eef089c714ccf27fa3971a] | committer: Hugo Beauzée-Luyssen
direct3d9: Don't round uneven sizes down.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fc0eb78ad163882fd9eef089c714ccf27fa3971a
---
modules/video_output/win32/common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_output/win32/common.c b/modules/video_output/win32/common.c
index 719e749..8ef0aef 100644
--- a/modules/video_output/win32/common.c
+++ b/modules/video_output/win32/common.c
@@ -287,7 +287,7 @@ 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_direct3d9) || defined(MODULE_NAME_IS_direct3d11)
+#elif defined(MODULE_NAME_IS_direct3d11)
/* Needed at least with YUV content */
rect_src_clipped.left &= ~1;
rect_src_clipped.right &= ~1;
More information about the vlc-commits
mailing list