diff options
author | rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-04-24 11:00:20 +0000 |
---|---|---|
committer | rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-04-24 11:00:20 +0000 |
commit | 82ee3f8271ca2b3c1d30c83aee0e282424c2f8d4 (patch) | |
tree | a2e571497e23602e6fbe6e4c39ea6b885e9a56ca | |
parent | 6c4d9bfe5127da2a4e2afbe1d6e585ebeb7c5949 (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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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){ |