summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-06-16 18:42:58 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-06-16 18:42:58 +0000
commitdcd0902bcdb1a62f4246cbfba48bd1b77841ceda (patch)
treec0398d9aa101088677c111a0986781aceb203d33 /mplayer.c
parent437b206595181d8dc057928c1c5ed481b5738a5f (diff)
downloadmpv-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.c2
1 files changed, 1 insertions, 1 deletions
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) {