From 105d22e6ff75ac5fdb44ef30fa8fade10161bdb9 Mon Sep 17 00:00:00 2001 From: reimar Date: Thu, 6 Apr 2006 12:12:08 +0000 Subject: [PATCH] sh_audio->delay is adjusted in the wrong direction when changing audio_delay at runtime (taking esp. long to recover with large -autosync). Patch by Uoti Urpala [uoti urpala at pp1 inet fi] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18048 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mplayer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mplayer.c b/mplayer.c index 365668f755..7dd45902fe 100644 --- a/mplayer.c +++ b/mplayer.c @@ -1485,7 +1485,7 @@ static int mp_property_audio_delay(m_option_t* prop,int action,void* arg) { else { float delay = audio_delay; m_property_delay(prop,action,arg,&audio_delay); - if(sh_audio) sh_audio->delay += audio_delay-delay; + if(sh_audio) sh_audio->delay -= audio_delay-delay; } return 1; default: