[vlc-devel] [vlc-commits] avcodec: fix direct rendering with some codecs

Laurent Aimar fenrir at elivagar.org
Sun Dec 11 21:25:53 CET 2011


On Sun, Dec 11, 2011 at 03:20:41PM -0500, Rafaël Carré wrote:
> Le Sun, 11 Dec 2011 21:15:34 +0100,
> Laurent Aimar <fenrir at elivagar.org> a écrit :
> 
> > On Sun, Dec 11, 2011 at 09:13:07PM +0100, Laurent Aimar wrote:
> > > > Why do we need libavcodec to draw the edges for us anyway?
> > >  It's not that we require the edges, it's because we cannot provide a
> > > buffer suitable for avcodec if we don't ask for EMU_EDGE (or if we could,
> > > we would probably end up doing a copy later anyway, at least for playback).
> >  Btw, when we set EMU_EDGE it is to prevent avcodec from drawing/using the
> > edges space (and so from having to have enough space for them in the buffers). 
> > 
> 
> Yeah we should set this flag unconditionally I guess.
 Wich we do when trying to use direct-rendering. If we don't use
direct-rendering then it's better not to ask for it (a bit faster en general)

-- 
fenrir



More information about the vlc-devel mailing list