summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/AVIDump.cpp
diff options
context:
space:
mode:
authorfeos <feos-theos@yandex.ru>2019-03-11 01:30:12 +0300
committerfeos <feos-theos@yandex.ru>2019-03-11 22:17:13 +0300
commit7fd940411b375e2d7b17b6d219927842d95a1ee2 (patch)
tree9d57d197ae87dbf88d73ec566b01c4496cee2a83 /Source/Core/VideoCommon/AVIDump.cpp
parent005e60fa22ed3df7c6e435036b0aa75a37a923f9 (diff)
decrease gop size (keyint)
this makes seeking a lot smoother (especially at high resolutions), while only adding less than 1% of filesize with this codec.
Diffstat (limited to 'Source/Core/VideoCommon/AVIDump.cpp')
-rw-r--r--Source/Core/VideoCommon/AVIDump.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/AVIDump.cpp b/Source/Core/VideoCommon/AVIDump.cpp
index 118c869b9a..5eaa31213c 100644
--- a/Source/Core/VideoCommon/AVIDump.cpp
+++ b/Source/Core/VideoCommon/AVIDump.cpp
@@ -190,7 +190,7 @@ 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->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)