[Mplayer-cvslog] CVS: main/libmpcodecs vd_zlib.c,NONE,1.1

Arpi arpi at thot.banki.hu
Sat Mar 23 17:25:33 CET 2002


Hi,

> Hi,
> 
> > > >     ctx->mpi = mpcodecs_get_image(sh, MP_IMGTYPE_TEMP, MP_IMGFLAG_ALLO
> CATED,
> > > > 	ctx->width, ctx->height);
> > > >     if (!ctx->mpi)
> > > > 	return(NULL);
> > > 
> > > ehh
> > > this should NOT be called from init() !
> > > 
> > > and should be called for each frame once at decode()
> > Yes, i know, BUT, avizlib frames hasn't got any header, only the RGB frame
> > compressed. Everything is coming from the avi header. (shit, i know)
> And for this reason, it's faster to get pointers only in init.

And it WON'T WORK as the pointers will change when double buffering is used
please fix ASAP

anyway it break design concept too


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