Index: media/cast/sender/video_encoder.h |
diff --git a/media/cast/sender/video_encoder.h b/media/cast/sender/video_encoder.h |
index bcb323c12a1fd83fa99cbba0baccf30894e7e0d5..ca352decc17c554e11a09b8d44ae989414d51272 100644 |
--- a/media/cast/sender/video_encoder.h |
+++ b/media/cast/sender/video_encoder.h |
@@ -48,6 +48,13 @@ class VideoEncoder { |
// encoder affinity (defined as offering some sort of performance benefit). |
// This is an optional capability and by default returns null. |
virtual scoped_ptr<VideoFrameFactory> CreateVideoFrameFactory(); |
+ |
+ // Instructs the encoder to finish and emit all frames that have been |
+ // submitted for encoding. An encoder may hold a certain number of frames for |
+ // analysis. Under certain network conditions, particularly when there is |
+ // network congestion, it is necessary to flush out of the encoder all |
+ // submitted frames so that eventually new frames may be encoded. |
miu
2015/01/22 01:07:18
Also in this comment, please add something to the
|
+ virtual void EmitFrames(); |
}; |
} // namespace cast |