[MPlayer-dev-eng] [PATCH] don't link mplayer with encoding libsand allow disabling some encoders in lavc

Nico Sabbi nsabbi at email.it
Wed Nov 8 09:57:46 CET 2006


Dominik 'Rathann' Mierzejewski wrote:

>On Wednesday, 08 November 2006 at 04:12, Dominik 'Rathann' Mierzejewski wrote:
>  
>
>>Currently, if libmp3lame is detected, both mencoder and mplayer will get
>>linked against it (due to libavcodec). Same goes for x264 and faac. Using
>>--disable-encoder=mp3lame --disable-encoder=x264 --disable-encoder=faac
>>is not enough. This patch disables linking mplayer with those if the above
>>options are passed to configure. Tested and working as advertised. ;)
>>    
>>
>
>... this patch:
>
>  
>
>------------------------------------------------------------------------
>
>  
>
The patch may be fine, but the current way to detected if lavc requires 
linking to faad,
lame, x264 and who knows what else in the future is disgusting and is 
guaranteed
to break again in the future.
All this mess wouldn't be necessary if we used only pkg-config (as for 
lav[cf] external),
and configure would be much much cleaner.




More information about the MPlayer-dev-eng mailing list