Index: remoting/codec/codec_test.h |
diff --git a/remoting/codec/codec_test.h b/remoting/codec/codec_test.h |
index 9c9ec7bf83b20c5d8ab2c9e500964f7f1e9b7962..3f75759ef32aebcdb1cbf5cc4eae8a485b523182 100644 |
--- a/remoting/codec/codec_test.h |
+++ b/remoting/codec/codec_test.h |
@@ -26,6 +26,12 @@ class VideoEncoder; |
// rects match dirty rects. |
void TestVideoEncoder(VideoEncoder* encoder, bool strict); |
+// Generate test data and test the encoder for a sequence of one "changed" |
+// frame followed by one or more "unchanged" frames, and verify that the |
+// encoder sends up to |max_topoff_frames| of non-empty data for unchanged |
+// frames, but eventually returns no data. |
+void TestVideoEncoderEmptyFrames(VideoEncoder* encoder, int max_topoff_frames); |
+ |
// Generate test data and test the encoder and decoder pair. |
// |
// If |strict| is set to true, this routine will make sure the updated rects |