OSDN Git Service

Don't mistakenly detect 64-Bit VapourSynth on 32-Bit-only OS.
[x264-launcher/x264-launcher.git] / src / thread_vapoursynth.cpp
index 2afed92..d708c61 100644 (file)
@@ -260,6 +260,11 @@ int VapourSynthCheckThread::threadMain(void)
 
 VapourSynthCheckThread::VapourSynthFlags VapourSynthCheckThread::getVapourSynthType(const int scope)
 {
+       if (MUtils::OS::os_architecture() != MUtils::OS::ARCH_X64)
+       {
+               return VAPOURSYNTH_X86;
+       }
+
        switch (scope)
        {
                case MUtils::Registry::scope_wow_x32: