diff options
author | wm4 <wm4@nowhere> | 2014-06-17 22:44:19 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-06-17 22:44:19 +0200 |
commit | f76b3f8d19efa9377b6c4c807138487dabc84312 (patch) | |
tree | 9e3f129da10b49456fdbbe35feef80874c80e8b2 /player | |
parent | d107cae0e7d625e7bbe0a4e73750f5e3f79ea64e (diff) | |
download | mpv-f76b3f8d19efa9377b6c4c807138487dabc84312.tar.bz2 mpv-f76b3f8d19efa9377b6c4c807138487dabc84312.tar.xz |
encode: disable playback framedropping
--framedrop is intended for playback only, and does nothing good with
encoding. It would just randomly drop frames.
Diffstat (limited to 'player')
-rw-r--r-- | player/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/player/main.c b/player/main.c index ee78fccbaf..e2b15f6dbc 100644 --- a/player/main.c +++ b/player/main.c @@ -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 |