From c9ba8ac9d76d92821868fba0ec3b3dc9ab16f048 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 28 Oct 2011 12:43:36 +0200 Subject: vo_directx: do not clip overlay against screen size Clipping it makes the video output look extremely crappy. There seems no good reason to do this, and VirtualBox is fine with overlays larger than the screen. --- libvo/vo_directx.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libvo/vo_directx.c b/libvo/vo_directx.c index 1c23d15f95..7302b36cdb 100644 --- a/libvo/vo_directx.c +++ b/libvo/vo_directx.c @@ -470,9 +470,7 @@ static uint32_t Directx_ManageDisplay(void) panscan_calc_windowed(); width += vo_panscan_x; height += vo_panscan_y; - width = FFMIN(width, vo_screenwidth); - height = FFMIN(height, vo_screenheight); - rd.left += (vo_dwidth - width) / 2; + rd.left += (vo_dwidth - width ) / 2; rd.top += (vo_dheight - height) / 2; rd.right = rd.left + width; -- cgit v1.2.3