aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-04-24 11:00:20 +0000
committerGravatar rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-04-24 11:00:20 +0000
commit82ee3f8271ca2b3c1d30c83aee0e282424c2f8d4 (patch)
treea2e571497e23602e6fbe6e4c39ea6b885e9a56ca
parent6c4d9bfe5127da2a4e2afbe1d6e585ebeb7c5949 (diff)
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
-rw-r--r--mplayer.c2
1 files changed, 2 insertions, 0 deletions
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){