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

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new e0947fcb65 avcodec/hevcdec: Support SMPTE-2094-50 metadata
e0947fcb65 is described below

commit e0947fcb655c8663a7fc3351254f6378b9a8305f
Author:     Vignesh Venkat <[email protected]>
AuthorDate: Mon May 11 14:02:36 2026 -0700
Commit:     James Almer <[email protected]>
CommitDate: Thu Jul 16 19:35:21 2026 +0000

    avcodec/hevcdec: Support SMPTE-2094-50 metadata
    
    Handle SMPTE-2094-50 metadata that appears as a SEI message.
    
    Signed-off-by: Vignesh Venkat <[email protected]>
---
 libavcodec/hevc/hevcdec.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/libavcodec/hevc/hevcdec.c b/libavcodec/hevc/hevcdec.c
index 9aa3319565..475c2738b1 100644
--- a/libavcodec/hevc/hevcdec.c
+++ b/libavcodec/hevc/hevcdec.c
@@ -3147,6 +3147,16 @@ static int set_side_data(HEVCContext *s)
             return ret;
     }
 
+    if (s->sei.common.itut_t35.hdr_smpte2094_app5) {
+        AVBufferRef *info_ref = 
av_buffer_ref(s->sei.common.itut_t35.hdr_smpte2094_app5);
+        if (!info_ref)
+            return AVERROR(ENOMEM);
+
+        ret = ff_frame_new_side_data_from_buf(s->avctx, out, 
AV_FRAME_DATA_DYNAMIC_HDR_SMPTE_2094_APP5, &info_ref);
+        if (ret < 0)
+            return ret;
+    }
+
     if (s->rpu_buf) {
         AVFrameSideData *rpu = av_frame_new_side_data_from_buf(out, 
AV_FRAME_DATA_DOVI_RPU_BUFFER, s->rpu_buf);
         if (!rpu)

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

Reply via email to