From bde7fa5a463f1e3fea034ed724112f647331d2c9 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 27 Dec 2014 12:25:39 +0100 Subject: [PATCH] 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. --- player/main.c | 1 + 1 file changed, 1 insertion(+) 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