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/base/stream_parser_buffer.cc

Issue 125543002: Add plumbing and support for crossfading StreamParserBuffers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tests! Created 6 years, 11 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 #include "media/base/stream_parser_buffer.h" 5 #include "media/base/stream_parser_buffer.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "media/base/buffers.h" 8 #include "media/base/buffers.h"
9 9
10 namespace media { 10 namespace media {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 } 56 }
57 57
58 int StreamParserBuffer::GetConfigId() const { 58 int StreamParserBuffer::GetConfigId() const {
59 return config_id_; 59 return config_id_;
60 } 60 }
61 61
62 void StreamParserBuffer::SetConfigId(int config_id) { 62 void StreamParserBuffer::SetConfigId(int config_id) {
63 config_id_ = config_id; 63 config_id_ = config_id;
64 } 64 }
65 65
66 const std::vector<scoped_refptr<StreamParserBuffer> >&
67 StreamParserBuffer::GetFadeOutPreroll() const {
68 return fade_out_preroll_;
69 }
70
71 void StreamParserBuffer::SetFadeOutPreroll(
72 const std::vector<scoped_refptr<StreamParserBuffer> >& fade_out_preroll) {
73 fade_out_preroll_ = fade_out_preroll;
74 }
75
66 } // namespace media 76 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698