0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00

encode: disable playback framedropping

--framedrop is intended for playback only, and does nothing good with
encoding. It would just randomly drop frames.
This commit is contained in:
wm4 2014-06-17 22:44:19 +02:00
parent d107cae0e7
commit f76b3f8d19

View File

@ -398,6 +398,7 @@ int mp_initialize(struct MPContext *mpctx)
m_config_set_option0(mpctx->mconfig, "resume-playback", "no");
m_config_set_option0(mpctx->mconfig, "load-scripts", "no");
m_config_set_option0(mpctx->mconfig, "osc", "no");
m_config_set_option0(mpctx->mconfig, "framedrop", "no");
mp_input_enable_section(mpctx->input, "encode", MP_INPUT_EXCLUSIVE);
}
#endif