OSDN Git Service

Added support for latest Vapoursynth versions that require use of "-c" option instead...
authorlordmulder <mulder2@gmx.de>
Sun, 16 Jun 2024 13:10:40 +0000 (15:10 +0200)
committerlordmulder <mulder2@gmx.de>
Sun, 16 Jun 2024 13:10:40 +0000 (15:10 +0200)
src/source_vapoursynth.cpp
src/version.h
src/win_main.cpp

index ef31d2f..547bfe7 100644 (file)
@@ -30,7 +30,7 @@
 #include <QPair>
 
 static const unsigned int VER_X264_VSPIPE_API =  3;
-static const unsigned int VER_X264_VSPIPE_VER = 46;
+static const unsigned int VER_X264_VSPIPE_VER = 57;
 
 // ------------------------------------------------------------
 // Encoder Info
@@ -230,7 +230,7 @@ void VapoursynthSource::checkSourceProperties_parseLine(const QString &line, con
 
 void VapoursynthSource::buildCommandLine(QStringList &cmdLine)
 {
-       cmdLine << "--y4m";
+       cmdLine << "-c" << "y4m";
        cmdLine << QDir::toNativeSeparators(x264_path2ansi(m_sourceFile, true));
        cmdLine << "-";
 }
index cc967e5..052beaf 100644 (file)
@@ -25,9 +25,9 @@
 
 #define VER_X264_MAJOR 3
 #define VER_X264_MINOR 0
-#define VER_X264_PATCH 3
-#define VER_X264_BUILD 1220
+#define VER_X264_PATCH 4
+#define VER_X264_BUILD 1221
 
 #define VER_X264_PORTABLE_EDITION (0)
 
-#define VER_X264_PRE_RELEASE (0)
+#define VER_X264_PRE_RELEASE (1)
index f3eb5a8..020f4a1 100644 (file)
@@ -81,7 +81,7 @@ static const char *update_url = "https://github.com/lordmulder/Simple-x264-Launc
 static const char *avs_dl_url = "http://sourceforge.net/projects/avisynth2/files/AviSynth%202.5/";
 static const char *python_url = "https://www.python.org/downloads/";
 static const char *vsynth_url = "http://www.vapoursynth.com/";
-static const int   vsynth_rev = 24;
+static const int   vsynth_rev = 57;
 
 //Macros
 #define SET_FONT_BOLD(WIDGET,BOLD) do { QFont _font = WIDGET->font(); _font.setBold(BOLD); WIDGET->setFont(_font); } while(0)