From 98ffa7c476dfe219d93a3c4d355f8e21691c27e0 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 6 Jan 2014 18:51:02 +0100 Subject: audio: fix previous commit --- player/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player') 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); -- cgit v1.2.3