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

Unified Diff: media/video/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: 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: media/video/video_decode_accelerator.cc
diff --git a/media/video/video_decode_accelerator.cc b/media/video/video_decode_accelerator.cc
index 7449a2aec7f56c087b59183c1d8f70494a077a65..62f634120dfa4a0a49bcab02403e7cd773d1da12 100644
--- a/media/video/video_decode_accelerator.cc
+++ b/media/video/video_decode_accelerator.cc
@@ -9,6 +9,10 @@
namespace media {
+VideoDecodeAccelerator::InitParams::InitParams(VideoCodecProfile p,
+ bool is_encr)
+ : profile(p), is_encrypted(is_encr) {}
+
void VideoDecodeAccelerator::Client::NotifyCdmAttached(bool success) {
NOTREACHED() << "By default CDM is not supported.";
}
« media/video/video_decode_accelerator.h ('K') | « media/video/video_decode_accelerator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698