[Mplayer-cvslog] CVS: main/libvo vo_x11.c,1.9,1.10

Megyer Laszlo laaz at users.sourceforge.net
Tue Apr 10 02:18:43 CEST 2001


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

Modified Files:
	vo_x11.c 
Log Message:
vo_x11 query_format fix


Index: vo_x11.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_x11.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** vo_x11.c	2001/04/10 00:00:04	1.9
--- vo_x11.c	2001/04/10 00:18:41	1.10
***************
*** 516,520 ****
  {
   if( !vo_init() ) return 0; // Can't open X11
!  if( ( format&IMGFMT_BGR_MASK )==IMGFMT_BGR && ( format&0xFF )==vo_depthonscreen ) return 1;
   switch( format )
    {
--- 516,527 ----
  {
   if( !vo_init() ) return 0; // Can't open X11
! 
!  if( ( format&IMGFMT_BGR_MASK )==IMGFMT_BGR ){
!    int bpp=format&0xFF;
!    if( bpp==vo_depthonscreen ) return 1;
!    if( bpp==15 && vo_depthonscreen==16) return 1; // built-in conversion
!    if( bpp==24 && vo_depthonscreen==32) return 1; // built-in conversion
!  }
! 
   switch( format )
    {


_______________________________________________
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