[Mplayer-cvslog] CVS: main/libvo vo_sdl.c,1.71,1.72
Felix Buenemann
atmosfear at users.sourceforge.net
Wed Mar 13 22:29:14 CET 2002
Am Mit, 2002-03-13 um 00.40 schrieb Arpi:
> Hi,
>
> > + if(priv->dblit) {
> > + if(mpi->type == MP_IMGTYPE_STATIC && (priv->surface->flags
> > & SDL_DOUBLEBUF))
> > + return VO_FALSE;
> > +
> > + mpi->planes[0] = priv->surface->pixels + priv->y*priv->surf
> > ace->pitch;
> > + mpi->stride[0] = priv->surface->pitch;
> > + }
>
> hmm. does dblit mean writting directly to video memory?
> then we should add here:
> if(mpi->flags&&MP_IMGFLAG_READABLE) return VO_FALSE;
> to avoid (sloooooow) reading from video memory
no, dblit means I do blitting to sdl surface via memcopy instead of
special sdl blitting+convert function.
>
>
> A'rpi / Astral & ESP-team
--
Best Regards,
Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________
More information about the MPlayer-cvslog
mailing list