[MPlayer-users] libmp1e

David Holm dholm at telia.com
Sun Dec 9 09:49:50 CET 2001


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




More information about the MPlayer-users mailing list