[FFmpeg-devel] [PATCH 2/2] Autodetect pthreads

David Conrad lessen42
Mon Apr 19 15:30:22 CEST 2010


On Apr 19, 2010, at 9:01 AM, M?ns Rullg?rd wrote:

> David Conrad <lessen42 at gmail.com> writes:
> 
>>    Autoenable pthreads for libx264
>> 
>> diff --git a/configure b/configure
>> index 959d63b..d2ec4c1 100755
>> --- a/configure
>> +++ b/configure
>> @@ -2579,6 +2579,11 @@ pthreads_if_any='
>>     mpeg2video_encoder
>> '
>> 
>> +# autoenable pthreads if the external lib is likely to depend on them
>> +if ! disabled pthreads; then
>> +    enabled libx264 && enable pthreads
>> +fi
> 
> This will break if any other threading lib is selected.

Oops

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Autoenable-pthreads.patch
Type: application/octet-stream
Size: 3271 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100419/2e71ab95/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Autoenable-pthreads-for-libx264.patch
Type: application/octet-stream
Size: 804 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100419/2e71ab95/attachment-0001.obj>



More information about the ffmpeg-devel mailing list