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

Unified Diff: chromecast/renderer/media/media_pipeline_proxy.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: Rebase to TOT 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/renderer/media/media_pipeline_proxy.cc
diff --git a/chromecast/renderer/media/media_pipeline_proxy.cc b/chromecast/renderer/media/media_pipeline_proxy.cc
index 5168f4984540bc5b3df607db7deec7769b77d46c..559f2e07fdbd69c9ca5372cea30025d4e12c73f2 100644
--- a/chromecast/renderer/media/media_pipeline_proxy.cc
+++ b/chromecast/renderer/media/media_pipeline_proxy.cc
@@ -214,12 +214,12 @@ void MediaPipelineProxy::InitializeAudio(
}
void MediaPipelineProxy::InitializeVideo(
- const ::media::VideoDecoderConfig& config,
+ const std::vector<::media::VideoDecoderConfig>& configs,
scoped_ptr<CodedFrameProvider> frame_provider,
const ::media::PipelineStatusCB& status_cb) {
DCHECK(thread_checker_.CalledOnValidThread());
has_video_ = true;
- video_pipeline_->Initialize(config, frame_provider.Pass(), status_cb);
+ video_pipeline_->Initialize(configs, frame_provider.Pass(), status_cb);
}
void MediaPipelineProxy::StartPlayingFrom(base::TimeDelta time) {

Powered by Google App Engine
This is Rietveld 408576698