Fix a bug in adding frame parallel unit test.

There are two CreateDecoder functions and decode_test_driver is not
calling the right function now. This bug is discovered during really
enable the frame parallel flag inside libvpx. This bug does not affect
any existing unit test though.

Change-Id: Icd9633c4b66d50e422a09c4310ff791082878936
This commit is contained in:
hkuang 2014-08-18 11:16:15 -07:00
Родитель 02410659cd
Коммит 5106e4dfa8
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -40,7 +40,7 @@ vpx_codec_err_t Decoder::DecodeFrame(const uint8_t *cxdata, size_t size,
}
void DecoderTest::RunLoop(CompressedVideoSource *video) {
Decoder* const decoder = codec_->CreateDecoder(cfg_, flags_);
Decoder* const decoder = codec_->CreateDecoder(cfg_, flags_, 0);
ASSERT_TRUE(decoder != NULL);
const char *codec_name = decoder->GetDecoderName();
const bool is_vp8 = strncmp(kVP8Name, codec_name, sizeof(kVP8Name) - 1) == 0;