diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2017-05-31 11:55:11 -0400 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2017-06-01 15:07:16 -0400 |
commit | 2934a10f2ed32b1b80b9e3a0a2f55489fd4067f4 (patch) | |
tree | 72786eea363f6fff674719b3450b04c34dac2ef7 /ffprobe.c | |
parent | 88521a75376169fc4adc1c1f850a2d5cade84878 (diff) | |
download | ffmpeg-2934a10f2ed32b1b80b9e3a0a2f55489fd4067f4.tar.gz |
ffprobe: Print AVContentLightMetadata side data contents
Diffstat (limited to 'ffprobe.c')
-rw-r--r-- | ffprobe.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1913,6 +1913,10 @@ static void print_pkt_side_data(WriterContext *w, print_q("min_luminance", metadata->min_luminance, '/'); print_q("max_luminance", metadata->max_luminance, '/'); } + } else if (sd->type == AV_PKT_DATA_CONTENT_LIGHT_LEVEL) { + AVContentLightMetadata *metadata = (AVContentLightMetadata *)sd->data; + print_int("max_content", metadata->MaxCLL); + print_int("max_average", metadata->MaxFALL); } writer_print_section_footer(w); } @@ -2155,6 +2159,10 @@ static void show_frame(WriterContext *w, AVFrame *frame, AVStream *stream, print_q("min_luminance", metadata->min_luminance, '/'); print_q("max_luminance", metadata->max_luminance, '/'); } + } else if (sd->type == AV_FRAME_DATA_CONTENT_LIGHT_LEVEL) { + AVContentLightMetadata *metadata = (AVContentLightMetadata *)sd->data; + print_int("max_content", metadata->MaxCLL); + print_int("max_average", metadata->MaxFALL); } writer_print_section_footer(w); } |