Skip to content

Commit

Permalink
fix NVENC Constrained VBR Quality indication
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Jan 16, 2025
1 parent aa5ff88 commit fd39ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docks/encodedock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2530,7 +2530,7 @@ void EncodeDock::on_videoQualitySpinner_valueChanged(int vq)
if (ui->videoRateControlCombo->currentIndex() == RateControlQuality)
s = QStringLiteral("cq=%1 %2").arg(vq).arg(vq == 0 ? tr("(auto)") : "");
else
s = QStringLiteral("qmin=%1").arg(TO_ABSOLUTE(51, 0, vq));
s = QStringLiteral("qmin=%1").arg(vq);
} else if (vcodec.endsWith("_amf")) {
s = QStringLiteral("qp_i=qp_p=qp_b=%1").arg(TO_ABSOLUTE(51, 0, vq));
} else if (vcodec.endsWith("_vaapi")) {
Expand Down

0 comments on commit fd39ff3

Please sign in to comment.