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

Unified Diff: chromecast/media/cma/filters/cma_renderer.cc

Issue 1148253006: Chromecast: Use std::vector to pass video config in CMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: chromecast/media/cma/filters/cma_renderer.cc
diff --git a/chromecast/media/cma/filters/cma_renderer.cc b/chromecast/media/cma/filters/cma_renderer.cc
index 1573a8cb3deb1994cfc69367a54deaf4e2f5249e..0a310cf4abda0bfc28757dd7769274c4f5448a7b 100644
--- a/chromecast/media/cma/filters/cma_renderer.cc
+++ b/chromecast/media/cma/filters/cma_renderer.cc
@@ -321,8 +321,10 @@ void CmaRenderer::InitializeVideoPipeline() {
initial_natural_size_ = config.natural_size();
+ std::vector<::media::VideoDecoderConfig> configs;
gunsch 2015/06/04 17:03:42 Alright, this looks like the start. Is there a TOD
erickung1 2015/06/04 20:29:20 There will be another file, please see internal CL
+ configs.push_back(config);
media_pipeline_->InitializeVideo(
- config,
+ configs,
frame_provider.Pass(),
video_initialization_done_cb);
}

Powered by Google App Engine
This is Rietveld 408576698