OSDN Git Service

Fixed regression: Do not show a "critical" error message, if VapourSynth could not...
authorlordmulder <mulder2@gmx.de>
Mon, 22 Jul 2019 17:25:29 +0000 (19:25 +0200)
committerlordmulder <mulder2@gmx.de>
Mon, 22 Jul 2019 17:40:54 +0000 (19:40 +0200)
src/thread_vapoursynth.cpp
src/version.h

index 3298cdf..6e7b5ac 100644 (file)
@@ -122,19 +122,20 @@ bool VapourSynthCheckThread::detect(SysinfoModel* sysinfo)
                return false;
        }
 
-       if (!thread.getSuccess())
+       const int success = thread.getSuccess();
+       if (!success)
        {
                qWarning("VapourSynth could not be found -> VapourSynth support disabled!");
-               return false;
+               return true;
        }
 
-       if (thread.getSuccess() & VAPOURSYNTH_X86)
+       if (success & VAPOURSYNTH_X86)
        {
                sysinfo->setVapourSynth(SysinfoModel::VapourSynth_X86, true);
                sysinfo->setVPS32Path(thread.getPath32());
        }
 
-       if (thread.getSuccess() & VAPOURSYNTH_X64)
+       if (success & VAPOURSYNTH_X64)
        {
                sysinfo->setVapourSynth(SysinfoModel::VapourSynth_X64, true);
                sysinfo->setVPS64Path(thread.getPath64());
index 6cfa6cd..6d4a38f 100644 (file)
@@ -26,7 +26,7 @@
 #define VER_X264_MAJOR 2
 #define VER_X264_MINOR 9
 #define VER_X264_PATCH 2
-#define VER_X264_BUILD 1174
+#define VER_X264_BUILD 1176
 
 #define VER_X264_PORTABLE_EDITION (0)