[MPlayer-cvslog] CVS: main mplayer.c,1.901,1.902
Jindrich Makovicka CVS
syncmail at mplayerhq.hu
Sun Jan 8 11:18:21 CET 2006
CVS change done by Jindrich Makovicka CVS
Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv23593
Modified Files:
mplayer.c
Log Message:
fix premature end of audio playback (audio only)
Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.901
retrieving revision 1.902
diff -u -r1.901 -r1.902
--- mplayer.c 4 Jan 2006 15:27:59 -0000 1.901
+++ mplayer.c 8 Jan 2006 10:18:18 -0000 1.902
@@ -2633,7 +2633,7 @@
float a_pos = sh_audio->delay - audio_out->get_delay() * playback_speed;
print_status(a_pos, 0, 0);
}
- if(d_audio->eof && sh_audio->a_in_buffer_len <= 0) eof = PT_NEXT_ENTRY;
+ if(d_audio->eof && sh_audio->a_in_buffer_len <= 0 && sh_audio->a_buffer_len <= 0) eof = PT_NEXT_ENTRY;
} else {
More information about the MPlayer-cvslog
mailing list