summaryrefslogtreecommitdiff
path: root/libavformat/allformats.c
diff options
context:
space:
mode:
authorHoward Chu <hyc@highlandsun.com>2010-03-28 13:39:36 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-03-28 13:39:36 +0000
commit0f943ce663de3f7a903556a0666d7cefae1c8bf2 (patch)
tree2472fe192a36b679f9760c392df7d739288a875a /libavformat/allformats.c
parent9bee24595432f98411a891affd1f1ca3fb254c9f (diff)
Implement support to RTMP, RTMPT, RTMPE, RTMPTE, RTMPS protocols via
librtmp. Patch by Howard Chu <hyc * highlandsun * com>. Originally committed as revision 22710 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/allformats.c')
-rw-r--r--libavformat/allformats.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/allformats.c b/libavformat/allformats.c
index 090d134d73..91dba0a3a6 100644
--- a/libavformat/allformats.c
+++ b/libavformat/allformats.c
@@ -218,6 +218,12 @@ void av_register_all(void)
REGISTER_PROTOCOL (HTTP, http);
REGISTER_PROTOCOL (PIPE, pipe);
REGISTER_PROTOCOL (RTMP, rtmp);
+#if CONFIG_LIBRTMP
+ REGISTER_PROTOCOL (RTMP, rtmpt);
+ REGISTER_PROTOCOL (RTMP, rtmpe);
+ REGISTER_PROTOCOL (RTMP, rtmpte);
+ REGISTER_PROTOCOL (RTMP, rtmps);
+#endif
REGISTER_PROTOCOL (RTP, rtp);
REGISTER_PROTOCOL (TCP, tcp);
REGISTER_PROTOCOL (UDP, udp);