mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-29 19:20:36 +00:00
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.
This commit is contained in:
parent
005e60fa22
commit
7fd940411b
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user