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

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
« no previous file with comments | « media/formats/mp2t/mp2t_stream_parser.cc ('k') | media/formats/mp4/mp4_stream_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..af73df53e7091107f584920be1b05c687abd42c7 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::InitParameters& 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,
« no previous file with comments | « media/formats/mp2t/mp2t_stream_parser.cc ('k') | media/formats/mp4/mp4_stream_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698