[FFmpeg-devel] [PATCH] set flags and stuff required for XvMC instead of just checking them

Michael Niedermayer michaelni
Sat Feb 14 23:33:58 CET 2009


On Sat, Feb 14, 2009 at 10:57:01PM +0100, Reimar D?ffinger wrote:
> On Sat, Feb 14, 2009 at 10:18:35PM +0100, Michael Niedermayer wrote:
> > On Sat, Feb 14, 2009 at 09:20:42PM +0100, Reimar D?ffinger wrote:
> > > I do not know what could be the purpose of checking these things except
> > > creating useless code or general sadism.
> > > The CODEC_FLAG_EMU_EDGE is from MPlayer where it comes with the great
> > > comment "//do i need that??!!"
> > > I am not willing to keep that crap around in MPlayer, so I am moving it
> > > here...
> > 
> > you cant, 
> > 
> >    /**
> >      * CODEC_FLAG_*.
> >      * - encoding: Set by user.
> >      * - decoding: Set by user.
> >      */
> >     int flags;
> > 
> > the dox say "set by user" lavc is not the user
> 
> Well, that can be taken care of.

i do not like this
the EMU flag is supposed to be set by the user app depending on the 
buffer / VO abilities and the users preferrance, its not even clear
what meaning this flag has for HW decoders

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090214/05b74d5c/attachment.pgp>



More information about the ffmpeg-devel mailing list