From dcd0902bcdb1a62f4246cbfba48bd1b77841ceda Mon Sep 17 00:00:00 2001 From: reimar Date: Mon, 16 Jun 2008 18:42:58 +0000 Subject: [PATCH] Try harder to honour CTRL+C etc. during dumpstream git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27092 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mplayer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mplayer.c b/mplayer.c index 668d9c24b4..88cd58473a 100644 --- a/mplayer.c +++ b/mplayer.c @@ -3179,7 +3179,7 @@ if(stream_dump_type==5){ int chapter = dvd_chapter - 1; stream_control(mpctx->stream, STREAM_CTRL_SEEK_TO_CHAPTER, &chapter); } - while(!mpctx->stream->eof){ + while(!mpctx->stream->eof && !async_quit_request){ len=stream_read(mpctx->stream,buf,4096); if(len>0) { if(fwrite(buf,len,1,f) != 1) {