# HG changeset patch # User rtognimp # Date 1145876420 0 # Node ID 8cb434bc37e4bd62e91a25f815a4a5730f86229a # Parent caac2ca98168f2168c458ebff6e85b481b2350d5 5 - Drop more buffered audio data left from old position when seeking. Patch by Uoti Urpala diff -r caac2ca98168 -r 8cb434bc37e4 mplayer.c --- a/mplayer.c Mon Apr 24 10:58:40 2006 +0000 +++ b/mplayer.c Mon Apr 24 11:00:20 2006 +0000 @@ -4834,6 +4834,8 @@ if(sh_audio){ current_module="seek_audio_reset"; audio_out->reset(); // stop audio, throwing away buffered data + sh_audio->a_buffer_len = 0; + sh_audio->a_out_buffer_len = 0; } // Set OSD: if(!loop_seek){