ignore slow dumpfile read warnings

master
Steffen Pohle 1 year ago
parent 6374acc547
commit 2fb85a0f5d

@ -242,9 +242,9 @@ int VideoDev_Dumpfile::Grab(VideoFrameRaw *vf) {
usleep ((inframe_nexttime-diff)*1000);
} while (diff < inframe_nexttime);
if (diff - inframe_nexttime > 1000)
printf ("%s:%d time difference to big. (%dms) Maybe to slow hard drive?\n",
__FILE__, __LINE__, (diff - inframe_nexttime));
// if (diff - inframe_nexttime > 1000)
// printf ("%s:%d time difference to big. (%dms) Maybe to slow hard drive?\n",
// __FILE__, __LINE__, (diff - inframe_nexttime));
LockMutex();
vf->CopyFrom(pixformat, w, h, inframe_size, inframe);

Loading…
Cancel
Save