Default ffmpeg modifier/multiplier needs to be 1, not 0!!!!
This commit is contained in:
@@ -406,7 +406,7 @@ QStringList Encoder::params(int value, const QString &in, const QString &out) co
|
||||
v=s.value;
|
||||
}
|
||||
}
|
||||
p << param << QString::number(v*ffmpegValueAdjust);
|
||||
p << param << QString::number(v*ffmpegValueMultiplier);
|
||||
}
|
||||
|
||||
if (transcoder) {
|
||||
|
||||
@@ -44,7 +44,7 @@ namespace Encoders
|
||||
: defaultValueIndex(0) {
|
||||
}
|
||||
Encoder(const QString &n, const QString &d, const QString &t, const QString &e, const QString &a, const QString &c,
|
||||
const QString &f, const QString &v, const QList<Setting> &vs, const QString &l, const QString &h, int def, int adj=0)
|
||||
const QString &f, const QString &v, const QList<Setting> &vs, const QString &l, const QString &h, int def, int mult=1)
|
||||
: name(n)
|
||||
, description(d)
|
||||
, tooltip(t)
|
||||
@@ -57,7 +57,7 @@ namespace Encoders
|
||||
, low(l)
|
||||
, high(h)
|
||||
, defaultValueIndex(def)
|
||||
, ffmpegValueAdjust(adj)
|
||||
, ffmpegValueMultiplier(mult)
|
||||
, transcoder(true) {
|
||||
}
|
||||
bool isNull() { return name.isEmpty(); }
|
||||
@@ -78,7 +78,7 @@ namespace Encoders
|
||||
QString low;
|
||||
QString high;
|
||||
int defaultValueIndex;
|
||||
int ffmpegValueAdjust;
|
||||
int ffmpegValueMultiplier;
|
||||
bool transcoder;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user