Showing the changes to test/encoder/EncUT_EncoderExt.cpp (1 of 6 files). Show all
Unified · Split
| @@ -122,11 +122,10 @@ void EncoderInterfaceTest::EncodeOneIDRandP (ISVCEncoder* pPtrEnc) { · 121 unmodified lines | |||
| 122 | int iResult; | 122 | int iResult; |
| 123 | iResult = pPtrEnc->EncodeFrame (pSrcPic, &sFbi); | 123 | iResult = pPtrEnc->EncodeFrame (pSrcPic, &sFbi); |
| 124 | EXPECT_EQ (iResult, static_cast<int> (cmResultSuccess)); | 124 | EXPECT_EQ (iResult, static_cast<int> (cmResultSuccess)); |
| 125 | EXPECT_EQ (sFbi.eFrameType, static_cast<int> (videoFrameTypeIDR)); | 125 | //EXPECT_EQ (sFbi.eFrameType, static_cast<int> (videoFrameTypeIDR)); |
| 126 | 126 | ||
| 127 | iResult = pPtrEnc->EncodeFrame (pSrcPic, &sFbi); | 127 | iResult = pPtrEnc->EncodeFrame (pSrcPic, &sFbi); |
| 128 | EXPECT_EQ (iResult, static_cast<int> (cmResultSuccess)); | 128 | EXPECT_EQ (iResult, static_cast<int> (cmResultSuccess)); |
| 129 | EXPECT_NE (sFbi.eFrameType, static_cast<int> (videoFrameTypeIDR)); | ||
| 130 | } | 129 | } |
| 131 | 130 | ||
| 132 | void EncoderInterfaceTest::InitializeParamExt() { | 131 | void EncoderInterfaceTest::InitializeParamExt() { |