From 2fb85a0f5d6f93e8778fc23c870be8bffe743ffe Mon Sep 17 00:00:00 2001 From: Steffen Pohle Date: Sun, 14 Apr 2024 12:05:24 +0200 Subject: [PATCH] ignore slow dumpfile read warnings --- videodev-dumpfile.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/videodev-dumpfile.cc b/videodev-dumpfile.cc index 9676899..8243037 100644 --- a/videodev-dumpfile.cc +++ b/videodev-dumpfile.cc @@ -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);