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

Unified Diff: content/common/gpu/media/fake_video_decode_accelerator.cc

Issue 1485043002: Passed is_encrypted parameter to the VDA initialization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Deleted erroneously added files Created 5 years, 1 month 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/fake_video_decode_accelerator.cc
diff --git a/content/common/gpu/media/fake_video_decode_accelerator.cc b/content/common/gpu/media/fake_video_decode_accelerator.cc
index eff497f48e7fbad6bb33a02ca00774ab59628a71..ffa4cad214342cff1005848eb1e56d6b5003b1e7 100644
--- a/content/common/gpu/media/fake_video_decode_accelerator.cc
+++ b/content/common/gpu/media/fake_video_decode_accelerator.cc
@@ -41,10 +41,11 @@ FakeVideoDecodeAccelerator::FakeVideoDecodeAccelerator(
FakeVideoDecodeAccelerator::~FakeVideoDecodeAccelerator() {
}
-bool FakeVideoDecodeAccelerator::Initialize(media::VideoCodecProfile profile,
- Client* client) {
+bool FakeVideoDecodeAccelerator::Initialize(
+ const media::VideoDecodeAccelerator::InitParams& params,
+ Client* client) {
DCHECK(child_task_runner_->BelongsToCurrentThread());
- if (profile == media::VIDEO_CODEC_PROFILE_UNKNOWN) {
+ if (params.profile == media::VIDEO_CODEC_PROFILE_UNKNOWN) {
LOG(ERROR) << "unknown codec profile";
return false;
}

Powered by Google App Engine
This is Rietveld 408576698