diff options
author | Uoti Urpala <uau@mplayer2.org> | 2012-04-09 21:06:10 +0300 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2012-04-11 03:50:33 +0300 |
commit | e29cb8f323031b32369bc2104ea1fd4422dd2945 (patch) | |
tree | 5fc5905fa066fb5abfab0d712589da711ffd0490 /command.c | |
parent | 87dad2a4704b2fb0f983d5cb665a065437288d35 (diff) | |
download | mpv-e29cb8f323031b32369bc2104ea1fd4422dd2945.tar.bz2 mpv-e29cb8f323031b32369bc2104ea1fd4422dd2945.tar.xz |
audio: restore balance setting after reinit
Restore the audio balance setting when the audio chain is
reinitialized (also after switching to another file).
Also add a note about the balance code being seriously buggy.
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -871,9 +871,6 @@ static int mp_property_balance(m_option_t *prop, int action, void *arg, { float bal; - if (!mpctx->sh_audio || mpctx->sh_audio->channels < 2) - return M_PROPERTY_UNAVAILABLE; - switch (action) { case M_PROPERTY_GET: if (!arg) |