[MPlayer-dev-eng] [PATCH] Fix return values of WaitForSingleObject when checking an event

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu Mar 18 20:27:44 CET 2010


On Thu, Mar 18, 2010 at 07:47:29PM +0100, Steinar H. Gunderson wrote:
> On Thu, Mar 18, 2010 at 07:32:42PM +0100, Michael Niedermayer wrote:
> >> Does FFmpeg have Win32 binary codec support? I wasn't aware of that.
> > not yet, but i clearly see the future before me where you add such support
> > :)
> 
> I'm afraid you do see a different feature from what I do. :-)
> 
> To whoever wants to see anything like that happen: Reuse WINE. TTBOMK this is
> what CoreAVC-for-Linux now does, and it's the only sane long-term solution.
> We don't need fifteen different projects reimplementing different parts of
> the Win32 API in various buggy ways. (Yes, you will probably need your own
> process, but you'll need that to run 32-bit codecs on 64-bit platforms
> anyway.)

Just in case someone is really interested: there is already code _somewhere_
that runs the binary decoders in a separate process for that reason.
Hm, actually I think that code is the CoreAVC-for-Linux nowadays.
Another advantage of that approach is that you could run the binary codecs with
special security measures (e.g. linux SECCOMP) making running untrusted binaries
less of a issue - though that would probably be a bit more effort to get working.



More information about the MPlayer-dev-eng mailing list