summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-27 12:25:39 +0100
committerwm4 <wm4@nowhere>2014-12-27 12:25:39 +0100
commitbde7fa5a463f1e3fea034ed724112f647331d2c9 (patch)
treeadb02bea7f1d180261b1f5dbed87bbbcadcf4e32
parent77a4a87e7eb822cefe07bfed5394a13e97faddbb (diff)
downloadmpv-bde7fa5a463f1e3fea034ed724112f647331d2c9.tar.bz2
mpv-bde7fa5a463f1e3fea034ed724112f647331d2c9.tar.xz
player: force stereo as default when encoding
I think the new default for this option might be rather bad in encoding mode. For starters, we don't even know what layers an encoder supports at all.
-rw-r--r--player/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/main.c b/player/main.c
index f9d860d193..700dbfa48f 100644
--- a/player/main.c
+++ b/player/main.c
@@ -422,6 +422,7 @@ int mp_initialize(struct MPContext *mpctx)
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");
+ m_config_set_option0(mpctx->mconfig, "audio-channels", "stereo");
mp_input_enable_section(mpctx->input, "encode", MP_INPUT_EXCLUSIVE);
}
#endif