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

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: 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/cma_message_filter_host.h ('k') | chromecast/browser/media/media_pipeline_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fa5864686fd47660d9186661a9f46161e1ff23f2..aeb2bc82a29b53a2a9614cf66baf247d1ca1c755 100644
--- a/chromecast/browser/media/cma_message_filter_host.cc
+++ b/chromecast/browser/media/cma_message_filter_host.cc
@@ -536,7 +536,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) {
@@ -566,7 +567,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(
« no previous file with comments | « chromecast/browser/media/cma_message_filter_host.h ('k') | chromecast/browser/media/media_pipeline_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698