It would be great if you put:
SetThreadExecutionState(ES_SYSTEM_REQUIRED);
In your read loop.
Thanks!
--nick
Disable Idle Timer While Reading Disks
-
- Posts: 4075
- Joined: Wed Nov 26, 2008 2:26 am
- Contact:
Re: Disable Idle Timer While Reading Disks
It does that already, as GUI is open-source you can download the source and check for yourself
/download/makemkv-oss-1.7.10.tar.gz
/download/makemkv-oss-1.7.10.tar.gz
Re: Disable Idle Timer While Reading Disks
Hmm... I swear my computer is going to sleep during a read and when I wake it up it would continue reading.
It is possible it enters sleep mode during a retry sequence? I didn't follow the source close enough to see if it calls notifyUpdate during retires. I have my retires set really high and it can take a long time and I think the last time I remember that happening the disk was bad.
It is possible it enters sleep mode during a retry sequence? I didn't follow the source close enough to see if it calls notifyUpdate during retires. I have my retires set really high and it can take a long time and I think the last time I remember that happening the disk was bad.
-
- Posts: 4075
- Joined: Wed Nov 26, 2008 2:26 am
- Contact:
Re: Disable Idle Timer While Reading Disks
You are probably right. Bug noted.nickbits wrote:I have my retires set really high and it can take a long time and I think the last time I remember that happening the disk was bad.