Skip to content

Commit

Permalink
警告対策。
Browse files Browse the repository at this point in the history
  • Loading branch information
rigaya committed May 31, 2020
1 parent 61c6c15 commit 44e4955
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions QSVPipeline/rgy_frame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ RGYFrameDataQP::~RGYFrameDataQP() {
#endif //#if !FOR_AUO && ENCODER_NVENC
};

#pragma warning(push)
#pragma warning(disable: 4100) //warning C4100: 'timestamp': 引数は関数の本体部で 1 度も参照されません。
RGY_ERR RGYFrameDataQP::setQPTable(const int8_t *qpTable, int qpw, int qph, int qppitch, int scaleType, int frameType, int64_t timestamp) {
#if !FOR_AUO && ENCODER_NVENC
m_qpScaleType = scaleType;
Expand Down Expand Up @@ -83,6 +85,7 @@ RGY_ERR RGYFrameDataQP::setQPTable(const int8_t *qpTable, int qpw, int qph, int
#endif //#if !FOR_AUO && ENCODER_NVENC
return RGY_ERR_NONE;
}
#pragma warning(pop)

#if !FOR_AUO && ENCODER_NVENC
RGY_ERR RGYFrameDataQP::transferToGPU(cudaStream_t stream) {
Expand Down
6 changes: 3 additions & 3 deletions QSVPipeline/rgy_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@

#include "rgy_rev.h"

#define VER_FILEVERSION 0,4,2,0
#define VER_STR_FILEVERSION "4.02"
#define VER_STR_FILEVERSION_TCHAR _T("4.02")
#define VER_FILEVERSION 0,4,3,0
#define VER_STR_FILEVERSION "4.03"
#define VER_STR_FILEVERSION_TCHAR _T("4.03")

#ifdef _M_IX86
#define BUILD_ARCH_STR _T("x86")
Expand Down

0 comments on commit 44e4955

Please sign in to comment.