From 82ee3f8271ca2b3c1d30c83aee0e282424c2f8d4 Mon Sep 17 00:00:00 2001 From: rtognimp Date: Mon, 24 Apr 2006 11:00:20 +0000 Subject: 5 - Drop more buffered audio data left from old position when seeking. Patch by Uoti Urpala git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18244 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mplayer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mplayer.c') diff --git a/mplayer.c b/mplayer.c index d129e2ef15..97697c05e5 100644 --- a/mplayer.c +++ b/mplayer.c @@ -4834,6 +4834,8 @@ if(rel_seek_secs || abs_seek_pos){ 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){ -- cgit v1.2.3