mirror of https://github.com/mpv-player/mpv
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:
parent
d107cae0e7
commit
f76b3f8d19
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue