From 4682a5f0bc6870679bce94701f7ad3f6d6550b16 Mon Sep 17 00:00:00 2001 From: faust3 Date: Tue, 6 Jul 2004 19:57:03 +0000 Subject: [PATCH] default is now to center the image git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12770 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_cvidix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvo/vo_cvidix.c b/libvo/vo_cvidix.c index ea68d9ec70..ee8f1fc82b 100644 --- a/libvo/vo_cvidix.c +++ b/libvo/vo_cvidix.c @@ -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;