changeset 32737:ce0b4f3bb12d

Continue playing even if we reached video EOF if there is still audio data to play. Fixes playback of http://samples.mplayerhq.hu/mov/audio_with_still.m4a
author reimar
date Thu, 27 Jan 2011 20:39:01 +0000
parents a25f55874cdd
children abcf963fbd2c
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Thu Jan 27 20:37:51 2011 +0000
+++ b/mplayer.c	Thu Jan 27 20:39:01 2011 +0000
@@ -3660,7 +3660,7 @@
 }
 #endif
 
-while(!mpctx->eof){
+while(!mpctx->eof || (mpctx->sh_audio && !mpctx->d_audio->eof)){
     float aq_sleep_time=0;
 
 if(dvd_last_chapter>0) {