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

Unified Diff: media/formats/mp2t/mp2t_stream_parser_unittest.cc

Issue 254473006: Add media::StreamParser::StreamParameter struct. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: media/formats/mp2t/mp2t_stream_parser_unittest.cc
diff --git a/media/formats/mp2t/mp2t_stream_parser_unittest.cc b/media/formats/mp2t/mp2t_stream_parser_unittest.cc
index 660792f1d2bbeb066be76fd13a222d7eb359eb14..0be2802fe225ec981a172c39c44685546cc450c4 100644
--- a/media/formats/mp2t/mp2t_stream_parser_unittest.cc
+++ b/media/formats/mp2t/mp2t_stream_parser_unittest.cc
@@ -58,12 +58,10 @@ class Mp2tStreamParserTest : public testing::Test {
}
void OnInit(bool init_ok,
- base::TimeDelta duration,
- base::Time wallclock_timeline_offset,
- bool auto_update_timestamp_offset) {
+ const StreamParser::StreamParameters& params) {
DVLOG(1) << "OnInit: ok=" << init_ok
- << ", dur=" << duration.InMilliseconds()
- << ", autoTimestampOffset=" << auto_update_timestamp_offset;
+ << ", dur=" << params.duration.InMilliseconds()
+ << ", autoTimestampOffset=" << params.auto_update_timestamp_offset;
}
bool OnNewConfig(const AudioDecoderConfig& ac,

Powered by Google App Engine
This is Rietveld 408576698