# HG changeset patch # User reimar # Date 1296160741 0 # Node ID ce0b4f3bb12db5307477a68b16d1865b8af5d155 # Parent a25f55874cddf97e172de2f620930d4af00647fa 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 diff -r a25f55874cdd -r ce0b4f3bb12d mplayer.c --- 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) {