mirror of https://github.com/mpv-player/mpv
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.
This commit is contained in:
parent
67fcdcd8a3
commit
c9ba8ac9d7
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue