OSDN Git Service

Added support for Windows 10 tech preview.
authorlordmulder <mulder2@gmx.de>
Sun, 2 Nov 2014 19:31:29 +0000 (20:31 +0100)
committerlordmulder <mulder2@gmx.de>
Sun, 2 Nov 2014 19:31:29 +0000 (20:31 +0100)
etc/manifest/compat.manifest
src/global.cpp
src/version.h
src/win_main.cpp

index f95c027..fce5b0f 100644 (file)
@@ -10,6 +10,8 @@
                        <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
                        <!-- Windows 8.1 -->
                        <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
+                       <!-- Windows 10 -->
+                       <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
                </application> 
        </compatibility>
 </assembly>
index 1e199d5..b8b9e1f 100644 (file)
@@ -184,6 +184,7 @@ const x264_os_version_t x264_winver_vista = {6,0};
 const x264_os_version_t x264_winver_win70 = {6,1};
 const x264_os_version_t x264_winver_win80 = {6,2};
 const x264_os_version_t x264_winver_win81 = {6,3};
+const x264_os_version_t x264_winver_wn100 = {6,4};
 
 //GURU MEDITATION
 static const char *GURU_MEDITATION = "\n\nGURU MEDITATION !!!\n\n";
@@ -1464,6 +1465,10 @@ bool x264_init_qt(int &argc, char **argv)
        {
                qDebug("Running on Windows 8.1 or Windows Server 2012 R2.\n");                                                          //x264_check_compatibility_mode(NULL, executableName);
        }
+       else if(osVersionNo == x264_winver_wn100)
+       {
+               qDebug("Running on Windows 10 or Windows Server 2014.\n");                                                                      //x264_check_compatibility_mode(NULL, executableName);
+       }
        else
        {
                const QString message = QString().sprintf("Running on an unknown WindowsNT-based system (v%u.%u).", osVersionNo.versionMajor, osVersionNo.versionMinor);
index 6a2786f..45c60fb 100644 (file)
@@ -26,7 +26,7 @@
 #define VER_X264_MAJOR 2
 #define VER_X264_MINOR 4
 #define VER_X264_PATCH 4
-#define VER_X264_BUILD 890
+#define VER_X264_BUILD 891
 
 #define VER_X264_PORTABLE_EDITION (0)
 
index e4292fd..3fc1c32 100644 (file)
@@ -204,7 +204,7 @@ MainWindow::MainWindow(const x264_cpu_t *const cpuFeatures, IPC *ipc)
        SETUP_WEBLINK(ui->actionWebVideoLAN,        "http://download.videolan.org/pub/x264/binaries/");
        SETUP_WEBLINK(ui->actionWebJEEB,            "http://x264.fushizen.eu/");
        SETUP_WEBLINK(ui->actionWebFreeCodecs,      "http://www.free-codecs.com/x264_video_codec_download.htm");
-       SETUP_WEBLINK(ui->actionWebX265BinRU,       "http://goo.gl/xRS6AW");
+       SETUP_WEBLINK(ui->actionWebX265BinRU,       "http://x265.ru/en/builds/");
        SETUP_WEBLINK(ui->actionWebX265BinEU,       "http://builds.x265.eu/");
        SETUP_WEBLINK(ui->actionWebX265BinORG,      "http://chromashift.org/x265_builds/");
        SETUP_WEBLINK(ui->actionWebX265BinFF,       "http://ffmpeg.zeranoe.com/builds/");