[Mplayer-cvslog] CVS: main/libvo vo_cvidix.c,1.9,1.10

Sascha Sommer CVS syncmail at mplayerhq.hu
Thu Sep 16 20:08:19 CEST 2004


CVS change done by Sascha Sommer CVS

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

Modified Files:
	vo_cvidix.c 
Log Message:
Changed the default again so that the initial video position is in
the upper left corner like in vo fbdev[2].
Reason: vo cvidix does not know the screen resolution unlike you specify
it with screen[w/h], resulting in the video being displayed on a random 
position.


Index: vo_cvidix.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_cvidix.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- vo_cvidix.c	9 Jul 2004 15:29:40 -0000	1.9
+++ vo_cvidix.c	16 Sep 2004 18:08:17 -0000	1.10
@@ -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_geometry || vo_fs){
+  if(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