* [FFmpeg-devel] [PATCH] fftools/ffprobe: add support for HDR10+ packet side data
@ 2023-03-25 12:08 James Almer
2023-03-25 14:49 ` Stefano Sabatini
0 siblings, 1 reply; 2+ messages in thread
From: James Almer @ 2023-03-25 12:08 UTC (permalink / raw)
To: ffmpeg-devel
Signed-off-by: James Almer <jamrial@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
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [FFmpeg-devel] [PATCH] fftools/ffprobe: add support for HDR10+ packet side data
2023-03-25 12:08 [FFmpeg-devel] [PATCH] fftools/ffprobe: add support for HDR10+ packet side data James Almer
@ 2023-03-25 14:49 ` Stefano Sabatini
0 siblings, 0 replies; 2+ messages in thread
From: Stefano Sabatini @ 2023-03-25 14:49 UTC (permalink / raw)
To: FFmpeg development discussions and patches
On date Saturday 2023-03-25 09:08:37 -0300, James Almer wrote:
> Signed-off-by: James Almer <jamrial@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.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-25 14:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-25 12:08 [FFmpeg-devel] [PATCH] fftools/ffprobe: add support for HDR10+ packet side data James Almer
2023-03-25 14:49 ` Stefano Sabatini
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git