Capture can reasonably return -1 for EOF.

This commit is contained in:
Isaac Connor
2018-09-05 11:16:17 -04:00
parent c9b4f14171
commit fe1e17d097
2 changed files with 7 additions and 4 deletions

View File

@@ -2383,7 +2383,7 @@ int Monitor::Capture() {
}
if ( captureResult < 0 ) {
Warning("Return from Capture (%d), signal loss", captureResult);
Info("Return from Capture (%d), signal loss", captureResult);
// Unable to capture image for temporary reason
// Fake a signal loss image
Rgb signalcolor;