mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
avformat/libzmq: Make default pkt_size value consistent with amqp
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
parent
1676d0fb25
commit
e6c5329a43
@ -1858,7 +1858,7 @@ line. The following options are supported:
|
|||||||
|
|
||||||
@item pkt_size
|
@item pkt_size
|
||||||
Forces the maximum packet size for sending/receiving data. The default value is
|
Forces the maximum packet size for sending/receiving data. The default value is
|
||||||
32,768 bytes. On the server side, this sets the maximum size of sent packets
|
131,072 bytes. On the server side, this sets the maximum size of sent packets
|
||||||
via ZeroMQ. On the clients, it sets an internal buffer size for receiving
|
via ZeroMQ. On the clients, it sets an internal buffer size for receiving
|
||||||
packets. Note that pkt_size on the clients should be equal to or greater than
|
packets. Note that pkt_size on the clients should be equal to or greater than
|
||||||
pkt_size on the server. Otherwise the received message may be truncated causing
|
pkt_size on the server. Otherwise the received message may be truncated causing
|
||||||
|
@ -40,7 +40,7 @@ typedef struct ZMQContext {
|
|||||||
#define D AV_OPT_FLAG_DECODING_PARAM
|
#define D AV_OPT_FLAG_DECODING_PARAM
|
||||||
#define E AV_OPT_FLAG_ENCODING_PARAM
|
#define E AV_OPT_FLAG_ENCODING_PARAM
|
||||||
static const AVOption options[] = {
|
static const AVOption options[] = {
|
||||||
{ "pkt_size", "Maximum send/read packet size", OFFSET(pkt_size), AV_OPT_TYPE_INT, { .i64 = 32768 }, -1, INT_MAX, .flags = D | E },
|
{ "pkt_size", "Maximum send/read packet size", OFFSET(pkt_size), AV_OPT_TYPE_INT, { .i64 = 131072 }, -1, INT_MAX, .flags = D | E },
|
||||||
{ NULL }
|
{ NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user