[FFmpeg-devel] [PATCH v4 4/9] avcodec: add cbs for h266/vvc

James Almer jamrial at gmail.com
Tue Jan 26 16:05:52 EET 2021


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)
>   {



More information about the ffmpeg-devel mailing list