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

Side by Side Diff: media/formats/common/stream_parser_test_base.cc

Issue 1564983003: MSE: Log a warning if muxed AV media segment has no A or has no V block (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698