[Mplayer-cvslog] CVS: main/libvo vo_cvidix.c,1.7,1.8

Sascha Sommer CVS syncmail at mplayerhq.hu
Tue Jul 6 21:57:05 CEST 2004


CVS change done by Sascha Sommer CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv30665/libvo

Modified Files:
	vo_cvidix.c 
Log Message:
default is now to center the image

Index: vo_cvidix.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_cvidix.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- vo_cvidix.c	15 Nov 2003 09:58:15 -0000	1.7
+++ vo_cvidix.c	6 Jul 2004 19:57:03 -0000	1.8
@@ -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;




More information about the MPlayer-cvslog mailing list