Minimum required OS is Windows XP, not Windows 2000.

This commit is contained in:
LoRd_MuldeR 2012-02-11 03:11:29 +01:00
parent 8a1666485c
commit 1d5af73ac7
2 changed files with 4 additions and 5 deletions

View File

@ -741,12 +741,11 @@ bool x264_init_qt(int argc, char* argv[])
{ {
case 0: case 0:
case QSysInfo::WV_NT: case QSysInfo::WV_NT:
qFatal("%s", QApplication::tr("Executable '%1' requires Windows 2000 or later.").arg(QString::fromLatin1(executableName)).toLatin1().constData());
break;
case QSysInfo::WV_2000: case QSysInfo::WV_2000:
qDebug("Running on Windows 2000 (not officially supported!).\n"); qFatal("%s", QApplication::tr("Executable '%1' requires Windows XP or later.").arg(QString::fromLatin1(executableName)).toLatin1().constData());
x264_check_compatibility_mode("GetNativeSystemInfo", executableName);
break; break;
//qDebug("Running on Windows 2000 (not officially supported!).\n");
//x264_check_compatibility_mode("GetNativeSystemInfo", executableName);
case QSysInfo::WV_XP: case QSysInfo::WV_XP:
qDebug("Running on Windows XP.\n"); qDebug("Running on Windows XP.\n");
x264_check_compatibility_mode("GetLargePageMinimum", executableName); x264_check_compatibility_mode("GetLargePageMinimum", executableName);

View File

@ -22,7 +22,7 @@
#define VER_X264_MAJOR 2 #define VER_X264_MAJOR 2
#define VER_X264_MINOR 0 #define VER_X264_MINOR 0
#define VER_X264_PATCH 1 #define VER_X264_PATCH 1
#define VER_X264_BUILD 117 #define VER_X264_BUILD 119
#define VER_X264_MINIMUM_REV 2146 #define VER_X264_MINIMUM_REV 2146
#define VER_X264_CURRENT_API 120 #define VER_X264_CURRENT_API 120