Move s-frame from show existing frame position Now that this test causes an out-of-order encoding, it is failing when the s-frame is placed on a show existing frame. Move the s-frame for now. BUGS=aomedia:3090 Change-Id: Ib866aaa9c301c3b394c9549b1cb92270112fbdd9
diff --git a/test/error_resilience_test.cc b/test/error_resilience_test.cc index 2740c59..1c190f6 100644 --- a/test/error_resilience_test.cc +++ b/test/error_resilience_test.cc
@@ -448,14 +448,14 @@ // show_existing_frame. This issue still needs to be addressed. // Set an arbitrary S-frame unsigned int num_s_frames = 1; - unsigned int s_frame_list[] = { 6 }; + unsigned int s_frame_list[] = { 8 }; SetSFrames(num_s_frames, s_frame_list); // Ensure that any invisible frames before the S frame are dropped SetInvisibleErrorFrames(num_s_frames, s_frame_list); // Set a few frames before the S frame that are lost (not decoded) - unsigned int num_error_frames = 4; - unsigned int error_frame_list[] = { 2, 3, 4, 5 }; + unsigned int num_error_frames = 6; + unsigned int error_frame_list[] = { 2, 3, 4, 5, 6, 7 }; SetErrorFrames(num_error_frames, error_frame_list); ASSERT_NO_FATAL_FAILURE(RunLoop(&video));