Skip to content
Permalink
Browse files

Merge pull request #7874 from vadosnaprimer/ffv1_fix

FFV1 fix
  • Loading branch information...
JosJuice committed Mar 15, 2019
2 parents c57e570 + 7fd9404 commit c71216419bdf1d64520c289a2e1234b981c826ea
Showing with 2 additions and 2 deletions.
  1. +2 −2 Source/Core/VideoCommon/AVIDump.cpp
@@ -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;

0 comments on commit c712164

Please sign in to comment.
You can’t perform that action at this time.