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:
faust3 2004-07-06 19:57:03 +00:00
parent b612dd86b0
commit 4682a5f0bc
1 changed files with 1 additions and 1 deletions

View File

@ -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;