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

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

Issue 560563002: Add default impl for DemuxerStream::EnableBitstreamConverter(); (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments addressed Created 6 years, 3 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
« no previous file with comments | « media/base/demuxer_stream.cc ('k') | media/filters/chunk_demuxer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 bool UpdateAudioConfig(const AudioDecoderConfig& config, const LogCB& log_cb); 75 bool UpdateAudioConfig(const AudioDecoderConfig& config, const LogCB& log_cb);
76 bool UpdateVideoConfig(const VideoDecoderConfig& config, const LogCB& log_cb); 76 bool UpdateVideoConfig(const VideoDecoderConfig& config, const LogCB& log_cb);
77 void UpdateTextConfig(const TextTrackConfig& config, const LogCB& log_cb); 77 void UpdateTextConfig(const TextTrackConfig& config, const LogCB& log_cb);
78 78
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;
86 virtual AudioDecoderConfig audio_decoder_config() OVERRIDE; 85 virtual AudioDecoderConfig audio_decoder_config() OVERRIDE;
87 virtual VideoDecoderConfig video_decoder_config() OVERRIDE; 86 virtual VideoDecoderConfig video_decoder_config() OVERRIDE;
88 virtual bool SupportsConfigChanges() OVERRIDE; 87 virtual bool SupportsConfigChanges() OVERRIDE;
89 virtual VideoRotation video_rotation() OVERRIDE; 88 virtual VideoRotation video_rotation() OVERRIDE;
90 89
91 // Returns the text track configuration. It is an error to call this method 90 // Returns the text track configuration. It is an error to call this method
92 // if type() != TEXT. 91 // if type() != TEXT.
93 TextTrackConfig text_track_config(); 92 TextTrackConfig text_track_config();
94 93
95 // Sets the memory limit, in bytes, on the SourceBufferStream. 94 // Sets the memory limit, in bytes, on the SourceBufferStream.
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 385
387 // Indicates that splice frame generation is enabled. 386 // Indicates that splice frame generation is enabled.
388 const bool splice_frames_enabled_; 387 const bool splice_frames_enabled_;
389 388
390 DISALLOW_COPY_AND_ASSIGN(ChunkDemuxer); 389 DISALLOW_COPY_AND_ASSIGN(ChunkDemuxer);
391 }; 390 };
392 391
393 } // namespace media 392 } // namespace media
394 393
395 #endif // MEDIA_FILTERS_CHUNK_DEMUXER_H_ 394 #endif // MEDIA_FILTERS_CHUNK_DEMUXER_H_
OLDNEW
« no previous file with comments | « media/base/demuxer_stream.cc ('k') | media/filters/chunk_demuxer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698