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

James Almer git at videolan.org
Sat Mar 25 18:28:07 EET 2023


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sat Mar 25 09:07:22 2023 -0300| [6ee6dd93eb68605914eed32b69142f87967c1f3f] | committer: James Almer

fftools/ffprobe: add support for HDR10+ packet side data

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6ee6dd93eb68605914eed32b69142f87967c1f3f
---

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



More information about the ffmpeg-cvslog mailing list