fix bug
This commit is contained in:
parent
aa7eb5fd09
commit
15124b1258
@ -173,6 +173,8 @@ TEST_F (EncoderInterfaceTest, EncoderAdditionalOptionSetTest) {
|
|||||||
|
|
||||||
iResult = pPtrEnc->GetOption (eOptionId, &iReturn);
|
iResult = pPtrEnc->GetOption (eOptionId, &iReturn);
|
||||||
EXPECT_EQ (iResult, static_cast<int> (cmResultSuccess));
|
EXPECT_EQ (iResult, static_cast<int> (cmResultSuccess));
|
||||||
|
if (iValue < -1 || iValue == 0)
|
||||||
|
iValue = 1;
|
||||||
EXPECT_EQ (iValue, iReturn);
|
EXPECT_EQ (iValue, iReturn);
|
||||||
|
|
||||||
PrepareOneSrcFrame();
|
PrepareOneSrcFrame();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user