mplayer-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Original]

Re: [MPlayer-users] libmp1e


To: MPlayer-Users <mplayer-users@xxxxxxxxxxxx>
Subject: Re: [MPlayer-users] libmp1e
From: David Holm <dholm@xxxxxxxxx>
Date: Sun, 09 Dec 2001 09:49:50 +0100
References: <200112090008.fB908Ti20908@moe.2bsd.com>
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5) Gecko/20011014

Steven M. Schultz wrote:

Hello David -

What platform are you running on?


BSD/OS 4.3


        While the system is (more or less ;)) POSIX compliant it has not
        implemented many of the "SUS2" (Single Unix Specification 2) features.

        (POSIX) Threads are "OK" but some of the SUS2 additions cause me
        trouble.

        One thing to watch out for (I have encountered this several times
        when trying to port threaded programs) is the default mutex attribute.
        On many systems (Solaris, FreeBSD, BSD/OS) the default (or only) type
        of mutex is "error checking" (only the owner thread can unlock a mutex).

        With linux the default is 'fast' (no error checking, any thread can
        unlock any mutex) and that leads to great trouble when porting the
        program.   I know the author/maintainer of mpeg2enc (the mpeg encoder
        from the mjpegtools.sourceforge.net project added portability code that
        on linux initialized the mutex attribute to be 'error checking' - much
        more portable that way).

(I am working on a replacement for libmp1e, it will be finished soon, but perhaps I will have to disable libmp1e until it's done. I will adress it tomorrow)


If MPlayer does not need libmp1e to function as a DVD player then temporarily disabling the building of libmp1e would be very helpful
to me.


Thank you for the reply.

Steven


I have posted a patch to the dev list which gives configure the ability to disable libmp1e. Hopefully it will be applied asap. By default libmp1e is compiled though, the switch is listed in the help and is called --disable-mp1e


//David Holm



[Prev in Thread] Current Thread [Next in Thread]