[FFmpeg-cvslog] rtmp: alias rtmp_listen to listen

Luca Barbato git at videolan.org
Wed Oct 2 15:06:25 CEST 2013


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Tue Oct  1 15:42:06 2013 +0200| [628a17d78ac1d95d83482b0c333c03bdb1fffbe9] | committer: Luca Barbato

rtmp: alias rtmp_listen to listen

Make it uniform with the other protocols.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=628a17d78ac1d95d83482b0c333c03bdb1fffbe9
---

 libavformat/rtmpproto.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index 05b28a4..91f9b1c 100644
--- a/libavformat/rtmpproto.c
+++ b/libavformat/rtmpproto.c
@@ -2768,6 +2768,7 @@ static const AVOption rtmp_options[] = {
     {"rtmp_swfverify", "URL to player swf file, compute hash/size automatically.", OFFSET(swfverify), AV_OPT_TYPE_STRING, {.str = NULL }, 0, 0, DEC},
     {"rtmp_tcurl", "URL of the target stream. Defaults to proto://host[:port]/app.", OFFSET(tcurl), AV_OPT_TYPE_STRING, {.str = NULL }, 0, 0, DEC|ENC},
     {"rtmp_listen", "Listen for incoming rtmp connections", OFFSET(listen), AV_OPT_TYPE_INT, {.i64 = 0}, INT_MIN, INT_MAX, DEC, "rtmp_listen" },
+    {"listen",      "Listen for incoming rtmp connections", OFFSET(listen), AV_OPT_TYPE_INT, {.i64 = 0}, INT_MIN, INT_MAX, DEC, "rtmp_listen" },
     {"timeout", "Maximum timeout (in seconds) to wait for incoming connections. -1 is infinite. Implies -rtmp_listen 1",  OFFSET(listen_timeout), AV_OPT_TYPE_INT, {.i64 = -1}, INT_MIN, INT_MAX, DEC, "rtmp_listen" },
     { NULL },
 };



More information about the ffmpeg-cvslog mailing list