Simple x264 Launcher development repository
修订版 | cb42e52fb114e526ae37616dfa0a7400224d4066 (tree) |
---|---|
时间 | 2019-07-22 22:46:29 |
作者 | ![]() |
Commiter | lordmulder |
Fixed detection of "portable" VapourSynth.
@@ -186,7 +186,7 @@ int VapourSynthCheckThread::threadMain(void) | ||
186 | 186 | //Look for "portable" VapourSynth version |
187 | 187 | for (size_t i = 0; i < 2U; i++) |
188 | 188 | { |
189 | - const QString vpsPortableDir = QString("%1/extra/VapourSynth-%u").arg(QCoreApplication::applicationDirPath(), VPS_BITNESS(i)); | |
189 | + const QString vpsPortableDir = QString("%1/extra/VapourSynth-%2").arg(QCoreApplication::applicationDirPath(), QString::number(VPS_BITNESS(i))); | |
190 | 190 | if (VALID_DIR(vpsPortableDir)) |
191 | 191 | { |
192 | 192 | const QFileInfo vpsPortableFile = QFileInfo(QString("%1/vspipe.exe").arg(vpsPortableDir)); |
@@ -197,7 +197,7 @@ int VapourSynthCheckThread::threadMain(void) | ||
197 | 197 | } |
198 | 198 | } |
199 | 199 | |
200 | - //Read VapourSynth path from registry | |
200 | + //Read VapourSynth path from the registry | |
201 | 201 | if (vapoursynthPath.isEmpty()) |
202 | 202 | { |
203 | 203 | for (size_t i = 0; i < 3U; i++) |