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
This commit is contained in:
reimar 2006-04-06 12:12:08 +00:00
parent b2e9d4082d
commit 105d22e6ff
1 changed files with 1 additions and 1 deletions

View File

@ -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: