[Mplayer-cvslog] CVS: main/libvo vo_x11.c,1.6,1.7

GEREOFFY arpi_esp at users.sourceforge.net
Sat Apr 7 23:27:59 CEST 2001


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

Modified Files:
	vo_x11.c 
Log Message:
codecs.conf support

Index: vo_x11.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_x11.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** vo_x11.c	2001/03/29 16:06:36	1.6
--- vo_x11.c	2001/04/07 21:27:57	1.7
***************
*** 515,523 ****
  {
   if( !vo_init() ) return 0; // Can't open X11
!  if( ( format&IMGFMT_BGR_MASK )==IMGFMT_BGR && ( format&0xFF )==vo_depthonscreen ) return 1;
   switch( format )
!   {
     case IMGFMT_YV12: return 1;
!   }
   return 0;
  }
--- 515,528 ----
  {
   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 )
!  {
     case IMGFMT_YV12: return 1;
!  }
   return 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