OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/formats/common/stream_parser_test_base.h" | 5 #include "media/formats/common/stream_parser_test_base.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "media/base/test_data_util.h" | 10 #include "media/base/test_data_util.h" |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
115 const std::vector<uint8_t>& init_data) { | 115 const std::vector<uint8_t>& init_data) { |
116 DVLOG(1) << __FUNCTION__ << "(" << static_cast<int>(type) << ", " | 116 DVLOG(1) << __FUNCTION__ << "(" << static_cast<int>(type) << ", " |
117 << init_data.size() << ")"; | 117 << init_data.size() << ")"; |
118 } | 118 } |
119 | 119 |
120 void StreamParserTestBase::OnNewSegment() { | 120 void StreamParserTestBase::OnNewSegment() { |
121 DVLOG(1) << __FUNCTION__; | 121 DVLOG(1) << __FUNCTION__; |
122 results_stream_ << "NewSegment"; | 122 results_stream_ << "NewSegment"; |
123 } | 123 } |
124 | 124 |
125 void StreamParserTestBase::OnEndOfSegment() { | 125 bool StreamParserTestBase::OnEndOfSegment() { |
126 DVLOG(1) << __FUNCTION__; | 126 DVLOG(1) << __FUNCTION__; |
127 results_stream_ << "EndOfSegment"; | 127 results_stream_ << "EndOfSegment"; |
128 return true; // BIG TODO : test | |
chcunningham
2016/01/07 22:23:57
:)
wolenetz
2016/01/16 01:23:35
No longer changed (PS5, at least).
| |
128 } | 129 } |
129 | 130 |
130 } // namespace media | 131 } // namespace media |
OLD | NEW |