Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Side by Side Diff: media/filters/chunk_demuxer.h

Issue 363813002: Update to Pipeline Metadata and Decoder Stream for Orientation Data (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Made {set_}video_rotation virtual Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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;
90 virtual void set_video_rotation(VideoRotation video_rotation) OVERRIDE;
89 91
90 // Returns the text track configuration. It is an error to call this method 92 // Returns the text track configuration. It is an error to call this method
91 // if type() != TEXT. 93 // if type() != TEXT.
92 TextTrackConfig text_track_config(); 94 TextTrackConfig text_track_config();
93 95
94 // Sets the memory limit, in bytes, on the SourceBufferStream. 96 // Sets the memory limit, in bytes, on the SourceBufferStream.
95 void set_memory_limit_for_testing(int memory_limit) { 97 void set_memory_limit_for_testing(int memory_limit) {
96 stream_->set_memory_limit_for_testing(memory_limit); 98 stream_->set_memory_limit_for_testing(memory_limit);
97 } 99 }
98 100
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 387
386 // Indicates that splice frame generation is enabled. 388 // Indicates that splice frame generation is enabled.
387 const bool splice_frames_enabled_; 389 const bool splice_frames_enabled_;
388 390
389 DISALLOW_COPY_AND_ASSIGN(ChunkDemuxer); 391 DISALLOW_COPY_AND_ASSIGN(ChunkDemuxer);
390 }; 392 };
391 393
392 } // namespace media 394 } // namespace media
393 395
394 #endif // MEDIA_FILTERS_CHUNK_DEMUXER_H_ 396 #endif // MEDIA_FILTERS_CHUNK_DEMUXER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698