Commit 96a19470 authored by Thomas Guillem's avatar Thomas Guillem

aout: reset stereo-mode when a new aout is created

parent ccae20b0
......@@ -89,6 +89,9 @@ int aout_DecNew( audio_output_t *p_aout,
}
owner->request_vout = *p_request_vout;
var_Change (p_aout, "stereo-mode", VLC_VAR_SETVALUE,
&(vlc_value_t) { .i_int = AOUT_VAR_CHAN_UNSET }, NULL);
int remap[] = AOUT_CHAN_REMAP_INIT;
if (aout_OutputNew (p_aout, &owner->mixer_format, remap))
goto error;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment