[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
- Previous message: [Mplayer-cvslog] CVS: main/DOCS codecs.conf,1.2,1.3
- Next message: [Mplayer-cvslog] CVS: main Makefile,1.11,1.12 cfg-mplayer.h,1.11,1.12 codec-cfg.c,1.5,1.6 codec-cfg.h,1.3,1.4 dec_audio.c,1.2,1.3 dll_init.c,1.4,1.5 mplayer.c,1.37,1.38 stheader.h,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
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
- Previous message: [Mplayer-cvslog] CVS: main/DOCS codecs.conf,1.2,1.3
- Next message: [Mplayer-cvslog] CVS: main Makefile,1.11,1.12 cfg-mplayer.h,1.11,1.12 codec-cfg.c,1.5,1.6 codec-cfg.h,1.3,1.4 dec_audio.c,1.2,1.3 dll_init.c,1.4,1.5 mplayer.c,1.37,1.38 stheader.h,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list