• R/O
  • HTTP
  • SSH
  • HTTPS

x264-launcher: 提交

Simple x264 Launcher development repository


Commit MetaInfo

修订版bb459092e679a79d65cf31017dbdf6201efdaffa (tree)
时间2019-10-06 05:34:50
作者lordmulder <mulder2@gmx....>
Commiterlordmulder

Log Message

Added more supported input formats for NVEncC encoder.

更改概述

差异

--- a/src/encoder_nvencc.cpp
+++ b/src/encoder_nvencc.cpp
@@ -66,7 +66,7 @@ static const unsigned int VERSION_NVENCC_MINIMUM_VER = 449;
6666 } \
6767 while(0)
6868
69-#define NVENCC_UPDATE_PROGRESS_NOPROG(X) do \
69+#define NVENCC_UPDATE_PROGRESS_OLD(X) do \
7070 { \
7171 bool ok = false; \
7272 unsigned int progressFrames = (X)->cap(1).toUInt(&ok); \
@@ -170,7 +170,9 @@ public:
170170 {
171171 switch(format)
172172 {
173+ case MediaInfo::FILETYPE_AVISYNTH:
173174 case MediaInfo::FILETYPE_YUV4MPEG2:
175+ case MediaInfo::FILETYPE_UNKNOWN:
174176 return true;
175177 default:
176178 return false;
@@ -412,7 +414,7 @@ void NVEncEncoder::runEncodingPass_parseLine(const QString &line, const QList<QR
412414 }
413415 else if ((offset = patterns[1]->lastIndexIn(line)) >= 0)
414416 {
415- NVENCC_UPDATE_PROGRESS_NOPROG(patterns[1]);
417+ NVENCC_UPDATE_PROGRESS_OLD(patterns[1]);
416418 }
417419 else if ((offset = patterns[2]->lastIndexIn(line)) >= 0)
418420 {
--- a/src/version.h
+++ b/src/version.h
@@ -26,7 +26,7 @@
2626 #define VER_X264_MAJOR 2
2727 #define VER_X264_MINOR 9
2828 #define VER_X264_PATCH 4
29-#define VER_X264_BUILD 1192
29+#define VER_X264_BUILD 1194
3030
3131 #define VER_X264_PORTABLE_EDITION (0)
3232
Show on old repository browser