/third_party/ffmpeg/libavformat/ |
D | tcp.c | 40 int rw_timeout; member 55 …{ "timeout", "set timeout (in microseconds) of socket I/O operations", OFFSET(rw_timeout), … 133 s->rw_timeout = strtol(buf, NULL, 10); in tcp_open() 142 if (s->rw_timeout >= 0) { in tcp_open() 144 h->rw_timeout = s->rw_timeout; in tcp_open() 243 ret = ff_network_wait_fd_timeout(s->fd, 0, h->rw_timeout, &h->interrupt_callback); in tcp_read() 259 ret = ff_network_wait_fd_timeout(s->fd, 1, h->rw_timeout, &h->interrupt_callback); in tcp_write()
|
D | rtpproto.c | 63 int64_t rw_timeout; member 80 … timeout (in microseconds) of socket I/O operations", OFFSET(rw_timeout), AV_OPT_TY… 276 s->rw_timeout = strtol(buf, NULL, 10); in rtp_open() 299 if (s->rw_timeout >= 0) in rtp_open() 300 h->rw_timeout = s->rw_timeout; in rtp_open() 399 int runs = h->rw_timeout / 1000 / POLLING_TIME; in rtp_read() 423 } else if (n == 0 && h->rw_timeout > 0 && --runs <= 0) { in rtp_read()
|
D | libamqp.c | 146 s->connection_timeout = (h->rw_timeout > 0 ? h->rw_timeout : 5000000); in amqp_proto_open() 244 ret = ff_network_wait_fd_timeout(fd, 1, h->rw_timeout, &h->interrupt_callback); in amqp_proto_write() 273 ret = ff_network_wait_fd_timeout(fd, 0, h->rw_timeout, &h->interrupt_callback); in amqp_proto_read()
|
D | libsrt.c | 56 int64_t rw_timeout; member 100 … of socket I/O operations (in microseconds)", OFFSET(rw_timeout), AV_OPT_T… 406 s->rw_timeout = strtoll(buf, NULL, 10); in libsrt_setup() 412 if (s->rw_timeout >= 0) { in libsrt_setup() 413 open_timeout = h->rw_timeout = s->rw_timeout; in libsrt_setup() 684 ret = libsrt_network_wait_fd_timeout(h, s->eid, 0, h->rw_timeout, &h->interrupt_callback); in libsrt_read() 703 ret = libsrt_network_wait_fd_timeout(h, s->eid, 1, h->rw_timeout, &h->interrupt_callback); in libsrt_write()
|
D | unix.c | 75 if (s->timeout < 0 && h->rw_timeout) in unix_open() 76 s->timeout = h->rw_timeout / 1000; in unix_open()
|
D | libssh.c | 39 int rw_timeout; member 55 if (libssh->rw_timeout > 0) { in libssh_create_ssh_session() 56 long timeout = libssh->rw_timeout * 1000; in libssh_create_ssh_session() 479 …{"timeout", "set timeout of socket I/O operations", OFFSET(rw_timeout), AV_OPT_TYPE_INT, {.i64 = -…
|
D | libzmq.c | 148 ret = zmq_proto_wait_timeout(h, s->socket, 1, h->rw_timeout, &h->interrupt_callback); in zmq_proto_write() 164 ret = zmq_proto_wait_timeout(h, s->socket, 0, h->rw_timeout, &h->interrupt_callback); in zmq_proto_read()
|
D | ftp.c | 66 int rw_timeout; /**< Network timeout. */ member 84 …{"timeout", "set timeout of socket I/O operations", OFFSET(rw_timeout), AV_OPT_TYPE_INT, {.i64 = -… 574 if (s->rw_timeout != -1) { in ftp_connect_control_connection() 575 av_dict_set_int(&opts, "timeout", s->rw_timeout, 0); in ftp_connect_control_connection() 628 if (s->rw_timeout != -1) { in ftp_connect_data_connection() 629 av_dict_set_int(&opts, "timeout", s->rw_timeout, 0); in ftp_connect_data_connection()
|
D | avio.c | 60 …{"rw_timeout", "Timeout for IO operations (in microseconds)", offsetof(URLContext, rw_timeout), AV… 380 if (h->rw_timeout) { in retry_transfer_wrapper() 383 else if (av_gettime_relative() > wait_since + h->rw_timeout) in retry_transfer_wrapper()
|
D | url.h | 47 …int64_t rw_timeout; /**< maximum time to wait for (network) read/write operation completio… member
|
D | udp.c | 760 h->rw_timeout = s->timeout; in udp_open()
|
/third_party/ffmpeg/doc/ |
D | protocols.texi | 47 @item rw_timeout 111 default value is rw_timeout, or 5 seconds if rw_timeout is not set. 318 you either need to use the rw_timeout option, or use the interrupt callback
|