ref: f40b964526150d17040484c71b7d4cbf6062e65f
parent: 3fefb08b3487f8816e6aaa5f6edb841a146f4f0e
author: ruil2 <[email protected]>
date: Mon Jun 23 12:38:45 EDT 2014
update unit test code to support name change
--- a/test/api/BaseEncoderTest.cpp
+++ b/test/api/BaseEncoderTest.cpp
@@ -96,7 +96,7 @@
while (in->read(buf.data(), frameSize) == frameSize) {
rv = encoder_->EncodeFrame(&pic, &info);
ASSERT_TRUE(rv == cmResultSuccess);
- if (info.eOutputFrameType != videoFrameTypeSkip && cbk != NULL) {
+ if (info.eFrameType != videoFrameTypeSkip && cbk != NULL) {
cbk->onEncodeFrame(info);
}
}