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

This commit is contained in:
LoRd_MuldeR 2019-08-07 21:50:52 +02:00
parent 00b713ca08
commit 9d6b4ccfeb
2 changed files with 6 additions and 1 deletions

View 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:

View File

@ -26,7 +26,7 @@
#define VER_X264_MAJOR 2
#define VER_X264_MINOR 9
#define VER_X264_PATCH 3
#define VER_X264_BUILD 1180
#define VER_X264_BUILD 1181
#define VER_X264_PORTABLE_EDITION (0)