mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-24 20:20:18 +08:00
Try harder to honour CTRL+C etc. during dumpstream
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27092 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user