From 141dfa99348d6052770e3ab0cf8e584e60b61280 Mon Sep 17 00:00:00 2001 From: rigaya Date: Thu, 7 Nov 2024 20:50:36 +0900 Subject: [PATCH] =?UTF-8?q?--dynamic-rc=E4=BD=BF=E7=94=A8=E6=99=82?= =?UTF-8?q?=E3=81=AEcqp=E3=81=AE=E5=80=A4=E3=81=AE=E8=AA=AD=E3=81=BF?= =?UTF-8?q?=E5=8F=96=E3=82=8A=E3=81=8C=E3=81=86=E3=81=BE=E3=81=8F=E8=A1=8C?= =?UTF-8?q?=E3=82=8F=E3=82=8C=E3=81=A6=E3=81=84=E3=81=AA=E3=81=8B=E3=81=A3?= =?UTF-8?q?=E3=81=9F=E3=81=AE=E3=82=92=E4=BF=AE=E6=AD=A3=E3=80=82=20(=20#6?= =?UTF-8?q?42=20)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NVEncCore/NVEncCmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NVEncCore/NVEncCmd.cpp b/NVEncCore/NVEncCmd.cpp index b9f66b74..31064e34 100644 --- a/NVEncCore/NVEncCmd.cpp +++ b/NVEncCore/NVEncCmd.cpp @@ -642,7 +642,7 @@ int parse_one_option(const TCHAR *option_name, const TCHAR* strInput[], int& i, continue; } if (param_arg == _T("cqp")) { - int ret = rcPrm.qp.parse(strInput[i]); + int ret = rcPrm.qp.parse(param_val.c_str()); if (ret != 0) { print_cmd_error_invalid_value(tstring(option_name) + _T(" ") + param_arg + _T("="), param_val); return 1;