mirror of
https://github.com/mpv-player/mpv
synced 2025-01-01 12:22:22 +00:00
default is now to center the image
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12770 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b612dd86b0
commit
4682a5f0bc
@ -47,7 +47,7 @@ static vidix_grkey_t gr_key;
|
||||
static uint32_t setup_vidix(){
|
||||
int x=vo_dx,y=vo_dy;
|
||||
aspect(&vo_dwidth,&vo_dheight,vo_fs ? A_ZOOM : A_NOZOOM);
|
||||
if(vo_fs){
|
||||
if(!vo_geometry || vo_fs){
|
||||
if(vo_dwidth <= vo_screenwidth)x = (vo_screenwidth - vo_dwidth)/2;
|
||||
else x=0;
|
||||
if(vo_dheight <= vo_screenheight)y = (vo_screenheight - vo_dheight)/2;
|
||||
|
Loading…
Reference in New Issue
Block a user