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

Nuo Mi nuomi2021 at gmail.com
Tue Jan 26 16:32:10 EET 2021


On Tue, Jan 26, 2021 at 10:06 PM James Almer <jamrial at gmail.com> wrote:

> 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.
>
Good catch.  fixed in local and tested.
Thanks

>
> > +    {
> > +        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 at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list