add parameter and one case in UT

This commit is contained in:
Sijia Chen
2014-09-19 14:46:02 +08:00
parent 25cad576b3
commit 84ca659f06
5 changed files with 35 additions and 23 deletions

View File

@@ -99,7 +99,7 @@ TEST_P (DecodeEncodeTest, CompareOutput) {
#else
ASSERT_TRUE (Open (p.fileName));
#endif
EncodeStream (this, CAMERA_VIDEO_REAL_TIME, p.width, p.height, p.frameRate, SM_SINGLE_SLICE, false, 1, this);
EncodeStream (this, CAMERA_VIDEO_REAL_TIME, p.width, p.height, p.frameRate, SM_SINGLE_SLICE, false, 1, false, false, this);
unsigned char digest[SHA_DIGEST_LENGTH];
SHA1Result (&ctx_, digest);
if (!HasFatalFailure()) {