Skip to content

Commit

Permalink
Merge pull request #7874 from vadosnaprimer/ffv1_fix
Browse files Browse the repository at this point in the history
FFV1 fix
  • Loading branch information
JosJuice committed Mar 15, 2019
2 parents c57e570 + 7fd9404 commit c712164
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Core/VideoCommon/AVIDump.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ bool AVIDump::CreateVideoFile()
s_codec_context->height = s_height;
s_codec_context->time_base.num = 1;
s_codec_context->time_base.den = VideoInterface::GetTargetRefreshRate();
s_codec_context->gop_size = 12;
s_codec_context->pix_fmt = g_Config.bUseFFV1 ? AV_PIX_FMT_BGRA : AV_PIX_FMT_YUV420P;
s_codec_context->gop_size = 1;
s_codec_context->pix_fmt = g_Config.bUseFFV1 ? AV_PIX_FMT_BGR0 : AV_PIX_FMT_YUV420P;

if (output_format->flags & AVFMT_GLOBALHEADER)
s_codec_context->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;
Expand Down

0 comments on commit c712164

Please sign in to comment.