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

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: Addressed comments 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/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..1f43ba24104ed088233a5736d9a36259ad1e497a 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::Config config(profile);
+ if (vda_ && !vda_->Initialize(config, this))
vda_.release()->Destroy();
}
« no previous file with comments | « content/common/gpu/media/vt_video_decode_accelerator_mac.cc ('k') | content/renderer/pepper/video_decoder_shim.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698