[Mplayer-cvslog] CVS: main mplayer.c,1.752,1.753
Alex Beregszaszi
syncmail at mplayerhq.hu
Wed Apr 28 01:38:55 CEST 2004
CVS change done by Alex Beregszaszi
Update of /cvsroot/mplayer/main
In directory mail:/home/alex/main
Modified Files:
mplayer.c
Log Message:
play the audio buffer in case of normal eof (i know the change is rude, but mplayer.c is hopelessly obfuscated)
Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.752
retrieving revision 1.753
diff -u -r1.752 -r1.753
--- mplayer.c 26 Apr 2004 21:15:13 -0000 1.752
+++ mplayer.c 27 Apr 2004 23:38:52 -0000 1.753
@@ -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;
More information about the MPlayer-cvslog
mailing list