Chromium Code Reviews| Index: media/filters/source_buffer_stream.h |
| diff --git a/media/filters/source_buffer_stream.h b/media/filters/source_buffer_stream.h |
| index ff5763b42917175332ec86b84895339546bfd273..12b7bcf4652c8259e22a0a07c9a5fec08e2d35f3 100644 |
| --- a/media/filters/source_buffer_stream.h |
| +++ b/media/filters/source_buffer_stream.h |
| @@ -293,6 +293,9 @@ class MEDIA_EXPORT SourceBufferStream { |
| bool is_video() const { return video_configs_.size() > 0; } |
| + // See GetNextBuffer(). |
|
acolwell GONE FROM CHROMIUM
2014/01/10 22:53:31
nit: It would be good to at least outline the divi
|
| + Status GetNextBufferInternal(scoped_refptr<StreamParserBuffer>* out_buffer); |
| + |
| // Callback used to report error strings that can help the web developer |
| // figure out what is wrong with the content. |
| LogCB log_cb_; |
| @@ -369,6 +372,16 @@ class MEDIA_EXPORT SourceBufferStream { |
| // GetCurrentXXXDecoderConfig() has been called. |
| bool config_change_pending_; |
| + // Used by GetNextBuffer() when a buffer with fade out is returned from |
| + // GetNextBufferInternal(). Will be set to the returned buffer and will be |
| + // consumed after the fade out section has been exhausted. |
| + scoped_refptr<StreamParserBuffer> fade_in_buffer_; |
| + |
| + // Indicates which of the fade out preroll buffers in |fade_in_buffer_| should |
| + // be handled out next. |
| + size_t fade_out_preroll_index_; |
| + |
| + |
| DISALLOW_COPY_AND_ASSIGN(SourceBufferStream); |
| }; |