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 <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 void MarkEndOfStream(); | 79 void MarkEndOfStream(); |
80 void UnmarkEndOfStream(); | 80 void UnmarkEndOfStream(); |
81 | 81 |
82 // DemuxerStream methods. | 82 // DemuxerStream methods. |
83 virtual void Read(const ReadCB& read_cb) OVERRIDE; | 83 virtual void Read(const ReadCB& read_cb) OVERRIDE; |
84 virtual Type type() OVERRIDE; | 84 virtual Type type() OVERRIDE; |
85 virtual void EnableBitstreamConverter() OVERRIDE; | 85 virtual void EnableBitstreamConverter() OVERRIDE; |
86 virtual AudioDecoderConfig audio_decoder_config() OVERRIDE; | 86 virtual AudioDecoderConfig audio_decoder_config() OVERRIDE; |
87 virtual VideoDecoderConfig video_decoder_config() OVERRIDE; | 87 virtual VideoDecoderConfig video_decoder_config() OVERRIDE; |
88 virtual bool SupportsConfigChanges() OVERRIDE; | 88 virtual bool SupportsConfigChanges() OVERRIDE; |
| 89 virtual VideoRotation video_rotation() OVERRIDE; |
89 | 90 |
90 // Returns the text track configuration. It is an error to call this method | 91 // Returns the text track configuration. It is an error to call this method |
91 // if type() != TEXT. | 92 // if type() != TEXT. |
92 TextTrackConfig text_track_config(); | 93 TextTrackConfig text_track_config(); |
93 | 94 |
94 // Sets the memory limit, in bytes, on the SourceBufferStream. | 95 // Sets the memory limit, in bytes, on the SourceBufferStream. |
95 void set_memory_limit_for_testing(int memory_limit) { | 96 void set_memory_limit_for_testing(int memory_limit) { |
96 stream_->set_memory_limit_for_testing(memory_limit); | 97 stream_->set_memory_limit_for_testing(memory_limit); |
97 } | 98 } |
98 | 99 |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 | 386 |
386 // Indicates that splice frame generation is enabled. | 387 // Indicates that splice frame generation is enabled. |
387 const bool splice_frames_enabled_; | 388 const bool splice_frames_enabled_; |
388 | 389 |
389 DISALLOW_COPY_AND_ASSIGN(ChunkDemuxer); | 390 DISALLOW_COPY_AND_ASSIGN(ChunkDemuxer); |
390 }; | 391 }; |
391 | 392 |
392 } // namespace media | 393 } // namespace media |
393 | 394 |
394 #endif // MEDIA_FILTERS_CHUNK_DEMUXER_H_ | 395 #endif // MEDIA_FILTERS_CHUNK_DEMUXER_H_ |
OLD | NEW |