diff mbox series

[FFmpeg-devel,4/5] avformat/dump: implement dv_md_compression

Message ID 20240716112317.35745-4-ffmpeg@haasn.xyz
State New
Headers show
Series [FFmpeg-devel,1/5] avutil/dovi_meta: add dv_md_compression to cfg record | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Niklas Haas July 16, 2024, 11:23 a.m. UTC
From: Niklas Haas <git@haasn.dev>

---
 libavformat/dump.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Comments

Cosmin Stejerean July 16, 2024, 11:41 a.m. UTC | #1
> On Jul 16, 2024, at 1:23 PM, Niklas Haas <ffmpeg@haasn.xyz> wrote:
> 
> From: Niklas Haas <git@haasn.dev>
> 
> ---
> libavformat/dump.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/libavformat/dump.c b/libavformat/dump.c
> index 78b2481d90..5e1f367742 100644
> --- a/libavformat/dump.c
> +++ b/libavformat/dump.c
> @@ -416,13 +416,15 @@ static void dump_dovi_conf(void *ctx, const AVPacketSideData *sd,
>         (const AVDOVIDecoderConfigurationRecord *)sd->data;
> 
>     av_log(ctx, log_level, "version: %d.%d, profile: %d, level: %d, "
> -           "rpu flag: %d, el flag: %d, bl flag: %d, compatibility id: %d",
> +           "rpu flag: %d, el flag: %d, bl flag: %d, compatibility id: %d, "
> +           "compression: %d",
>            dovi->dv_version_major, dovi->dv_version_minor,
>            dovi->dv_profile, dovi->dv_level,
>            dovi->rpu_present_flag,
>            dovi->el_present_flag,
>            dovi->bl_present_flag,
> -           dovi->dv_bl_signal_compatibility_id);
> +           dovi->dv_bl_signal_compatibility_id,
> +           dovi->dv_md_compression);
> }
> 
> static void dump_s12m_timecode(void *ctx, const AVStream *st, const AVPacketSideData *sd,
> 

LGTM

- Cosmin
diff mbox series

Patch

diff --git a/libavformat/dump.c b/libavformat/dump.c
index 78b2481d90..5e1f367742 100644
--- a/libavformat/dump.c
+++ b/libavformat/dump.c
@@ -416,13 +416,15 @@  static void dump_dovi_conf(void *ctx, const AVPacketSideData *sd,
         (const AVDOVIDecoderConfigurationRecord *)sd->data;
 
     av_log(ctx, log_level, "version: %d.%d, profile: %d, level: %d, "
-           "rpu flag: %d, el flag: %d, bl flag: %d, compatibility id: %d",
+           "rpu flag: %d, el flag: %d, bl flag: %d, compatibility id: %d, "
+           "compression: %d",
            dovi->dv_version_major, dovi->dv_version_minor,
            dovi->dv_profile, dovi->dv_level,
            dovi->rpu_present_flag,
            dovi->el_present_flag,
            dovi->bl_present_flag,
-           dovi->dv_bl_signal_compatibility_id);
+           dovi->dv_bl_signal_compatibility_id,
+           dovi->dv_md_compression);
 }
 
 static void dump_s12m_timecode(void *ctx, const AVStream *st, const AVPacketSideData *sd,