[Mplayer-cvslog] CVS: main/libvo vo_ggi.c,1.8,1.9

Felix Buenemann atmosfear at users.sourceforge.net
Sat Jun 23 15:28:31 CEST 2001


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

Modified Files:
	vo_ggi.c 
Log Message:
Should fix bytes per pixel for 15bpp.


Index: vo_ggi.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_ggi.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** vo_ggi.c	2001/06/19 23:20:59	1.8
--- vo_ggi.c	2001/06/23 13:28:28	1.9
***************
*** 196,200 ****
  	    vo_depthonscreen, ggi_conf.bpp);
  
!     ggi_conf.bppmul = ggi_conf.bpp/8;
  
      return(0);
--- 196,200 ----
  	    vo_depthonscreen, ggi_conf.bpp);
  
!     ggi_conf.bppmul = (ggi_conf.bpp+7)/8;
  
      return(0);
***************
*** 327,332 ****
      ggi_conf.format = format;
  
!     ggi_conf.framePlaneRGB = width * height * (ggi_conf.bpp/8); /* fix it! */
!     ggi_conf.stridePlaneRGB = width * (ggi_conf.bpp/8);
  #ifdef GGI_PLANAR_NOCONV
      ggi_conf.framePlaneY = width * height;
--- 327,332 ----
      ggi_conf.format = format;
  
!     ggi_conf.framePlaneRGB = width * height * ((ggi_conf.bpp+7)/8); /* fix it! */
!     ggi_conf.stridePlaneRGB = width * ((ggi_conf.bpp+7)/8);
  #ifdef GGI_PLANAR_NOCONV
      ggi_conf.framePlaneY = width * height;


_______________________________________________
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