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

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

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: Renaming and generalizing done... 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
Index: webkit/media/crypto/ppapi/clear_key_cdm.h
diff --git a/webkit/media/crypto/ppapi/clear_key_cdm.h b/webkit/media/crypto/ppapi/clear_key_cdm.h
index 2d3e102037011fb60fd4e88e4516674aef2f1f0b..d1455500d56e335e370514a4d7dcfb028e70d650 100644
--- a/webkit/media/crypto/ppapi/clear_key_cdm.h
+++ b/webkit/media/crypto/ppapi/clear_key_cdm.h
@@ -47,8 +47,8 @@ class ClearKeyCdm : public cdm::ContentDecryptionModule {
virtual cdm::Status DecryptAndDecodeFrame(
const cdm::InputBuffer& encrypted_buffer,
cdm::VideoFrame* video_frame) OVERRIDE;
- virtual void ResetVideoDecoder() OVERRIDE;
- virtual void StopVideoDecoder() OVERRIDE;
+ virtual void DeinitializeDecoder(cdm::StreamType decoder_type) OVERRIDE;
+ virtual void ResetDecoder(cdm::StreamType decoder_type) OVERRIDE;
private:
class Client : public media::DecryptorClient {

Powered by Google App Engine
This is Rietveld 408576698