latency patch

see http://code.opencv.org/issues/632