Commit 1aa674b5 authored by Zoe Liu's avatar Zoe Liu
Browse files

Fix the superframe unit test for BIDIR_PRED

Change-Id: I2ef8e479893403581711abc020509c6863c2035d
parent d10161ea
......@@ -112,7 +112,13 @@ TEST_P(SuperframeTest, TestSuperframeIndexIsOptional) {
::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288,
30, 1, 0, 40);
ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
#if CONFIG_BIDIR_PRED
// NOTE: The use of BWDREF_FRAME will enable the coding of more non-show
// frames besides ALTREF_FRAME.
EXPECT_GE(sf_count_, 1);
#else
EXPECT_EQ(sf_count_, 1);
#endif // CONFIG_BIDIR_PRED
}
VP9_INSTANTIATE_TEST_CASE(SuperframeTest, ::testing::Combine(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment