diff options
author | Martin Storsjö <martin@martin.st> | 2015-02-28 01:37:18 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2015-02-28 22:07:24 +0200 |
commit | e14f98c62fdf8744b07419314095d1b3248cce75 (patch) | |
tree | c9e33a1bc7abd12a70c62711f803862dc52af9ab /libavformat/tcp.c | |
parent | c86d8aed748adc3ba8df96fb1fe14aa45da77a31 (diff) | |
download | ffmpeg-e14f98c62fdf8744b07419314095d1b3248cce75.tar.gz |
tcp: Clarify the units for the timeout avoptions
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/tcp.c')
-rw-r--r-- | libavformat/tcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/tcp.c b/libavformat/tcp.c index a2426117c8..9585dc08d1 100644 --- a/libavformat/tcp.c +++ b/libavformat/tcp.c @@ -43,8 +43,8 @@ typedef struct TCPContext { #define E AV_OPT_FLAG_ENCODING_PARAM static const AVOption options[] = { { "listen", "Listen for incoming connections", OFFSET(listen), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, .flags = D|E }, - { "timeout", "Connection timeout", OFFSET(timeout), AV_OPT_TYPE_INT, { .i64 = 10000 }, INT_MIN, INT_MAX, .flags = D|E }, - { "listen_timeout", "Bind timeout", OFFSET(listen_timeout), AV_OPT_TYPE_INT, { .i64 = -1 }, INT_MIN, INT_MAX, .flags = D|E }, + { "timeout", "Connection timeout (in milliseconds)", OFFSET(timeout), AV_OPT_TYPE_INT, { .i64 = 10000 }, INT_MIN, INT_MAX, .flags = D|E }, + { "listen_timeout", "Bind timeout (in milliseconds)", OFFSET(listen_timeout), AV_OPT_TYPE_INT, { .i64 = -1 }, INT_MIN, INT_MAX, .flags = D|E }, { NULL } }; |