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

Unified Diff: media/base/mock_filters.cc

Issue 11148011: Move audio decoder initialization to AudioRendererImpl. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: nits Created 8 years, 2 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/base/mock_filters.h ('k') | media/base/pipeline.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/mock_filters.cc
diff --git a/media/base/mock_filters.cc b/media/base/mock_filters.cc
index 5607fe78d0dadcc653c66e79cc8fe8258140a950..9f02cb32d9759b851ea0615dc7c66f8f106fdece 100644
--- a/media/base/mock_filters.cc
+++ b/media/base/mock_filters.cc
@@ -85,7 +85,7 @@ scoped_ptr<FilterCollection> MockFilterCollection::Create() {
scoped_ptr<FilterCollection> collection(new FilterCollection());
collection->SetDemuxer(demuxer_);
collection->GetVideoDecoders()->push_back(video_decoder_);
- collection->AddAudioDecoder(audio_decoder_);
+ collection->GetAudioDecoders()->push_back(audio_decoder_);
collection->AddVideoRenderer(video_renderer_);
collection->AddAudioRenderer(audio_renderer_);
return collection.Pass();
« no previous file with comments | « media/base/mock_filters.h ('k') | media/base/pipeline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698