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

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

Issue 195973006: Allow StreamParsers to request automatic timestampOffset updates. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Unittest. Created 6 years, 9 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 02370f2e6bb0a1f88e6c8b7b3fb9984c45e18f97..ea796745dabba5c8e93f25ccd40625613fe71f23 100644
--- a/media/formats/mp2t/mp2t_stream_parser_unittest.cc
+++ b/media/formats/mp2t/mp2t_stream_parser_unittest.cc
@@ -57,9 +57,12 @@ class Mp2tStreamParserTest : public testing::Test {
return true;
}
- void OnInit(bool init_ok, base::TimeDelta duration) {
+ void OnInit(bool init_ok,
+ base::TimeDelta duration,
+ bool auto_update_timestamp_offset) {
DVLOG(1) << "OnInit: ok=" << init_ok
- << ", dur=" << duration.InMilliseconds();
+ << ", dur=" << duration.InMilliseconds()
+ << ", autoTimestampOffset=" << auto_update_timestamp_offset;
}
bool OnNewConfig(const AudioDecoderConfig& ac,

Powered by Google App Engine
This is Rietveld 408576698