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

Unified Diff: content/renderer/media/rtc_video_decoder.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/renderer/media/rtc_video_decoder.cc
diff --git a/content/renderer/media/rtc_video_decoder.cc b/content/renderer/media/rtc_video_decoder.cc
index aebe9f2846c8e5e72cd12c73af4ccacfe66cf01d..bc53a6a236601e55515dc27af5e8f880aa36a360 100644
--- a/content/renderer/media/rtc_video_decoder.cc
+++ b/content/renderer/media/rtc_video_decoder.cc
@@ -674,7 +674,9 @@ void RTCVideoDecoder::CreateVDA(media::VideoCodecProfile profile,
DVLOG(1) << "Unsupported profile " << profile;
} else {
vda_ = factories_->CreateVideoDecodeAccelerator();
- if (vda_ && !vda_->Initialize(profile, this))
+
+ media::VideoDecodeAccelerator::InitParams init_params(profile);
+ if (vda_ && !vda_->Initialize(init_params, this))
vda_.release()->Destroy();
}

Powered by Google App Engine
This is Rietveld 408576698