• R/O
  • HTTP
  • SSH
  • HTTPS

x264-launcher: Commit

Simple x264 Launcher development repository


Commit MetaInfo

Revision9d6b4ccfeb0813869754680ec22d85aa3c60c85b (tree)
Time2019-08-08 04:50:52
Authorlordmulder <mulder2@gmx....>
Commiterlordmulder

Log Message

Don't mistakenly detect 64-Bit VapourSynth on 32-Bit-only OS.

Change Summary

Incremental Difference

--- a/src/thread_vapoursynth.cpp
+++ b/src/thread_vapoursynth.cpp
@@ -260,6 +260,11 @@ int VapourSynthCheckThread::threadMain(void)
260260
261261 VapourSynthCheckThread::VapourSynthFlags VapourSynthCheckThread::getVapourSynthType(const int scope)
262262 {
263+ if (MUtils::OS::os_architecture() != MUtils::OS::ARCH_X64)
264+ {
265+ return VAPOURSYNTH_X86;
266+ }
267+
263268 switch (scope)
264269 {
265270 case MUtils::Registry::scope_wow_x32:
--- a/src/version.h
+++ b/src/version.h
@@ -26,7 +26,7 @@
2626 #define VER_X264_MAJOR 2
2727 #define VER_X264_MINOR 9
2828 #define VER_X264_PATCH 3
29-#define VER_X264_BUILD 1180
29+#define VER_X264_BUILD 1181
3030
3131 #define VER_X264_PORTABLE_EDITION (0)
3232
Show on old repository browser