Re: [FFmpeg-devel] [PATCH 06/29] lavu/opt: add array options

2024-03-07 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Anton Khirnov: >> +/** >> + * Must be set as default_val for AV_OPT_TYPE_FLAG_ARRAY options. >> + */ >> +typedef struct AVOptionArrayDef { >> +/** >> + * Must be set to sizeof(AVOptionArrayDef), in order to allow extending >> this >> + * struct without breaking AB

Re: [FFmpeg-devel] [PATCH 06/29] lavu/opt: add array options

2024-03-05 Thread Anton Khirnov
Quoting Marton Balint (2024-03-04 22:32:21) > > @@ -330,6 +380,14 @@ typedef struct AVOption { > > const char *str; > > /* TODO those are unused now */ > > AVRational q; > > + > > +/** > > + * Used for AV_OPT_TYPE_FLAG_ARRAY options. May be NULL. > > This co

Re: [FFmpeg-devel] [PATCH 06/29] lavu/opt: add array options

2024-03-05 Thread Andreas Rheinhardt
Anton Khirnov: > Quoting Andreas Rheinhardt (2024-03-04 14:29:59) >> Anton Khirnov: >>> --- >>> doc/APIchanges| 3 + >>> libavutil/opt.c | 362 +- >>> libavutil/opt.h | 62 +++- >>> libavutil/tests/opt.c | 51 ++ >>> tests/ref

Re: [FFmpeg-devel] [PATCH 06/29] lavu/opt: add array options

2024-03-04 Thread Marton Balint
On Mon, 4 Mar 2024, Anton Khirnov wrote: --- doc/APIchanges| 3 + libavutil/opt.c | 362 +- libavutil/opt.h | 62 +++- libavutil/tests/opt.c | 51 ++ tests/ref/fate/opt| 35 +++- 5 files changed, 468 insertions(+), 45 del

Re: [FFmpeg-devel] [PATCH 06/29] lavu/opt: add array options

2024-03-04 Thread Anton Khirnov
Quoting Andreas Rheinhardt (2024-03-04 14:29:59) > Anton Khirnov: > > --- > > doc/APIchanges| 3 + > > libavutil/opt.c | 362 +- > > libavutil/opt.h | 62 +++- > > libavutil/tests/opt.c | 51 ++ > > tests/ref/fate/opt| 35

Re: [FFmpeg-devel] [PATCH 06/29] lavu/opt: add array options

2024-03-04 Thread Andreas Rheinhardt
Anton Khirnov: > --- > doc/APIchanges| 3 + > libavutil/opt.c | 362 +- > libavutil/opt.h | 62 +++- > libavutil/tests/opt.c | 51 ++ > tests/ref/fate/opt| 35 +++- > 5 files changed, 468 insertions(+), 45 deletions(-) >

[FFmpeg-devel] [PATCH 06/29] lavu/opt: add array options

2024-03-04 Thread Anton Khirnov
--- doc/APIchanges| 3 + libavutil/opt.c | 362 +- libavutil/opt.h | 62 +++- libavutil/tests/opt.c | 51 ++ tests/ref/fate/opt| 35 +++- 5 files changed, 468 insertions(+), 45 deletions(-) diff --git a/doc/APIchanges b/