diff options
author | wm4 <wm4@mplayer2.org> | 2011-10-28 12:43:36 +0200 |
---|---|---|
committer | wm4 <wm4@mplayer2.org> | 2012-03-17 20:58:16 +0100 |
commit | c9ba8ac9d76d92821868fba0ec3b3dc9ab16f048 (patch) | |
tree | 0dba6f158d53606fa8ebc457b22f9a5599ceb96e /libvo | |
parent | 67fcdcd8a32ba6b0741c205772beae0fef1cd23e (diff) | |
download | mpv-c9ba8ac9d76d92821868fba0ec3b3dc9ab16f048.tar.bz2 mpv-c9ba8ac9d76d92821868fba0ec3b3dc9ab16f048.tar.xz |
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.
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_directx.c | 4 |
1 files changed, 1 insertions, 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; |