Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

cv::waitKey() is actually doing much more, than waiting for keys.

in fact, since you're on win, the whole win32 message-pump is happening in there ( messages to update/draw the window, keypress/mouse events, etc. )

so, if the process-scheduler decides to chop off a few cycles from your prog, messages will get delayed, resulting in notable hickups in the video playback.