[FFmpeg-devel] [PATCH] fftools/ffprobe: add support for HDR10+ packet side data

James Almer jamrial at gmail.com
Sat Mar 25 14:08:37 EET 2023


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);
-- 
2.40.0



More information about the ffmpeg-devel mailing list