[Mplayer-cvslog] CVS: main/libvo vo_fbdev.c,1.43,1.44

Szabolcs Berecz szabii at users.sourceforge.net
Sat Jun 9 19:33:23 CEST 2001


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

Modified Files:
	vo_fbdev.c 
Log Message:
8bpp fix

Index: vo_fbdev.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_fbdev.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -r1.43 -r1.44
*** vo_fbdev.c	2001/06/03 23:24:31	1.43
--- vo_fbdev.c	2001/06/09 17:33:21	1.44
***************
*** 707,710 ****
--- 707,715 ----
  	fb_bpp = fb_vinfo.bits_per_pixel;
  
+ 	if (fb_bpp == 8 && !vo_dbpp) {
+ 		printf(FBDEV "8 bpp output is not supported.\n");
+ 		goto err_out_fd;
+ 	}
+ 
  	/* 16 and 15 bpp is reported 16 bpp */
  	if (fb_bpp == 16)
***************
*** 716,720 ****
  				vo_dbpp != 32) {
  			printf(FBDEV "can't switch to %d bpp\n", vo_dbpp);
! 			goto err_out;
  		}
  		fb_bpp = vo_dbpp;		
--- 721,725 ----
  				vo_dbpp != 32) {
  			printf(FBDEV "can't switch to %d bpp\n", vo_dbpp);
! 			goto err_out_fd;
  		}
  		fb_bpp = vo_dbpp;		
***************
*** 898,902 ****
  	fb_bpp = (fb_pixel_size == 4) ? 32 : fb_real_bpp;
  	if (fb_bpp_we_want != fb_bpp)
! 		printf(FBDEV "requested %d bpp, got %d bpp)!!!\n",
  				fb_bpp_we_want, fb_bpp);
  
--- 903,907 ----
  	fb_bpp = (fb_pixel_size == 4) ? 32 : fb_real_bpp;
  	if (fb_bpp_we_want != fb_bpp)
! 		printf(FBDEV "requested %d bpp, got %d bpp!!!\n",
  				fb_bpp_we_want, fb_bpp);
  


_______________________________________________
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