Searched refs:rw_timeout (Results 1 – 11 of 11) sorted by relevance
/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() 139 if (s->rw_timeout >= 0) { in tcp_open() 141 h->rw_timeout = s->rw_timeout; in tcp_open() 240 ret = ff_network_wait_fd_timeout(s->fd, 0, h->rw_timeout, &h->interrupt_callback); in tcp_read() 256 ret = ff_network_wait_fd_timeout(s->fd, 1, h->rw_timeout, &h->interrupt_callback); in tcp_write()
|
D | libamqp.c | 123 s->connection_timeout = (h->rw_timeout > 0 ? h->rw_timeout : 5000000); in amqp_proto_open() 219 ret = ff_network_wait_fd_timeout(fd, 1, h->rw_timeout, &h->interrupt_callback); in amqp_proto_write() 248 ret = ff_network_wait_fd_timeout(fd, 0, h->rw_timeout, &h->interrupt_callback); in amqp_proto_read()
|
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 | libsrt.c | 58 int64_t rw_timeout; member 100 … of socket I/O operations (in microseconds)", OFFSET(rw_timeout), AV_OPT_T… 387 s->rw_timeout = strtol(buf, NULL, 10); in libsrt_setup() 393 if (s->rw_timeout >= 0) { in libsrt_setup() 394 open_timeout = h->rw_timeout = s->rw_timeout; in libsrt_setup() 655 … ret = libsrt_network_wait_fd_timeout(h, s->eid, s->fd, 0, h->rw_timeout, &h->interrupt_callback); in libsrt_read() 674 … ret = libsrt_network_wait_fd_timeout(h, s->eid, s->fd, 1, h->rw_timeout, &h->interrupt_callback); in libsrt_write()
|
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 | 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 | 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 = -… 554 if (s->rw_timeout != -1) { in ftp_connect_control_connection() 555 av_dict_set_int(&opts, "timeout", s->rw_timeout, 0); in ftp_connect_control_connection() 608 if (s->rw_timeout != -1) { in ftp_connect_data_connection() 609 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… 385 if (h->rw_timeout) { in retry_transfer_wrapper() 388 else if (av_gettime_relative() > wait_since + h->rw_timeout) in retry_transfer_wrapper()
|
D | url.h | 48 …int64_t rw_timeout; /**< maximum time to wait for (network) read/write operation completio… member
|
D | udp.c | 737 h->rw_timeout = s->timeout; in udp_open()
|
/third_party/ffmpeg/doc/ |
D | protocols.texi | 47 @item rw_timeout 110 default value is rw_timeout, or 5 seconds if rw_timeout is not set. 260 you either need to use the rw_timeout option, or use the interrupt callback
|