[Mplayer-cvslog] CVS: main/libvo vo_xv.c,1.129,1.130

Richard Felker CVS rfelker at mplayerhq.hu
Fri Jan 3 19:02:06 CET 2003


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

Modified Files:
	vo_xv.c 
Log Message:
10l, geometry always returns 1. i think this is the correct fix.


Index: vo_xv.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xv.c,v
retrieving revision 1.129
retrieving revision 1.130
diff -u -r1.129 -r1.130
--- vo_xv.c	3 Jan 2003 13:18:22 -0000	1.129
+++ vo_xv.c	3 Jan 2003 18:01:49 -0000	1.130
@@ -281,10 +281,8 @@
  
  vo_mouse_autohide=1;
 
- // Quick fix for handling the geometry option.
- if(!geometry(&vo_dx, &vo_dy, vo_screenwidth, vo_screenheight, d_width, d_height,0)) {
-    vo_dx=( vo_screenwidth - d_width ) / 2; vo_dy=( vo_screenheight - d_height ) / 2;
- }
+ vo_dx=( vo_screenwidth - d_width ) / 2; vo_dy=( vo_screenheight - d_height ) / 2;
+ geometry(&vo_dx, &vo_dy, vo_screenwidth, vo_screenheight, d_width, d_height,0))
  vo_dwidth=d_width; vo_dheight=d_height;
      
 #ifdef HAVE_XF86VM



More information about the MPlayer-cvslog mailing list