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

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

Issue 868803007: [Cast] Refactor ExternalVideoEncoder for cleaner/simpler encapsulation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add clarification comments and TODOs. Created 5 years, 11 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/sender/fake_video_encode_accelerator_factory.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/sender/video_sender.cc
diff --git a/media/cast/sender/video_sender.cc b/media/cast/sender/video_sender.cc
index 0e9b72fed19b0f58003951d66073053c53d36b24..80027efe3418efffb85a20daeb34e1aa69169f63 100644
--- a/media/cast/sender/video_sender.cc
+++ b/media/cast/sender/video_sender.cc
@@ -90,6 +90,7 @@ VideoSender::VideoSender(
video_encoder_.reset(new ExternalVideoEncoder(
cast_environment,
video_config,
+ gfx::Size(video_config.width, video_config.height),
base::Bind(&VideoSender::OnEncoderInitialized,
weak_factory_.GetWeakPtr(), initialization_cb),
create_vea_cb,
« no previous file with comments | « media/cast/sender/fake_video_encode_accelerator_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698