[FFmpeg-devel] [PATCH] RTMPE support
Howard Chu
hyc
Fri Mar 26 00:17:25 CET 2010
M?ns Rullg?rd wrote:
> Howard Chu<hyc at highlandsun.com> writes:
>
>> M?ns Rullg?rd wrote:
>>> Howard Chu<hyc at highlandsun.com> writes:
>>>> Michael Niedermayer wrote:
>>>>> i dont mind supporting external libs but i think it should not replace
>>>>> our implementation but coexist.
>>>>
>>>> This patch adds configure hooks to allow choosing one or the other.
>>>>
>>>> Index: configure
>>>> ===================================================================
>>>> --- configure (revision 22672)
>>>> +++ configure (working copy)
>>>> enabled libopencore_amrnb&& require libopencore_amrnb opencore-amrnb/interf_dec.h Decoder_Interface_init -lopencore-amrnb -lm
>>>> enabled libopencore_amrwb&& require libopencore_amrwb opencore-amrwb/dec_if.h D_IF_init -lopencore-amrwb -lm
>>>> enabled libopenjpeg&& require libopenjpeg openjpeg.h opj_version -lopenjpeg
>>>> +enabled librtmp&& require librtmp librtmp/rtmp.h RTMP_Init $(pkg-config --libs librtmp)
>>>
>>> Is it possible to use this without pkg-config? pkg-config is
>>> notoriously broken, and we avoid it whenever possible.
>> But as a practical matter, it solves the issue that librtmp could be
>> built with either OpenSSL or GnuTLS*, and I don't see any other
>> "standard" way to discover which dependency is needed.
>
> If shared libs are used there is no problem. Those who insist on
> using static libs can pass extra linker flags as needed.
OK, then that makes things much simpler, we just need "-lrtmp" here.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
More information about the ffmpeg-devel
mailing list