diff --git a/mplayer.c b/mplayer.c index 69c3e15fef..d79a74db44 100644 --- a/mplayer.c +++ b/mplayer.c @@ -2443,6 +2443,9 @@ static void pause_loop(void) } mpctx->osd_function=OSD_PLAY; if (mpctx->audio_out && mpctx->sh_audio) + if (mpctx->eof) // do not play remaining audio if we e.g. switch to the next file + mpctx->audio_out->reset(); + else mpctx->audio_out->resume(); // resume audio if (mpctx->video_out && mpctx->sh_video && vo_config_count) mpctx->video_out->control(VOCTRL_RESUME, NULL); // resume video