Chromium Code Reviews| Index: media/base/decoder_buffer.h |
| diff --git a/media/base/decoder_buffer.h b/media/base/decoder_buffer.h |
| index 4ff836d0f88e2dfe641bd616997d6b8a88261bdd..dcbbd2a88ef6fa6506abadd857a5a9fa17323b56 100644 |
| --- a/media/base/decoder_buffer.h |
| +++ b/media/base/decoder_buffer.h |
| @@ -108,7 +108,8 @@ class MEDIA_EXPORT DecoderBuffer |
| // A discard window indicates the amount of data which should be discard from |
| // this buffer after decoding. The first value is the amount of the front and |
| - // the second the amount off the back. |
| + // the second the amount off the back. A value of kInfiniteDuration() for the |
| + // first value indicates the entire buffer should be discarded. |
|
wolenetz
2014/05/21 01:43:02
nit: s/./, in which case the second value must be
DaleCurtis
2014/05/21 02:23:25
Done.
|
| typedef std::pair<base::TimeDelta, base::TimeDelta> DiscardPadding; |
| const DiscardPadding& discard_padding() const { |
| DCHECK(!end_of_stream()); |