[FFmpeg-devel] [PATCH 1/3] vp9_parser: Return stream properties
Li, Zhong
zhong.li at intel.com
Thu Mar 28 14:35:12 EET 2019
> > + ctx->width = ctx->coded_width = vp9->frame_width;
> > + ctx->height = ctx->coded_height = vp9->frame_height;
> > +
> > + ctx->pict_type = fh->intra_only ? AV_PICTURE_TYPE_I :
> > AV_PICTURE_TYPE_P;
>
> I found it is different as previous version, so I took a look at spec and
> cbs_vp9_syntax.
>
> I believe the intra_only is only usable for non-key frame, so it should be
> something like:
> ctx->pict_type = is_key_frame ? AV_PICTURE_TYPE_I : (fh->intra_only ?
> AV_PICTURE_TYPE_I : AV_PICTURE_TYPE_P );
Any update? I am looking forward this patch can be applied with this fix.
More information about the ffmpeg-devel
mailing list