Home
last modified time | relevance | path

Searched refs:rw_timeout (Results 1 – 11 of 11) sorted by relevance

/third_party/ffmpeg/libavformat/
Dtcp.c40 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()
Dlibamqp.c123 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()
Dunix.c75 if (s->timeout < 0 && h->rw_timeout) in unix_open()
76 s->timeout = h->rw_timeout / 1000; in unix_open()
Dlibsrt.c58 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()
Dlibzmq.c148 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()
Dlibssh.c39 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 = -…
Dftp.c66 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()
Davio.c60 …{"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()
Durl.h48 …int64_t rw_timeout; /**< maximum time to wait for (network) read/write operation completio… member
Dudp.c737 h->rw_timeout = s->timeout; in udp_open()
/third_party/ffmpeg/doc/
Dprotocols.texi47 @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