OpenNI / OpenNI2

OpenNI2
Apache License 2.0
435 stars 891 forks source link

readFrame(VideoFrameRef* pFrame). Does this keep a backlog of frames or do I get the most recent frame #96

Open collinalexbell opened 8 years ago

collinalexbell commented 8 years ago

I am going to be locking a mutex in my frame listener which could allow for the frame listener to run slower than the sensors frame rate. I want to be sure that this function retrieves the most recent frame thus causing skipped frames and NOT a backlog of frames which causes my frame stream to have an increasing lag behind what the device actually senses