[FFmpeg-devel] [PATCH v2 2/2] avformat/libzmq: Make default pkt_size value consistent with amqp

Marton Balint cus at passwd.hu
Sun Mar 8 13:23:34 EET 2020



On Fri, 28 Feb 2020, Andriy Gelman wrote:

> From: Andriy Gelman <andriy.gelman at gmail.com>
>
> Signed-off-by: Andriy Gelman <andriy.gelman at gmail.com>
> ---
> libavformat/libzmq.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavformat/libzmq.c b/libavformat/libzmq.c
> index 8c8b294c921..1b0d8638dbf 100644
> --- a/libavformat/libzmq.c
> +++ b/libavformat/libzmq.c
> @@ -40,7 +40,7 @@ typedef struct ZMQContext {
> #define D AV_OPT_FLAG_DECODING_PARAM
> #define E AV_OPT_FLAG_ENCODING_PARAM
> 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 },

The docs also needs updating.

Thanks,
Marton


More information about the ffmpeg-devel mailing list