Showing the changes to test/api/BaseEncoderTest.cpp (1 of 1 file). Show all
Unified · Split
| @@ -96,7 +96,7 @@ void BaseEncoderTest::EncodeStream(InputStream* in, EUsageType usageType, int wi · 95 unmodified lines | ||
| 96 | 96 | while (in->read(buf.data(), frameSize) == frameSize) { |
| 97 | 97 | rv = encoder_->EncodeFrame(&pic, &info); |
| 98 | 98 | ASSERT_TRUE(rv == cmResultSuccess); |
| 99 | − if (info.eOutputFrameType != videoFrameTypeSkip && cbk != NULL) { | |
| 99 | + if (info.eFrameType != videoFrameTypeSkip && cbk != NULL) { | |
| 100 | 100 | cbk->onEncodeFrame(info); |
| 101 | 101 | } |
| 102 | 102 | } |