opencv_trail_effect.cpp: use cv::waitKeyEx() instead of cv::waitKey()
authorAntonio Ospite <ao2@ao2.it>
Thu, 22 Feb 2018 11:56:50 +0000 (12:56 +0100)
committerAntonio Ospite <ao2@ao2.it>
Thu, 22 Feb 2018 14:41:51 +0000 (15:41 +0100)
commit1fb92e6c58573d8188e8fe2cd49257409d15f527
treede1b318dd1049c77c692bc04ee1226dc615abc2b
parent79d57b3dedad2f0ae675bacc63470a5af1a176e6
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
opencv_trail_effect.cpp