This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 3474ec01e752d59b4d3d8f585218624aa50774bd
Author:     Cosmin Stejerean <[email protected]>
AuthorDate: Tue Nov 18 13:45:37 2025 -0800
Commit:     Niklas Haas <[email protected]>
CommitDate: Wed Jan 7 13:14:11 2026 +0000

    avutil/dovi_meta - fix L11 dovi metadata definition
    
    deprecate the incorrect fields in AVDOVIDmLevel11 and schedule them
    for removal
---
 libavutil/dovi_meta.h | 8 ++++++++
 libavutil/version.h   | 1 +
 2 files changed, 9 insertions(+)

diff --git a/libavutil/dovi_meta.h b/libavutil/dovi_meta.h
index 5e8a1e43d7..18aebaaca8 100644
--- a/libavutil/dovi_meta.h
+++ b/libavutil/dovi_meta.h
@@ -279,12 +279,20 @@ typedef struct AVDOVIDmLevel11 {
     uint8_t content_type;
     uint8_t whitepoint;
     uint8_t reference_mode_flag;
+#if FF_API_DOVI_L11_INVALID_PROPS
+    attribute_deprecated
     uint8_t sharpness;
+    attribute_deprecated
     uint8_t noise_reduction;
+    attribute_deprecated
     uint8_t mpeg_noise_reduction;
+    attribute_deprecated
     uint8_t frame_rate_conversion;
+    attribute_deprecated
     uint8_t brightness;
+    attribute_deprecated
     uint8_t color;
+#endif
 } AVDOVIDmLevel11;
 
 typedef struct AVDOVIDmLevel254 {
diff --git a/libavutil/version.h b/libavutil/version.h
index 264c13a1b8..9ed38790c7 100644
--- a/libavutil/version.h
+++ b/libavutil/version.h
@@ -111,6 +111,7 @@
 #define FF_API_OPT_INT_LIST             (LIBAVUTIL_VERSION_MAJOR < 61)
 #define FF_API_OPT_PTR                  (LIBAVUTIL_VERSION_MAJOR < 61)
 #define FF_API_CPU_FLAG_FORCE           (LIBAVUTIL_VERSION_MAJOR < 61)
+#define FF_API_DOVI_L11_INVALID_PROPS   (LIBAVUTIL_VERSION_MAJOR < 61)
 
 /**
  * @}

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to