[FFmpeg-cvslog] avcodec/cbs_h2645: add cbs_sei_h274_types

Wu Jianhua git at videolan.org
Sat May 31 04:49:22 EEST 2025


ffmpeg | branch: master | Wu Jianhua <toqsxw at outlook.com> | Sun Apr 27 19:44:31 2025 +0800| [e618f7d5cf3372bc28669368f2caff2db66c97b6] | committer: Nuo Mi

avcodec/cbs_h2645: add cbs_sei_h274_types

Signed-off-by: Wu Jianhua <toqsxw at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e618f7d5cf3372bc28669368f2caff2db66c97b6
---

 libavcodec/cbs_h2645.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/libavcodec/cbs_h2645.c b/libavcodec/cbs_h2645.c
index 369e3ac876..b0cf6e143a 100644
--- a/libavcodec/cbs_h2645.c
+++ b/libavcodec/cbs_h2645.c
@@ -2310,6 +2310,10 @@ static const SEIMessageTypeDescriptor cbs_sei_h266_types[] = {
     SEI_MESSAGE_TYPE_END
 };
 
+static const SEIMessageTypeDescriptor cbs_sei_h274_types[] = {
+    SEI_MESSAGE_TYPE_END,
+};
+
 const SEIMessageTypeDescriptor *ff_cbs_sei_find_type(CodedBitstreamContext *ctx,
                                                      int payload_type)
 {
@@ -2335,6 +2339,13 @@ const SEIMessageTypeDescriptor *ff_cbs_sei_find_type(CodedBitstreamContext *ctx,
             return &codec_list[i];
     }
 
+    if (ctx->codec->codec_id == AV_CODEC_ID_H266) {
+        for (i = 0; cbs_sei_h274_types[i].type >= 0; i++) {
+            if (cbs_sei_h274_types[i].type == payload_type)
+                return &cbs_sei_h274_types[i];
+        }
+    }
+
     for (i = 0; cbs_sei_common_types[i].type >= 0; i++) {
         if (cbs_sei_common_types[i].type == payload_type)
             return &cbs_sei_common_types[i];



More information about the ffmpeg-cvslog mailing list