| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // SourceBufferStream is a data structure that stores media Buffers in ranges. | 5 // SourceBufferStream is a data structure that stores media Buffers in ranges. |
| 6 // Buffers can be appended out of presentation order. Buffers are retrieved by | 6 // Buffers can be appended out of presentation order. Buffers are retrieved by |
| 7 // seeking to the desired start point and calling GetNextBuffer(). Buffers are | 7 // seeking to the desired start point and calling GetNextBuffer(). Buffers are |
| 8 // returned in sequential presentation order. | 8 // returned in sequential presentation order. |
| 9 | 9 |
| 10 #ifndef MEDIA_FILTERS_SOURCE_BUFFER_STREAM_H_ | 10 #ifndef MEDIA_FILTERS_SOURCE_BUFFER_STREAM_H_ |
| (...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 438 // Indicates that all buffers before |pending_buffer_| have been handed out. | 438 // Indicates that all buffers before |pending_buffer_| have been handed out. |
| 439 bool pending_buffers_complete_ = false; | 439 bool pending_buffers_complete_ = false; |
| 440 | 440 |
| 441 // Indicates that splice frame generation is enabled. | 441 // Indicates that splice frame generation is enabled. |
| 442 const bool splice_frames_enabled_; | 442 const bool splice_frames_enabled_; |
| 443 | 443 |
| 444 // To prevent log spam, count the number of warnings and successes logged. | 444 // To prevent log spam, count the number of warnings and successes logged. |
| 445 int num_splice_generation_warning_logs_ = 0; | 445 int num_splice_generation_warning_logs_ = 0; |
| 446 int num_splice_generation_success_logs_ = 0; | 446 int num_splice_generation_success_logs_ = 0; |
| 447 int num_track_buffer_gap_warning_logs_ = 0; | 447 int num_track_buffer_gap_warning_logs_ = 0; |
| 448 int num_garbage_collect_algorithm_logs_ = 0; |
| 448 | 449 |
| 449 DISALLOW_COPY_AND_ASSIGN(SourceBufferStream); | 450 DISALLOW_COPY_AND_ASSIGN(SourceBufferStream); |
| 450 }; | 451 }; |
| 451 | 452 |
| 452 } // namespace media | 453 } // namespace media |
| 453 | 454 |
| 454 #endif // MEDIA_FILTERS_SOURCE_BUFFER_STREAM_H_ | 455 #endif // MEDIA_FILTERS_SOURCE_BUFFER_STREAM_H_ |
| OLD | NEW |