Re: [FFmpeg-devel] [PATCH] initialize avctx->pix_fmt in av1 parser.

2020-06-19 Thread James Almer
On 6/19/2020 4:01 AM, ManojGuptaBonda wrote: > Initialize avctx->pix_fmt in av1_parser.c > AV1 Chroma format is invalid when quering using below code: > iVideoStream = av_find_best_stream(fmtc, AVMEDIA_TYPE_VIDEO, -1, -1, > > NULL, 0); > eChromaFormat = (AVPixelFormat)fmtc->streams[iVideoStream]->c

[FFmpeg-devel] [PATCH] initialize avctx->pix_fmt in av1 parser.

2020-06-19 Thread ManojGuptaBonda
Initialize avctx->pix_fmt in av1_parser.c AV1 Chroma format is invalid when quering using below code: iVideoStream = av_find_best_stream(fmtc, AVMEDIA_TYPE_VIDEO, -1, -1, > NULL, 0); eChromaFormat = (AVPixelFormat)fmtc->streams[iVideoStream]->codecpar-> >format; --- libavcodec/av1_parser.c | 1 +