[Mplayer-cvslog] CVS: main/libvo vo_svga.c,1.3,1.4

Zoltan Mark Vician se7encode at users.sourceforge.net
Thu Apr 5 22:42:26 CEST 2001


Update of /cvsroot/mplayer/main/libvo
In directory usw-pr-cvs1:/tmp/cvs-serv7609/libvo

Modified Files:
	vo_svga.c 
Log Message:

Mode detect bugfix. 


Index: vo_svga.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_svga.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** vo_svga.c	2001/04/05 19:44:54	1.3
--- vo_svga.c	2001/04/05 20:42:24	1.4
***************
*** 53,56 ****
--- 53,57 ----
  
  static uint8_t vid_modes[VID_MODE_NUM];
+ static vid_mode_nums[VID_MODE_NUM] = {17,18,19,34,20,21,22,35,23,24,25,36};
  static uint8_t vid_mode;
  
***************
*** 66,70 ****
    vga_disabledriverreport();
    for (i = 0; i < VID_MODE_NUM; i++) {
!     if (vga_hasmode(i) > 0)
        vid_modes[i] = 1;
      else vid_modes[i] = 0;
--- 67,71 ----
    vga_disabledriverreport();
    for (i = 0; i < VID_MODE_NUM; i++) {
!     if (vga_hasmode(vid_mode_nums[i]) > 0)
        vid_modes[i] = 1;
      else vid_modes[i] = 0;


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list