[Mplayer-cvslog] CVS: main/libvo vo_svga.c,1.52,1.53

Arpi of Ize arpi at mplayerhq.hu
Wed Oct 9 02:51:07 CEST 2002


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

Modified Files:
	vo_svga.c 
Log Message:
mode check at preinit()


Index: vo_svga.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_svga.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- vo_svga.c	29 Sep 2002 19:23:21 -0000	1.52
+++ vo_svga.c	9 Oct 2002 00:51:04 -0000	1.53
@@ -93,7 +93,12 @@
       maxframes=1;
   }
 
-printf("vo_svga: preinit - maxframes=%i\n",maxframes);
+  if (!checked) {
+    if (checksupportedmodes()) // Looking for available video modes 
+      return(1);
+  }
+
+// printf("vo_svga: preinit - maxframes=%i\n",maxframes);
   
   return 0;
 }
@@ -118,11 +123,6 @@
   uint8_t res_widescr, vid_widescr = (((req_w*1.0)/req_h) > (4.0/3)) ? 1 : 0;
   uint16_t buf_w = USHRT_MAX, buf_h = USHRT_MAX;
   vga_modelist_t *list = modelist;
-
-  if (!checked) {
-    if (checksupportedmodes()) // Looking for available video modes 
-      return(1);
-  }
 
   bpp_avail = 0;
   while (list != NULL) {




More information about the MPlayer-cvslog mailing list