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

Unified Diff: media/video/video_decode_accelerator.cc

Issue 1438063002: media: Support SetCdm() on VideoDecodeAccelerator interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments addressed 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 6ffbda53b50a6f77b79b1a3139f7363494314326..0c6b2b98ad8746f4110bffceea84f7294154f4e6 100644
--- a/media/video/video_decode_accelerator.cc
+++ b/media/video/video_decode_accelerator.cc
@@ -9,8 +9,16 @@
namespace media {
+void VideoDecodeAccelerator::Client::NotifyCdmAttached(bool success) {
+ NOTREACHED() << "By default CDM is not supported.";
+}
+
VideoDecodeAccelerator::~VideoDecodeAccelerator() {}
+void VideoDecodeAccelerator::SetCdm(int cdm_id) {
+ NOTREACHED() << "By default CDM is not supported.";
+}
+
bool VideoDecodeAccelerator::CanDecodeOnIOThread() {
// GPU process subclasses must override this.
LOG(FATAL) << "This should only get called in the GPU process";
« 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