# HG changeset patch # User reimar # Date 1144325528 0 # Node ID a597ca1c0adc18c7ba738530742ceda1a8f87f24 # Parent a0ab6fed1d14c26661815d3efcdd18edfa0fecb3 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] diff -r a0ab6fed1d14 -r a597ca1c0adc mplayer.c --- a/mplayer.c Thu Apr 06 10:08:54 2006 +0000 +++ b/mplayer.c Thu Apr 06 12:12:08 2006 +0000 @@ -1485,7 +1485,7 @@ 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: