[FFmpeg-devel] [PATCH 1/4] avcodec/frame: add AV_FRAME_FLAG_LOSSLESS

Anton Khirnov anton at khirnov.net
Mon Dec 16 10:26:38 EET 2024


Quoting Marton Balint (2024-12-15 01:02:42)
> Signed-off-by: Marton Balint <cus at passwd.hu>
> ---
>  doc/APIchanges       | 3 +++
>  libavcodec/version.h | 2 +-
>  libavutil/frame.h    | 4 ++++
>  3 files changed, 8 insertions(+), 1 deletion(-)
> 
> diff --git a/doc/APIchanges b/doc/APIchanges
> index 3a75b803a9..bfba0946d3 100644
> --- a/doc/APIchanges
> +++ b/doc/APIchanges
> @@ -2,6 +2,9 @@ The last version increases of all libraries were on 2024-03-07
>  
>  API changes, most recent first:
>  
> +2024-12-xx - xxxxxxxxxx - lavc 61.27.100 - frame.h
> +  Add AV_FRAME_FLAG_LOSSLESS.

I feel ambivalent about this. This is really a decoder property, and
attaching it to frames allows it propagate far away to places where it
makes no sense (the same holds for other existing AVFrame fields, but
I'd prefer for them to be removed).

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list