diff allformats.c @ 5904:5564d7f2ed5a libavformat

Implement support to RTMP, RTMPT, RTMPE, RTMPTE, RTMPS protocols via librtmp. Patch by Howard Chu <hyc * highlandsun * com>.
author stefano
date Sun, 28 Mar 2010 13:39:36 +0000
parents 25062326d2f9
children 326378da363a
line wrap: on
line diff
--- a/allformats.c	Sun Mar 28 10:31:22 2010 +0000
+++ b/allformats.c	Sun Mar 28 13:39:36 2010 +0000
@@ -218,6 +218,12 @@
     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);