[Mplayer-cvslog] CVS: main/libvo geometry.c,1.4,1.5

Attila Kinali CVS attila at mplayerhq.hu
Sat Jan 4 14:11:36 CET 2003


Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv19883

Modified Files:
	geometry.c 
Log Message:
fix xv window position problem


Index: geometry.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/geometry.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- geometry.c	3 Jan 2003 20:46:44 -0000	1.4
+++ geometry.c	4 Jan 2003 13:11:18 -0000	1.5
@@ -35,7 +35,6 @@
 		   sscanf(vo_geometry, "%i%%:%i%%", &xper, &yper) != 2 &&
 		   sscanf(vo_geometry, "%i%%", &xper) != 1)
 			return geometry_error();
-        }
 
 	if(xper >= 0 && xper <= 100) xoff = (scrw - vidw) * ((float)xper / 100.0);
 	if(yper >= 0 && yper <= 100) yoff = (scrh - vidh) * ((float)yper / 100.0);
@@ -50,6 +49,7 @@
 	if(ypos) *ypos = yoff;
 	if(pwidth) *pwidth = width;
 	if(pheight) *pheight = height;
+        }
 	return 1;
 }
 



More information about the MPlayer-cvslog mailing list