| 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 #ifndef MEDIA_FILTERS_CHUNK_DEMUXER_H_ | 5 #ifndef MEDIA_FILTERS_CHUNK_DEMUXER_H_ |
| 6 #define MEDIA_FILTERS_CHUNK_DEMUXER_H_ | 6 #define MEDIA_FILTERS_CHUNK_DEMUXER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 | 398 |
| 399 // Used to ensure that (1) config data matches the type and codec provided in | 399 // Used to ensure that (1) config data matches the type and codec provided in |
| 400 // AddId(), (2) only 1 audio and 1 video sources are added, and (3) ids may be | 400 // AddId(), (2) only 1 audio and 1 video sources are added, and (3) ids may be |
| 401 // removed with RemoveID() but can not be re-added (yet). | 401 // removed with RemoveID() but can not be re-added (yet). |
| 402 std::string source_id_audio_; | 402 std::string source_id_audio_; |
| 403 std::string source_id_video_; | 403 std::string source_id_video_; |
| 404 | 404 |
| 405 // Indicates that splice frame generation is enabled. | 405 // Indicates that splice frame generation is enabled. |
| 406 const bool splice_frames_enabled_; | 406 const bool splice_frames_enabled_; |
| 407 | 407 |
| 408 // Accumulate, by type, detected track counts across the SourceBuffers. |
| 409 int detected_audio_track_count_; |
| 410 int detected_video_track_count_; |
| 411 int detected_text_track_count_; |
| 412 |
| 408 DISALLOW_COPY_AND_ASSIGN(ChunkDemuxer); | 413 DISALLOW_COPY_AND_ASSIGN(ChunkDemuxer); |
| 409 }; | 414 }; |
| 410 | 415 |
| 411 } // namespace media | 416 } // namespace media |
| 412 | 417 |
| 413 #endif // MEDIA_FILTERS_CHUNK_DEMUXER_H_ | 418 #endif // MEDIA_FILTERS_CHUNK_DEMUXER_H_ |
| OLD | NEW |