Drop invisible frames before an E frame
This fixes test failures in the ParseAbilityTest
Change-Id: I2ecffcb377ea136033d3bf9cc5b9d1e0b19c03d3
diff --git a/test/error_resilience_test.cc b/test/error_resilience_test.cc
index 1286f87..3672220 100644
--- a/test/error_resilience_test.cc
+++ b/test/error_resilience_test.cc
@@ -347,6 +347,9 @@
unsigned int error_resilient_frame_list[] = { 8 };
SetErrorResilientFrames(num_error_resilient_frames,
error_resilient_frame_list);
+ // Ensure that any invisible frames before the E frame are dropped
+ SetInvisibleErrorFrames(num_error_resilient_frames,
+ error_resilient_frame_list);
// Set all frames after the error resilient frame to not allow MFMV
unsigned int num_nomfmv_frames = 6;
unsigned int nomfmv_frame_list[] = { 9, 10, 11, 12, 13, 14 };