[FFmpeg-devel] [PATCH] fftools/ffprobe: add support for HDR10+ packet side data
Stefano Sabatini
stefasab at gmail.com
Sat Mar 25 16:49:09 EET 2023
On date Saturday 2023-03-25 09:08:37 -0300, James Almer wrote:
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
> fftools/ffprobe.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c
> index 95dda97edc..561b514f0b 100644
> --- a/fftools/ffprobe.c
> +++ b/fftools/ffprobe.c
> @@ -2360,6 +2360,9 @@ static void print_pkt_side_data(WriterContext *w,
> AVContentLightMetadata *metadata = (AVContentLightMetadata *)sd->data;
> print_int("max_content", metadata->MaxCLL);
> print_int("max_average", metadata->MaxFALL);
> + } else if (sd->type == AV_PKT_DATA_DYNAMIC_HDR10_PLUS) {
> + AVDynamicHDRPlus *metadata = (AVDynamicHDRPlus *)sd->data;
> + print_dynamic_hdr10_plus(w, metadata);
> } else if (sd->type == AV_PKT_DATA_DOVI_CONF) {
> AVDOVIDecoderConfigurationRecord *dovi = (AVDOVIDecoderConfigurationRecord *)sd->data;
> print_int("dv_version_major", dovi->dv_version_major);
LGTM, thanks.
More information about the ffmpeg-devel
mailing list