aboutsummaryrefslogtreecommitdiffhomepage
path: root/player
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2014-12-27 12:25:39 +0100
committerGravatar wm4 <wm4@nowhere>2014-12-27 12:25:39 +0100
commitbde7fa5a463f1e3fea034ed724112f647331d2c9 (patch)
treeadb02bea7f1d180261b1f5dbed87bbbcadcf4e32 /player
parent77a4a87e7eb822cefe07bfed5394a13e97faddbb (diff)
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.
Diffstat (limited to 'player')
-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