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

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: Rebased 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..8f4c69d8889a021c918f58a1520e7368e779284e 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 |config.profile|. Send the |init_done_msg|
Pawel Osciak 2015/12/04 00:48:58 We should probably say for given config, as we may
Tima Vaisburd 2015/12/04 01:36:51 Done.
+ // 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:

Powered by Google App Engine
This is Rietveld 408576698