On 1/25/2021 11:15 AM, Nuo Mi wrote:
@@ -1637,6 +2047,16 @@ static const SEIMessageTypeDescriptor 
cbs_sei_h265_types[] = {
      SEI_MESSAGE_TYPE_END
  };
+static const SEIMessageTypeDescriptor cbs_sei_h266_types[] = {

You forgot to use this in ff_cbs_sei_find_type() below. Otherwise it will parse the dph sei as an unknown sei type payload.

+    {
+        SEI_TYPE_DECODED_PICTURE_HASH,
+        0, 1,
+        sizeof(H266RawSEIDecodedPictureHash),
+        SEI_MESSAGE_RW(h266, sei_decoded_picture_hash),
+    },
+    SEI_MESSAGE_TYPE_END
+};
+
  const SEIMessageTypeDescriptor *ff_cbs_sei_find_type(CodedBitstreamContext 
*ctx,
                                                       int payload_type)
  {

_______________________________________________
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