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

Unified Diff: mojo/services/html_viewer/webmediaplayer_factory.cc

Issue 445013002: media: Optimize HW Video to 2D Canvas copy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase to ToT Created 5 years, 12 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
« media/filters/skcanvas_video_renderer.cc ('K') | « media/media.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/html_viewer/webmediaplayer_factory.cc
diff --git a/mojo/services/html_viewer/webmediaplayer_factory.cc b/mojo/services/html_viewer/webmediaplayer_factory.cc
index 98b4dc06db6a2f8dd1a62c388a7056909be8b1f1..f6e5a514dea240f430c388e6b10ec85786d3b140 100644
--- a/mojo/services/html_viewer/webmediaplayer_factory.cc
+++ b/mojo/services/html_viewer/webmediaplayer_factory.cc
@@ -99,10 +99,10 @@ blink::WebMediaPlayer* WebMediaPlayerFactory::CreateMediaPlayer(
GetAudioHardwareConfig()));
}
- media::WebMediaPlayerParams params(media::WebMediaPlayerParams::DeferLoadCB(),
- CreateAudioRendererSink(), media_log,
- GetMediaThreadTaskRunner(),
- compositor_task_runner_, initial_cdm);
+ media::WebMediaPlayerParams params(
+ media::WebMediaPlayerParams::DeferLoadCB(), CreateAudioRendererSink(),
+ media_log, GetMediaThreadTaskRunner(), compositor_task_runner_,
+ media::WebMediaPlayerParams::Context3DCB(), initial_cdm);
base::WeakPtr<media::WebMediaPlayerDelegate> delegate;
scoped_ptr<media::CdmFactory> cdm_factory(new media::DefaultCdmFactory());
« media/filters/skcanvas_video_renderer.cc ('K') | « media/media.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698