diff options
Diffstat (limited to 'player/command.c')
-rw-r--r-- | player/command.c | 2 |
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); |