# HG changeset patch # User reimar # Date 1213641778 0 # Node ID 351c7a56708e95fe8eb15c3e233bb23de61e2dc8 # Parent 3771c9d8daf6ed234757b4ef491cde6337625c4f Try harder to honour CTRL+C etc. during dumpstream diff -r 3771c9d8daf6 -r 351c7a56708e mplayer.c --- a/mplayer.c Mon Jun 16 17:33:55 2008 +0000 +++ b/mplayer.c Mon Jun 16 18:42:58 2008 +0000 @@ -3179,7 +3179,7 @@ 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) {