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 #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 Loading... | |
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; | |
acolwell GONE FROM CHROMIUM
2014/01/15 19:28:50
nit: It might be worth adding a DCHECK(HasNoFadeOu
DaleCurtis
2014/01/15 22:40:56
Done.
| |
74 } | |
75 | |
66 } // namespace media | 76 } // namespace media |
OLD | NEW |