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

Unified Diff: chromecast/renderer/media/video_pipeline_proxy.cc

Issue 1372393007: [Chromecast] Upgrade to new CMA backend API (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 5 years, 2 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/video_pipeline_proxy.cc
diff --git a/chromecast/renderer/media/video_pipeline_proxy.cc b/chromecast/renderer/media/video_pipeline_proxy.cc
index bcef0838d26ff831eeb6cf4ef3b788b8c9c5dabc..c89bd48c0dfba1eb58f9aabbbf33cba3b460f650 100644
--- a/chromecast/renderer/media/video_pipeline_proxy.cc
+++ b/chromecast/renderer/media/video_pipeline_proxy.cc
@@ -54,7 +54,7 @@ class VideoPipelineProxyInternal {
// but this is an internal class and there is no reason to derive from
// VideoPipeline.
void SetClient(const base::Closure& pipe_read_cb,
- const VideoPipelineClient& client);
+ const RendererVideoPipelineClient& client);
void CreateAvPipe(const SharedMemCB& shared_mem_cb);
void Initialize(const std::vector<::media::VideoDecoderConfig>& configs,
const ::media::PipelineStatusCB& status_cb);
@@ -119,7 +119,7 @@ void VideoPipelineProxyInternal::NotifyPipeWrite() {
void VideoPipelineProxyInternal::SetClient(
const base::Closure& pipe_read_cb,
- const VideoPipelineClient& video_client) {
+ const RendererVideoPipelineClient& video_client) {
DCHECK(thread_checker_.CalledOnValidThread());
CmaMessageFilterProxy::VideoDelegate delegate;
@@ -214,7 +214,7 @@ VideoPipelineProxy::~VideoPipelineProxy() {
}
void VideoPipelineProxy::SetClient(
- const VideoPipelineClient& video_client) {
+ const RendererVideoPipelineClient& video_client) {
DCHECK(thread_checker_.CalledOnValidThread());
base::Closure pipe_read_cb =
::media::BindToCurrentLoop(
@@ -294,4 +294,4 @@ void VideoPipelineProxy::OnPipeRead() {
}
} // namespace media
-} // namespace chromecast
+} // namespace chromecast

Powered by Google App Engine
This is Rietveld 408576698