[vlc-devel] [vlc-commits] avcodec: fix direct rendering with some codecs
Rafaël Carré
funman at videolan.org
Sun Dec 11 21:20:41 CET 2011
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.
--
Rafaël Carré
More information about the vlc-devel
mailing list