[Mplayer-cvslog] CVS: main/libvo vo_sdl.c,1.98,1.99

Atmosfear atmos4 at mplayerhq.hu
Mon Jan 13 02:20:36 CET 2003


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

Modified Files:
	vo_sdl.c 
Log Message:
10l, init priv->X at right place

Index: vo_sdl.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_sdl.c,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -r1.98 -r1.99
--- vo_sdl.c	8 Jan 2003 14:55:56 -0000	1.98
+++ vo_sdl.c	13 Jan 2003 01:20:21 -0000	1.99
@@ -834,7 +834,6 @@
 	aspect_save_prescale(d_width ? d_width : width, d_height ? d_height : height);
 
 	/* Save the original Image size */
-    priv->X = 0;
     priv->width  = width;
     priv->height = height;
     priv->dstwidth  = d_width ? d_width : width;
@@ -1609,6 +1608,7 @@
     SDL_VideoDriverName(priv->driver, 8);
     printf("SDL: Using driver: %s\n", priv->driver);
 
+    priv->X = 0;
 #ifdef HAVE_X11
     XDisplay = XOpenDisplay(NULL);
     if(XDisplay) {



More information about the MPlayer-cvslog mailing list