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

Unified Diff: chromecast/browser/media/media_pipeline_host.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: Remove DCHECK when config is updated. Will create another CL for the change 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
« no previous file with comments | « chromecast/browser/media/media_pipeline_host.h ('k') | chromecast/common/media/cma_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/media/media_pipeline_host.cc
diff --git a/chromecast/browser/media/media_pipeline_host.cc b/chromecast/browser/media/media_pipeline_host.cc
index e3e58e162e95989284b293c1145bba0deba86d59..087077d044b514ae099ab8f382cd93e44dd68e22 100644
--- a/chromecast/browser/media/media_pipeline_host.cc
+++ b/chromecast/browser/media/media_pipeline_host.cc
@@ -118,13 +118,13 @@ void MediaPipelineHost::AudioInitialize(
void MediaPipelineHost::VideoInitialize(
TrackId track_id,
const VideoPipelineClient& client,
- const ::media::VideoDecoderConfig& config,
+ const std::vector<::media::VideoDecoderConfig>& configs,
const ::media::PipelineStatusCB& status_cb) {
DCHECK(thread_checker_.CalledOnValidThread());
CHECK(track_id == kVideoTrackId);
media_pipeline_->GetVideoPipeline()->SetClient(client);
media_pipeline_->InitializeVideo(
- config, scoped_ptr<CodedFrameProvider>(), status_cb);
+ configs, scoped_ptr<CodedFrameProvider>(), status_cb);
}
void MediaPipelineHost::StartPlayingFrom(base::TimeDelta time) {
« no previous file with comments | « chromecast/browser/media/media_pipeline_host.h ('k') | chromecast/common/media/cma_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698