Skip to content

Commit

Permalink
qpをひとつのみ指定した場合に設定される値がおかしかったのを修正。
Browse files Browse the repository at this point in the history
  • Loading branch information
rigaya committed Feb 29, 2020
1 parent 9db0970 commit cbb3634
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions VCECore/rgy_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
#ifndef __RGY_VERSION_H__
#define __RGY_VERSION_H__

#define VER_FILEVERSION 0,5,2,0
#define VER_STR_FILEVERSION "5.02"
#define VER_STR_FILEVERSION_TCHAR _T("5.02")
#define VER_FILEVERSION 0,5,3,0
#define VER_STR_FILEVERSION "5.03"
#define VER_STR_FILEVERSION_TCHAR _T("5.03")


#ifdef _M_IX86
Expand Down
4 changes: 2 additions & 2 deletions VCECore/vce_cmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,8 @@ int parse_one_option(const TCHAR *option_name, const TCHAR* strInput[], int& i,
}
pParams->rateControl = AMF_VIDEO_ENCODER_RATE_CONTROL_METHOD_CONSTANT_QP;
pParams->nQPI = qp[0];
pParams->nQPP = qp[1];
pParams->nQPB = qp[2];
pParams->nQPP = (ret > 1) ? qp[1] : qp[ret - 1];
pParams->nQPB = (ret > 2) ? qp[2] : qp[ret - 1];
return 0;
}
if (IS_OPTION("vbr")) {
Expand Down

0 comments on commit cbb3634

Please sign in to comment.