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

Unified Diff: media/cast/video_sender/external_video_encoder.cc

Issue 170843004: Pass Client pointer in Initialize() for VDA/VEA (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 50e826de Rebase. Created 6 years, 10 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 | « media/cast/test/fake_video_encode_accelerator.cc ('k') | media/filters/gpu_video_accelerator_factories.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/video_sender/external_video_encoder.cc
diff --git a/media/cast/video_sender/external_video_encoder.cc b/media/cast/video_sender/external_video_encoder.cc
index 6ec8d3df57705a744c94dd45be750aceb14a82de..4f97dace111f4103fdf5d8c51f6cef82498083c1 100644
--- a/media/cast/video_sender/external_video_encoder.cc
+++ b/media/cast/video_sender/external_video_encoder.cc
@@ -72,7 +72,7 @@ class LocalVideoEncodeAcceleratorClient
DCHECK(encoder_task_runner_->RunsTasksOnCurrentThread());
video_encode_accelerator_ =
- gpu_factories_->CreateVideoEncodeAccelerator(this).Pass();
+ gpu_factories_->CreateVideoEncodeAccelerator().Pass();
if (!video_encode_accelerator_)
return;
@@ -94,7 +94,8 @@ class LocalVideoEncodeAcceleratorClient
media::VideoFrame::I420,
gfx::Size(video_config.width, video_config.height),
output_profile,
- video_config.start_bitrate);
+ video_config.start_bitrate,
+ this);
}
// Free the HW.
« no previous file with comments | « media/cast/test/fake_video_encode_accelerator.cc ('k') | media/filters/gpu_video_accelerator_factories.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698