[Mplayer-cvslog] CVS: main/libvo vo_svga.c,1.1,1.2 video_out.c,1.9,1.10

GEREOFFY arpi_esp at users.sourceforge.net
Thu Apr 5 21:01:29 CEST 2001


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

Modified Files:
	vo_svga.c video_out.c 
Log Message:
integrated vo_svga by se7en

Index: vo_svga.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_svga.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** vo_svga.c	2001/04/05 08:42:02	1.1
--- vo_svga.c	2001/04/05 19:01:27	1.2
***************
*** 60,64 ****
  static uint8_t checked = 0;
  
! static checksupportedmodes() {
    int i;
    
--- 60,64 ----
  static uint8_t checked = 0;
  
! static void checksupportedmodes() {
    int i;
    
***************
*** 102,113 ****
          case 15: vid_mode = 17; break;
        }
!   if (vga_setmode(vid_mode) == -1)
      return(1); // error
!   if (gl_setcontextvga(vid_mode))
      return(1); // error
    screen = gl_allocatecontext();
    gl_getcontext(screen);
!   if (gl_setcontextvgavirtual(vid_mode))
      return(1); // error
    virt = gl_allocatecontext();
    gl_getcontext(virt);
--- 102,119 ----
          case 15: vid_mode = 17; break;
        }
!   if (vga_setmode(vid_mode) == -1){
!     printf("vo_svga: vga_setmode(%d) failed.\n",vid_mode);
      return(1); // error
!   }
!   if (gl_setcontextvga(vid_mode)){
!     printf("vo_svga: gl_setcontextvga(%d) failed.\n",vid_mode);
      return(1); // error
+   }
    screen = gl_allocatecontext();
    gl_getcontext(screen);
!   if (gl_setcontextvgavirtual(vid_mode)){
!     printf("vo_svga: gl_setcontextvgavirtual(%d) failed.\n",vid_mode);
      return(1); // error
+   }
    virt = gl_allocatecontext();
    gl_getcontext(virt);

Index: video_out.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/video_out.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** video_out.c	2001/03/28 20:14:16	1.9
--- video_out.c	2001/04/05 19:01:27	1.10
***************
*** 51,54 ****
--- 51,55 ----
  extern vo_functions_t video_out_syncfb;
  extern vo_functions_t video_out_fbdev;
+ extern vo_functions_t video_out_svga;
  
  vo_functions_t* video_out_drivers[] =
***************
*** 84,87 ****
--- 85,91 ----
  #ifdef HAVE_FBDEV
  	&video_out_fbdev,
+ #endif
+ #ifdef HAVE_SVGALIB
+ 	&video_out_svga,
  #endif
          &video_out_null,


_______________________________________________
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