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

Unified Diff: chromecast/browser/media/cma_message_filter_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: 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/browser/media/cma_message_filter_host.cc
diff --git a/chromecast/browser/media/cma_message_filter_host.cc b/chromecast/browser/media/cma_message_filter_host.cc
index 2d34deaf2f032e265e1febdbcb0452545ea0233f..1c0984c9d6b0b00fe42033b6449ab352c012649c 100644
--- a/chromecast/browser/media/cma_message_filter_host.cc
+++ b/chromecast/browser/media/cma_message_filter_host.cc
@@ -534,7 +534,8 @@ void CmaMessageFilterHost::AudioInitialize(
}
void CmaMessageFilterHost::VideoInitialize(
- int media_id, TrackId track_id, const ::media::VideoDecoderConfig& config) {
+ int media_id, TrackId track_id,
+ const std::vector<::media::VideoDecoderConfig>& configs) {
DCHECK_CURRENTLY_ON(content::BrowserThread::IO);
MediaPipelineHost* media_pipeline = LookupById(media_id);
if (!media_pipeline) {
@@ -564,7 +565,7 @@ void CmaMessageFilterHost::VideoInitialize(
FROM_HERE,
base::Bind(&MediaPipelineHost::VideoInitialize,
base::Unretained(media_pipeline),
- track_id, client, config, pipeline_status_cb));
+ track_id, client, configs, pipeline_status_cb));
}
void CmaMessageFilterHost::StartPlayingFrom(

Powered by Google App Engine
This is Rietveld 408576698