On Tue, Oct 1, 2013 at 3:42 PM, Luca Barbato <[email protected]> wrote: > Make it uniform with the other protocols. > --- > 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 }, > }; > --
I think it's ok, maybe the old style options could be slowly deprecated. Vittorio _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
