changeset 12769:c857885bf049

default is now to center the image
author faust3
date Tue, 06 Jul 2004 19:57:03 +0000
parents 931eee818c52
children 02d8e4d69cc6
files libvo/vo_cvidix.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_cvidix.c	Tue Jul 06 13:52:56 2004 +0000
+++ b/libvo/vo_cvidix.c	Tue Jul 06 19:57:03 2004 +0000
@@ -47,7 +47,7 @@
 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;