[Mplayer-cvslog] CVS: main/libvo vo_xvidix.c,1.2,1.3

Nick Kurshev nick at mplayer.dev.hu
Sun Jan 13 11:10:17 CET 2002


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

Modified Files:
	vo_xvidix.c 
Log Message:
Minor changes: -fs key and vidix params

Index: vo_xvidix.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xvidix.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- vo_xvidix.c	13 Jan 2002 00:23:47 -0000	1.2
+++ vo_xvidix.c	13 Jan 2002 10:10:15 -0000	1.3
@@ -163,7 +163,12 @@
     aspect(&d_width, &d_height, A_NOZOOM);
 #ifdef X11_FULLSCREEN
     if (flags & 0x01) /* fullscreen */
-      aspect(&d_width, &d_height, A_ZOOM);
+      if(flags & 0x04)	aspect(&d_width, &d_height, A_ZOOM);
+      else
+      {
+	d_width = vo_screenwidth;
+	d_height = vo_screenheight;
+      }
 #endif
 
     hint.x = 0;
@@ -248,7 +253,7 @@
 	window_x, window_y, window_width, window_height);
 
     if (vidix_init(image_width, image_height, window_x, window_y, window_width,
-	window_height, format, image_depth, image_width, image_height) != 0)
+	window_height, format, image_depth, vo_screenwidth, vo_screenheight) != 0)
     {
 	mp_msg(MSGT_VO, MSGL_FATAL, "Can't initialize VIDIX driver: %s: %s\n",
 	    vidix_name, strerror(errno));




More information about the MPlayer-cvslog mailing list