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

Unified Diff: media/filters/gpu_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
« no previous file with comments | « content/renderer/pepper/video_decoder_shim.cc ('k') | media/video/mock_video_decode_accelerator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/gpu_video_decoder.cc
diff --git a/media/filters/gpu_video_decoder.cc b/media/filters/gpu_video_decoder.cc
index b7229f00124e94c3c77d383ed47639b94336984f..18a1cc7ee85a4864baf92086325557ac0237c12c 100644
--- a/media/filters/gpu_video_decoder.cc
+++ b/media/filters/gpu_video_decoder.cc
@@ -174,7 +174,10 @@ void GpuVideoDecoder::Initialize(const VideoDecoderConfig& config,
}
vda_ = factories_->CreateVideoDecodeAccelerator().Pass();
- if (!vda_ || !vda_->Initialize(config.profile(), this)) {
+
+ VideoDecodeAccelerator::Config vda_config(config);
+
+ if (!vda_ || !vda_->Initialize(vda_config, this)) {
DVLOG(1) << "VDA initialization failed.";
bound_init_cb.Run(false);
return;
« no previous file with comments | « content/renderer/pepper/video_decoder_shim.cc ('k') | media/video/mock_video_decode_accelerator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698