summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-07-06 19:57:03 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-07-06 19:57:03 +0000
commit4682a5f0bc6870679bce94701f7ad3f6d6550b16 (patch)
treed36614a5e27a5965cda99e2322da5fa0f222812d /libvo
parentb612dd86b09d7c3b024e723ebb02a9a01bd20abc (diff)
downloadmpv-4682a5f0bc6870679bce94701f7ad3f6d6550b16.tar.bz2
mpv-4682a5f0bc6870679bce94701f7ad3f6d6550b16.tar.xz
default is now to center the image
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12770 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_cvidix.c2
1 files changed, 1 insertions, 1 deletions
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;