[MPlayer-dev-eng] [RFC] allow vos to not support draw_slice

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Feb 19 14:57:46 CET 2009


On Thu, Feb 19, 2009 at 02:23:03PM +0100, Attila Kinali wrote:
> On Tue, 17 Feb 2009 14:43:42 +0100
> Reimar Döffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> wrote:
> 
> > for some vos like (unfortunately) VDPAU, implementing draw_slices
> > would just add complexity and an extra buffer since the API lacks
> > functions to do a partial upload of frame data.
> > Thus this patch adds VOCAP_NOSLICES, that when returned by query_format
> > will disable slice rendering.
> > Note that this is called VOCAP_NOSLICES on purpose, since filters just
> > set their draw_slice function to NULL to achieve this, thus this flag
> > is only for vos.
> 
> BTW: is DOCS/tech/libvo.txt still somewhat up to date? Or is it so horribly
> outdated taht we should put a warning at the top?

I put a warning on top, but I think it should now be reasonably correct.



More information about the MPlayer-dev-eng mailing list