[MPlayer-cvslog] CVS: main mplayer.c,1.941,1.942
Roberto Togni CVS
syncmail at mplayerhq.hu
Mon Apr 24 13:00:23 CEST 2006
CVS change done by Roberto Togni CVS
Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv20792
Modified Files:
mplayer.c
Log Message:
5 - Drop more buffered audio data left from old position when seeking.
Patch by Uoti Urpala
Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.941
retrieving revision 1.942
diff -u -r1.941 -r1.942
--- mplayer.c 24 Apr 2006 10:58:39 -0000 1.941
+++ mplayer.c 24 Apr 2006 11:00:20 -0000 1.942
@@ -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){
More information about the MPlayer-cvslog
mailing list