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

Unified Diff: content/common/gpu/media/gpu_video_decode_accelerator.h

Issue 1485043002: Passed is_encrypted parameter to the VDA initialization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed StreamParameters to Config, added in-class initialization in Config Created 5 years 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: content/common/gpu/media/gpu_video_decode_accelerator.h
diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.h b/content/common/gpu/media/gpu_video_decode_accelerator.h
index ad1e142fc8b2c2238131d7fa7a0263f2ea97de73..87fc91f319bd23b62f5417d58e283f80761eb6f9 100644
--- a/content/common/gpu/media/gpu_video_decode_accelerator.h
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.h
@@ -65,10 +65,10 @@ class GpuVideoDecodeAccelerator
bool Send(IPC::Message* message) override;
// Initialize VDAs from the set of VDAs supported for current platform until
- // one of them succeeds for given |profile|. Send the |init_done_msg| when
- // done. filter_ is passed to GpuCommandBufferStub channel only if the chosen
- // VDA can decode on IO thread.
- void Initialize(const media::VideoCodecProfile profile,
+ // one of them succeeds for given |params.profile|. Send the |init_done_msg|
xhwang 2015/12/02 23:04:29 update this comment
+ // when done. filter_ is passed to GpuCommandBufferStub channel only if the
+ // chosen VDA can decode on IO thread.
+ void Initialize(const media::VideoDecodeAccelerator::Config& config,
IPC::Message* init_done_msg);
private:
« no previous file with comments | « content/common/gpu/media/fake_video_decode_accelerator.cc ('k') | content/common/gpu/media/gpu_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698