diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-06-16 18:42:58 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-06-16 18:42:58 +0000 |
commit | dcd0902bcdb1a62f4246cbfba48bd1b77841ceda (patch) | |
tree | c0398d9aa101088677c111a0986781aceb203d33 /mplayer.c | |
parent | 437b206595181d8dc057928c1c5ed481b5738a5f (diff) | |
download | mpv-dcd0902bcdb1a62f4246cbfba48bd1b77841ceda.tar.bz2 mpv-dcd0902bcdb1a62f4246cbfba48bd1b77841ceda.tar.xz |
Try harder to honour CTRL+C etc. during dumpstream
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27092 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |