[Mplayer-cvslog] CVS: main/libvo vo_xv.c,1.103,1.104

Arpi arpi at thot.banki.hu
Wed Jul 17 23:43:57 CEST 2002


Hi,

> On Wednesday 17 July 2002 23:20, Michael Niedermayer wrote:
> > +    if(mpi->width*(mpi->bpp/8) > xvimage[current_buf]->pitches[0]) return 
> hmm, if this bpp is bytes per pixel, shouldn't it be +7/8 instead of /8, to 
> fix eg. 15bpp?
it's bits per pixel, and 15bpp uses 16bits of memory per pixel so it's ok
don't exchange it with depth!


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-cvslog mailing list