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
1 changed files with 1 additions and 0 deletions

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