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

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

Issue 11028087: Add decoder de-initialize and reset to the Pepper CDM API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments with the exception of renaming Deinit Created 8 years, 2 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
« no previous file with comments | « webkit/media/crypto/ppapi/clear_key_cdm.h ('k') | webkit/media/crypto/ppapi/content_decryption_module.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 750814e7ff2011d7159b7034ca9fc666f3364d08..4f0eaef613a9facb361ddb30548154d6914d4029 100644
--- a/webkit/media/crypto/ppapi/clear_key_cdm.cc
+++ b/webkit/media/crypto/ppapi/clear_key_cdm.cc
@@ -239,19 +239,19 @@ cdm::Status ClearKeyCdm::InitializeVideoDecoder(
return cdm::kSessionError;
}
-cdm::Status ClearKeyCdm::DecryptAndDecodeFrame(
- const cdm::InputBuffer& encrypted_buffer,
- cdm::VideoFrame* video_frame) {
+void ClearKeyCdm::ResetDecoder(cdm::StreamType) {
NOTIMPLEMENTED();
- return cdm::kDecryptError;
}
-void ClearKeyCdm::ResetVideoDecoder() {
+void ClearKeyCdm::DeinitializeDecoder(cdm::StreamType) {
NOTIMPLEMENTED();
}
-void ClearKeyCdm::StopVideoDecoder() {
+cdm::Status ClearKeyCdm::DecryptAndDecodeFrame(
+ const cdm::InputBuffer& encrypted_buffer,
+ cdm::VideoFrame* video_frame) {
NOTIMPLEMENTED();
+ return cdm::kDecryptError;
}
} // namespace webkit_media
« no previous file with comments | « webkit/media/crypto/ppapi/clear_key_cdm.h ('k') | webkit/media/crypto/ppapi/content_decryption_module.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698