[MPlayer-cvslog] r27092 - trunk/mplayer.c

reimar subversion at mplayerhq.hu
Mon Jun 16 20:42:58 CEST 2008


Author: reimar
Date: Mon Jun 16 20:42:58 2008
New Revision: 27092

Log:
Try harder to honour STRG+C etc. during dumpstream


Modified:
   trunk/mplayer.c

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	(original)
+++ trunk/mplayer.c	Mon Jun 16 20:42:58 2008
@@ -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) {



More information about the MPlayer-cvslog mailing list