ffmpeg | branch: master | James Almer <jamr...@gmail.com> | Wed Sep 9 15:22:27 2020 -0300| [bab3c32351e42f9f7f64947102f871903b2e635c] | committer: James Almer
avcodec/av1_parser: don't set AVCodecContext pixel format This is a property a decoder must set, not a parser. Signed-off-by: James Almer <jamr...@gmail.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bab3c32351e42f9f7f64947102f871903b2e635c --- libavcodec/av1_parser.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/av1_parser.c b/libavcodec/av1_parser.c index ab23195e85..0b8af8aecf 100644 --- a/libavcodec/av1_parser.c +++ b/libavcodec/av1_parser.c @@ -155,8 +155,6 @@ static int av1_parser_parse(AVCodecParserContext *ctx, color->transfer_characteristics == AVCOL_TRC_IEC61966_2_1) ctx->format = pix_fmts_rgb[color->high_bitdepth + color->twelve_bit]; - avctx->pix_fmt = ctx->format; - avctx->profile = seq->seq_profile; avctx->level = seq->seq_level_idx[0]; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".