Merge pull request #8384 from vadosnaprimer/another_avi_fix
Another AVI fix for WinAPI importers
This commit is contained in:
commit
86bf88d5af
|
@ -191,6 +191,7 @@ bool FrameDump::CreateVideoFile()
|
|||
s_codec_context->time_base.num = 1;
|
||||
s_codec_context->time_base.den = VideoInterface::GetTargetRefreshRate();
|
||||
s_codec_context->gop_size = 1;
|
||||
s_codec_context->level = 1;
|
||||
s_codec_context->pix_fmt = g_Config.bUseFFV1 ? AV_PIX_FMT_BGR0 : AV_PIX_FMT_YUV420P;
|
||||
|
||||
if (output_format->flags & AVFMT_GLOBALHEADER)
|
||||
|
|
Loading…
Reference in New Issue