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

Unified Diff: media/filters/pipeline_integration_test.cc

Issue 361023003: WIP fixing/extending acolwell's init-segment-received patch Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased to ToT. Lots of further work needed (BIG TODOs, nits-to-self, etc) Created 6 years, 6 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/filters/chunk_demuxer_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/pipeline_integration_test.cc
diff --git a/media/filters/pipeline_integration_test.cc b/media/filters/pipeline_integration_test.cc
index c7e1ef9b3ea8f88847b449a6086f9169cb52cb0f..d0c45f317c8c3ec951bc31446f898d137760901f 100644
--- a/media/filters/pipeline_integration_test.cc
+++ b/media/filters/pipeline_integration_test.cc
@@ -477,6 +477,10 @@ class MockMediaSource {
base::Unretained(this)));
}
+ void OnNewInitSegment(const InitSegment& init_segment) {
+
+ }
+
void DemuxerOpenedTask() {
// This code assumes that |mimetype_| is one of the following forms.
// 1. audio/mpeg
@@ -502,7 +506,13 @@ class MockMediaSource {
Tokenize(codecs_param, ",", &codecs);
}
- CHECK_EQ(chunk_demuxer_->AddId(kSourceId, type, codecs), ChunkDemuxer::kOk);
+ CHECK_EQ(ChunkDemuxer::kOk,
+ chunk_demuxer_->AddId(
+ kSourceId,
+ type,
+ codecs,
+ base::Bind(&MockMediaSource::OnNewInitSegment,
+ base::Unretained(this))));
AppendData(initial_append_size_);
}
« no previous file with comments | « media/filters/chunk_demuxer_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698