Added support for latest Vapoursynth versions that require use of "-c" option instead of "--y4m". Minimal required Vapoursynth version is r57 now.
This commit is contained in:
parent
5c51d84490
commit
431f68b115
@ -30,7 +30,7 @@
|
|||||||
#include <QPair>
|
#include <QPair>
|
||||||
|
|
||||||
static const unsigned int VER_X264_VSPIPE_API = 3;
|
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
|
// Encoder Info
|
||||||
@ -230,7 +230,7 @@ void VapoursynthSource::checkSourceProperties_parseLine(const QString &line, con
|
|||||||
|
|
||||||
void VapoursynthSource::buildCommandLine(QStringList &cmdLine)
|
void VapoursynthSource::buildCommandLine(QStringList &cmdLine)
|
||||||
{
|
{
|
||||||
cmdLine << "--y4m";
|
cmdLine << "-c" << "y4m";
|
||||||
cmdLine << QDir::toNativeSeparators(x264_path2ansi(m_sourceFile, true));
|
cmdLine << QDir::toNativeSeparators(x264_path2ansi(m_sourceFile, true));
|
||||||
cmdLine << "-";
|
cmdLine << "-";
|
||||||
}
|
}
|
||||||
|
@ -25,9 +25,9 @@
|
|||||||
|
|
||||||
#define VER_X264_MAJOR 3
|
#define VER_X264_MAJOR 3
|
||||||
#define VER_X264_MINOR 0
|
#define VER_X264_MINOR 0
|
||||||
#define VER_X264_PATCH 3
|
#define VER_X264_PATCH 4
|
||||||
#define VER_X264_BUILD 1220
|
#define VER_X264_BUILD 1221
|
||||||
|
|
||||||
#define VER_X264_PORTABLE_EDITION (0)
|
#define VER_X264_PORTABLE_EDITION (0)
|
||||||
|
|
||||||
#define VER_X264_PRE_RELEASE (0)
|
#define VER_X264_PRE_RELEASE (1)
|
||||||
|
@ -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 *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 *python_url = "https://www.python.org/downloads/";
|
||||||
static const char *vsynth_url = "http://www.vapoursynth.com/";
|
static const char *vsynth_url = "http://www.vapoursynth.com/";
|
||||||
static const int vsynth_rev = 24;
|
static const int vsynth_rev = 57;
|
||||||
|
|
||||||
//Macros
|
//Macros
|
||||||
#define SET_FONT_BOLD(WIDGET,BOLD) do { QFont _font = WIDGET->font(); _font.setBold(BOLD); WIDGET->setFont(_font); } while(0)
|
#define SET_FONT_BOLD(WIDGET,BOLD) do { QFont _font = WIDGET->font(); _font.setBold(BOLD); WIDGET->setFont(_font); } while(0)
|
||||||
|
Loading…
Reference in New Issue
Block a user