Index: webkit/media/crypto/ppapi/cdm_video_decoder.h |
diff --git a/webkit/media/crypto/ppapi/cdm_video_decoder.h b/webkit/media/crypto/ppapi/cdm_video_decoder.h |
index aec1f610f7362144c41afb5f8802573933e4fec6..e46f8c31ca22d7565682851f1959924e625e7a72 100644 |
--- a/webkit/media/crypto/ppapi/cdm_video_decoder.h |
+++ b/webkit/media/crypto/ppapi/cdm_video_decoder.h |
@@ -23,6 +23,9 @@ class CdmVideoDecoder { |
// returns |cdm::kSuccess| when an output frame is available. Returns |
// |cdm::kNeedMoreData| when |compressed_frame| does not produce an output |
// frame. Returns |cdm::kDecodeError| when decoding fails. |
+ // |
+ // A null |compressed_frame| will attempt to flush the decoder of any |
+ // remaining frames. |compressed_frame_size| and |timestamp| are ignored. |
virtual cdm::Status DecodeFrame(const uint8_t* compressed_frame, |
int32_t compressed_frame_size, |
int64_t timestamp, |