diff options
| author | Connor McLaughlin <stenzek@gmail.com> | 2019-10-06 17:23:22 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-06 17:23:22 +1000 |
| commit | 86bf88d5afec0e93ea6cd7594f34431ec0960790 (patch) | |
| tree | f76f3c63922ffd9af2402b715e3b9cd0a405229b /Source/Core/VideoCommon/FrameDump.cpp | |
| parent | 3c6c94a04a61a97990dd459138912f75c9f0eb1a (diff) | |
| parent | 5d03d5dde0b75abeab0cfe9954dc51f9e594e1f2 (diff) | |
Merge pull request #8384 from vadosnaprimer/another_avi_fix
Another AVI fix for WinAPI importers
Diffstat (limited to 'Source/Core/VideoCommon/FrameDump.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/FrameDump.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/FrameDump.cpp b/Source/Core/VideoCommon/FrameDump.cpp index 6a00ce4e12..8aca110e1b 100644 --- a/Source/Core/VideoCommon/FrameDump.cpp +++ b/Source/Core/VideoCommon/FrameDump.cpp @@ -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) |
