@eco_bach1 wrote:
Any help appreciated as I am debugging a project that needs to be deployed asap.
I am debugging webcam video freezes so I want to check the isFrameNew() method of videograbber, and log an error when the webcam freezes.
The problem is isFrameNew equals false quite often even with a properly running video signal. So I believe I need a small delayHere is my code. How would I add a simple timer or delay so I am not logging false errors?
if (_video.isFrameNew()){ //do nothing! }else{ //log error ofLogError () << "ofApp update NO NEW VIDEO FRAME!"; }
Posts: 4
Participants: 2