Mercurial > mplayer.hg
changeset 12332:6f5ae9f4eeb9
play the audio buffer in case of normal eof (i know the change is rude, but mplayer.c is hopelessly obfuscated)
author | alex |
---|---|
date | Tue, 27 Apr 2004 23:38:52 +0000 |
parents | 182f2b16fb90 |
children | 80036bf4a9f5 |
files | mplayer.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mplayer.c Tue Apr 27 23:20:00 2004 +0000 +++ b/mplayer.c Tue Apr 27 23:38:52 2004 +0000 @@ -186,6 +186,7 @@ ao_functions_t *audio_out=NULL; int fixed_vo=0; +int eof=0; // benchmark: double video_time_usage=0; @@ -436,7 +437,7 @@ if(mask&INITED_AO){ inited_flags&=~INITED_AO; current_module="uninit_ao"; - audio_out->uninit(1); audio_out=NULL; + audio_out->uninit(eof?0:1); audio_out=NULL; } #ifdef HAVE_NEW_GUI @@ -721,7 +722,6 @@ int delay_corrected=1; // movie info: -int eof=0; int osd_function=OSD_PLAY; int osd_last_pts=-303;