summaryrefslogtreecommitdiffstats
path: root/command.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2012-04-09 21:06:10 +0300
committerUoti Urpala <uau@mplayer2.org>2012-04-11 03:50:33 +0300
commite29cb8f323031b32369bc2104ea1fd4422dd2945 (patch)
tree5fc5905fa066fb5abfab0d712589da711ffd0490 /command.c
parent87dad2a4704b2fb0f983d5cb665a065437288d35 (diff)
downloadmpv-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.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/command.c b/command.c
index 3c1805b412..e4ce53f87a 100644
--- a/command.c
+++ b/command.c
@@ -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)