summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-01-06 18:51:02 +0100
committerwm4 <wm4@nowhere>2014-01-06 18:51:02 +0100
commit98ffa7c476dfe219d93a3c4d355f8e21691c27e0 (patch)
tree097bca8ac9a5b11f2b47ce50e24494ab33a91d30 /player
parentcd53de958da9708530b8bac3711a4c5d418fe95f (diff)
downloadmpv-98ffa7c476dfe219d93a3c4d355f8e21691c27e0.tar.bz2
mpv-98ffa7c476dfe219d93a3c4d355f8e21691c27e0.tar.xz
audio: fix previous commit
Diffstat (limited to 'player')
-rw-r--r--player/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/command.c b/player/command.c
index 6a139bff59..89887d3af7 100644
--- a/player/command.c
+++ b/player/command.c
@@ -868,7 +868,7 @@ static int mp_property_audio_delay(m_option_t *prop, int action,
return M_PROPERTY_OK;
case M_PROPERTY_SET:
mpctx->audio_delay = mpctx->opts->audio_delay = *(float *)arg;
- mpctx->delay -= mpctx->audio_delay - delay;
+ mpctx->delay += mpctx->audio_delay - delay;
return M_PROPERTY_OK;
}
return mp_property_generic_option(prop, action, arg, mpctx);