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

Unified Diff: webkit/media/crypto/ppapi/clear_key_cdm.cc

Issue 10900007: Add video decoding support in the CDM interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Replace uint8 with uint8_t. Created 8 years, 4 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
Index: webkit/media/crypto/ppapi/clear_key_cdm.cc
diff --git a/webkit/media/crypto/ppapi/clear_key_cdm.cc b/webkit/media/crypto/ppapi/clear_key_cdm.cc
index 835d06258a28020d9ae7612b75ed15c63a2293a9..9f68ab76ed7a7b21cc757c30284d30fccfdea74b 100644
--- a/webkit/media/crypto/ppapi/clear_key_cdm.cc
+++ b/webkit/media/crypto/ppapi/clear_key_cdm.cc
@@ -216,4 +216,23 @@ cdm::Status ClearKeyCdm::Decrypt(
return cdm::kSuccess;
}
+cdm::Status ClearKeyCdm::InitializeVideoDecoder(
+ const cdm::VideoDeocderConfig& video_decoder_config) {
+ return cdm::kErrorUnknown;
scherkus (not reviewing) 2012/09/01 12:33:08 add NOTIMPLEMENTED() so we get some logging
xhwang 2012/09/01 13:05:24 Done.
+}
+
+cdm::Status ClearKeyCdm::DecryptAndDecodeVideo(
+ const cdm::InputBuffer& encrypted_buffer,
+ cdm::VideoFrame* video_frame) {
+ return cdm::kErrorUnknown;
+}
+
+cdm::Status ClearKeyCdm::ResetVideoDecoder() {
+ return cdm::kErrorUnknown;
+}
+
+cdm::Status ClearKeyCdm::StopVideoDecoder() {
+ return cdm::kErrorUnknown;
+}
+
} // namespace webkit_media

Powered by Google App Engine
This is Rietveld 408576698