--- a/QTfrontend/CMakeLists.txt Fri Nov 30 07:42:28 2012 +0100
+++ b/QTfrontend/CMakeLists.txt Fri Nov 30 10:15:17 2012 +0100
@@ -20,9 +20,6 @@
find_package(SDL_net REQUIRED) #network frontlib
if(NOT NOVIDEOREC)
find_package(FFMPEG)
- if(${FFMPEG_FOUND})
- add_definitions(-DUSE_VIDEO_RECORDING)
- endif()
endif()
include_directories(.)
--- a/QTfrontend/binds.cpp Fri Nov 30 07:42:28 2012 +0100
+++ b/QTfrontend/binds.cpp Fri Nov 30 10:15:17 2012 +0100
@@ -66,7 +66,7 @@
{"fullscr", "f12", QT_TRANSLATE_NOOP("binds", "change mode"), NULL, QT_TRANSLATE_NOOP("binds (descriptions)", "Toggle fullscreen mode:")},
{"capture", "c", QT_TRANSLATE_NOOP("binds", "capture"), NULL, QT_TRANSLATE_NOOP("binds (descriptions)", "Take a screenshot:")},
{"rotmask", "delete", QT_TRANSLATE_NOOP("binds", "hedgehogs\ninfo"), NULL, QT_TRANSLATE_NOOP("binds (descriptions)", "Toggle labels above hedgehogs:")},
-#ifdef USE_VIDEO_RECORDING
+#ifdef VIDEOREC
{"record", "r", QT_TRANSLATE_NOOP("binds", "record"), NULL, QT_TRANSLATE_NOOP("binds (descriptions)", "Record video:")}
#endif
};
--- a/QTfrontend/binds.h Fri Nov 30 07:42:28 2012 +0100
+++ b/QTfrontend/binds.h Fri Nov 30 10:15:17 2012 +0100
@@ -21,7 +21,7 @@
#include <QString>
-#ifdef USE_VIDEO_RECORDING
+#ifdef VIDEOREC
#define BINDS_NUMBER 46
#else
#define BINDS_NUMBER 45