diff --git a/CaroloCup-CameraPlayback.cpp b/CaroloCup-CameraPlayback.cpp index 2f606db..8b8290f 100644 --- a/CaroloCup-CameraPlayback.cpp +++ b/CaroloCup-CameraPlayback.cpp @@ -267,6 +267,10 @@ int32_t main(int32_t argc, char **argv) char c = cvWaitKey(10); // Check if the user wants to stop the replay by pressing ESC. if (static_cast(c) == 27) break; + else if (static_cast(c) == 32) { + char c = cvWaitKey(); + if (static_cast(c) == 27) break; + } ++frameNumber; }