mirror of
https://github.com/mpv-player/mpv
synced 2025-02-06 15:11:58 +00:00
Fixed BES aspect ratio.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13028 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
7a1e8266dd
commit
5fcaa7d4a1
@ -601,8 +601,8 @@ config( uint32_t width, uint32_t height,
|
||||
if (use_bes) {
|
||||
aspect_save_screenres( 0x10000, 0x10000 );
|
||||
aspect( &out_width, &out_height, A_ZOOM );
|
||||
besrect.x = (0x10000 - out_width) * in_width / 0x10000 / 2;
|
||||
besrect.y = (0x10000 - out_height) * in_height / 0x10000 / 2;
|
||||
besrect.x = (0x10000 - out_width) * in_width / out_width / 2;
|
||||
besrect.y = (0x10000 - out_height) * in_height / out_height / 2;
|
||||
besrect.w = in_width;
|
||||
besrect.h = in_height;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user