mirror of https://github.com/FFmpeg/FFmpeg.git
It help initialize chroma format and other info properly Chroma format wasn't correct if I use below code: avformat_find_stream_info(fmtc, NULL); iVideoStream = av_find_best_stream(fmtc, AVMEDIA_TYPE_VIDEO, -1, -1, NULL, 0); eChromaFormat = (AVPixelFormat)fmtc->streams[iVideoStream]->codecpar->format; Signed-off-by: James Almer <jamrial@gmail.com>pull/352/head
parent
7969551a22
commit
026fea827d
1 changed files with 3 additions and 0 deletions
Loading…
Reference in new issue