[MPlayer-dev-eng] Re: [PATCH] Fix cut off last few seconds of a file

Attila Kinali attila at kinali.ch
Sat Aug 28 07:37:20 CEST 2004


On Mon, Aug 23, 2004 at 05:27:47PM -0500, Joey Parrish wrote:
 
> > >--- MPLAYER.C~	2004-08-01 22:24:36.000000000 +0100
> > >+++ mplayer.c	2004-08-02 04:36:24.000000000 +0100
> > >@@ -2044,7 +2044,7 @@
> > >		    ,cache_fill_status
> > >		    );
> > >  }
> > >-  if(d_audio->eof) eof = PT_NEXT_ENTRY;
> > >+  if(d_audio->eof && !audio_out->get_delay()) eof = PT_NEXT_ENTRY;
> > >
> > >} else {
> 
> This part has not.
> Is this okay to apply?

If i'm not mistaken this lets mplayer just spin until the audio buffer
is empty. Then it should be ok to apply.

Could someone please check whether the same is done when playing video
files. Ie that also the last frame is shown and audio is played until
the end.

			Attila Kinali




More information about the MPlayer-dev-eng mailing list