[FFmpeg-devel] [PATCH] RTMPE support
Howard Chu
hyc
Fri Mar 26 02:00:55 CET 2010
Howard Chu wrote:
> M?ns Rullg?rd wrote:
>> Howard Chu<hyc at highlandsun.com> writes:
>>> Index: libavformat/Makefile
>>> ===================================================================
>>> --- libavformat/Makefile (revision 22672)
>>> +++ libavformat/Makefile (working copy)
>>> @@ -274,7 +274,11 @@
>>> OBJS-$(CONFIG_GOPHER_PROTOCOL) += gopher.o
>>> OBJS-$(CONFIG_HTTP_PROTOCOL) += http.o httpauth.o
>>> OBJS-$(CONFIG_PIPE_PROTOCOL) += file.o
>>> +ifeq ($(CONFIG_LIBRTMP),yes)
>>> +OBJS-$(CONFIG_LIBRTMP) += librtmp.o
>>> +else
>>> OBJS-$(CONFIG_RTMP_PROTOCOL) += rtmpproto.o rtmppkt.o
>>> +endif
>>
>> Are these supposed to be mutually exclusive? If so, do this to
>> configure instead:
>>
>> -rtmp_protocol_deps="tcp_protocol"
>> +rtmp_protocol_deps="tcp_protocol !librtmp"
That doesn't produce the desired effect, it turns off CONFIG_RTMP_PROTOCOL. I
simply want to switch the handler for RTMP_PROTOCOL.
Without the patch, the internal code handles rtmp:// URLs.
With --enable-librtmp, the librtmp.c code handles rtmp://, rtmpt://, rtmpe://,
rtmpte://, and rtmps:// URLs.
--
-- 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