0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00

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
This commit is contained in:
rtognimp 2006-04-24 11:00:20 +00:00
parent 6c4d9bfe51
commit 82ee3f8271

View File

@ -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){