Skip to content
Snippets Groups Projects
Commit b518d729 authored by Zoe Liu's avatar Zoe Liu
Browse files

Fix the superframe unit test for ext-refs

Change-Id: I64b236d859a50a265b9b9ee2315bf2549e63881d
parent b96cbc44
No related branches found
No related tags found
2 merge requests!6Rav1e 11 yushin 1,!3Rav1e 10 yushin
......@@ -96,7 +96,13 @@ TEST_P(SuperframeTest, TestSuperframeIndexIsOptional) {
::libaom_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288,
30, 1, 0, 40);
ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
#if CONFIG_EXT_REFS
// 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_EXT_REFS
}
#if CONFIG_ANS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment