[FFmpeg-devel] [PATCH v4 1/3] lavu/opt: Rename AV_OPT_FLAG_RUNTIME_PARAM to ...POST_INIT_SETTABLE_PARAM

Anton Khirnov anton at khirnov.net
Tue Jul 2 12:49:15 EEST 2024


Quoting Andrew Sayers (2024-07-02 11:08:38)
> The old name could be misread as the opposite of "AV_OPT_FLAG_READONLY" -
> some things can be set at runtime, others are read-only.  Clarify that
> this refers to options that can be set after the struct is initialized.
> ---
>  doc/APIchanges      |  4 ++++
>  libavutil/opt.h     | 15 ++++++++++++++-
>  libavutil/version.h |  3 ++-
>  3 files changed, 20 insertions(+), 2 deletions(-)
> 
> diff --git a/doc/APIchanges b/doc/APIchanges
> index f1828436e5..8217c391cb 100644
> --- a/doc/APIchanges
> +++ b/doc/APIchanges
> @@ -2,6 +2,10 @@ The last version increases of all libraries were on 2024-03-07
>  
>  API changes, most recent first:
>  
> +2024-07-02 - xxxxxxxxxx - lavu 59.28.100 - opt.h
> +  Deprecate AV_OPT_FLAG_RUNTIME_PARAM and replace it with
> +  AV_OPT_FLAG_POST_INIT_SETTABLE_PARAM.

Unwarranted API churn

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list