reduce frame send time too slow to a warning instead of error

pull/2637/head
Isaac Connor 2019-06-05 10:12:56 -04:00
parent 5346f82de9
commit 4b8a2a94e3
1 changed files with 1 additions and 1 deletions

View File

@ -425,7 +425,7 @@ bool MonitorStream::sendFrame(Image *image, struct timeval *timestamp) {
int frameSendTime = tvDiffMsec( frameStartTime, frameEndTime );
if ( frameSendTime > 1000/maxfps ) {
maxfps /= 1.5;
Error( "Frame send time %d msec too slow, throttling maxfps to %.2f", frameSendTime, maxfps );
Warning("Frame send time %d msec too slow, throttling maxfps to %.2f", frameSendTime, maxfps);
}
}
last_frame_sent = TV_2_FLOAT( now );