From ea147f3b50c6826134926f176bc51ba1c5924c60 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Fri, 15 Mar 2024 12:14:31 +0100 Subject: [PATCH] avutil/frame: clarify AV_FRAME_DATA_FILM_GRAIN_PARAMS usage To allow for AFGS1 usage, which can expose multiple parameter sets for a single frame. --- libavutil/frame.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavutil/frame.h b/libavutil/frame.h index 373866c600..8aa05ec127 100644 --- a/libavutil/frame.h +++ b/libavutil/frame.h @@ -180,6 +180,10 @@ enum AVFrameSideDataType { /** * Film grain parameters for a frame, described by AVFilmGrainParams. * Must be present for every frame which should have film grain applied. + * + * May be present multiple times, for example when there are multiple + * alternative parameter sets for different video signal characteristics. + * The user should select the most appropriate set for the application. */ AV_FRAME_DATA_FILM_GRAIN_PARAMS,