Skip to content

Commit

Permalink
--dynamic-rc使用時のcqpの値の読み取りがうまく行われていなかったのを修正。 ( #642 )
Browse files Browse the repository at this point in the history
  • Loading branch information
rigaya committed Nov 7, 2024
1 parent 3d5396f commit 141dfa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NVEncCore/NVEncCmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 141dfa9

Please sign in to comment.