On Sun, 4 Feb 2024, Cosmin Stejerean via ffmpeg-devel wrote:

From: Damiano Galassi <dam...@gmail.com>

---
doc/APIchanges        | 3 +++
fftools/ffprobe.c     | 3 +++
libavcodec/avpacket.c | 1 +
libavcodec/decode.c   | 1 +
libavcodec/packet.h   | 9 ++++++++-
libavcodec/version.h  | 2 +-
6 files changed, 17 insertions(+), 2 deletions(-)


int ff_decode_frame_props_from_pkt(const AVCodecContext *avctx,
diff --git a/libavcodec/packet.h b/libavcodec/packet.h
index 2c57d262c6..bb28e7d62a 100644
--- a/libavcodec/packet.h
+++ b/libavcodec/packet.h
@@ -331,7 +331,14 @@ enum AVPacketSideDataType {
     * If its value becomes huge, some code using it
     * needs to be updated as it assumes it to be smaller than other limits.
     */
-    AV_PKT_DATA_NB
+    AV_PKT_DATA_NB,
+
+    /**
+     * Ambient viewing environment metadata, as defined by H.274.. This 
metadata
+     * should be associated with a video stream and contains data in the form
+     * of the AVAmbientViewingEnvironment struct.
+    */
+    AV_PKT_DATA_AMBIENT_VIEWING_ENVIRONMENT
};

AV_PKT_DATA_NB has to be kept the last.

Regards,
Marton
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to