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

Unified Diff: media/video/video_decode_accelerator.cc

Issue 2058113002: Add 'cbcs' encryption scheme support in Android media. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months 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
« media/base/encryption_scheme.h ('K') | « media/video/video_decode_accelerator.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/video/video_decode_accelerator.cc
diff --git a/media/video/video_decode_accelerator.cc b/media/video/video_decode_accelerator.cc
index 02901535dacdec979232af7b0bb5a5cb6baacba1..9062837faf84b6b65f2f42a7eaaa5f6eb92487ad 100644
--- a/media/video/video_decode_accelerator.cc
+++ b/media/video/video_decode_accelerator.cc
@@ -9,13 +9,15 @@
namespace media {
+VideoDecodeAccelerator::Config::Config() = default;
+
VideoDecodeAccelerator::Config::Config(VideoCodecProfile video_codec_profile)
: profile(video_codec_profile) {}
std::string VideoDecodeAccelerator::Config::AsHumanReadableString() const {
std::ostringstream s;
s << "profile: " << GetProfileName(profile) << " encrypted? "
- << (is_encrypted ? "true" : "false");
+ << (is_encrypted() ? "true" : "false");
return s.str();
}
« media/base/encryption_scheme.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