From: Antonio Ospite Date: Thu, 22 Feb 2018 11:56:50 +0000 (+0100) Subject: opencv_trail_effect.cpp: use cv::waitKeyEx() instead of cv::waitKey() X-Git-Url: https://git.ao2.it/experiments/opencv_trail_effect.git/commitdiff_plain/1fb92e6c58573d8188e8fe2cd49257409d15f527?ds=sidebyside;hp=1fb92e6c58573d8188e8fe2cd49257409d15f527 opencv_trail_effect.cpp: use cv::waitKeyEx() instead of cv::waitKey() In some OpenCV 3 version there was a change of behavior of cv::waitKey() in case the delay expired with no key presses, use cv::waitKeyEx() to rely on the old behavior. For details see https://github.com/opencv/opencv/pull/7866#issuecomment-269322846 ---