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

Unified Diff: ppapi/api/private/ppb_content_decryptor_private.idl

Issue 11013052: Add PPAPI CDM video decoder initialization. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. 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 | « ppapi/api/private/pp_content_decryptor.idl ('k') | ppapi/api/private/ppp_content_decryptor_private.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/private/ppb_content_decryptor_private.idl
diff --git a/ppapi/api/private/ppb_content_decryptor_private.idl b/ppapi/api/private/ppb_content_decryptor_private.idl
index d73cae1b95373f1c7d5f0ddf121ba6ae6050104f..b26a43013794c983c14931cca2fa121f09122ce7 100644
--- a/ppapi/api/private/ppb_content_decryptor_private.idl
+++ b/ppapi/api/private/ppb_content_decryptor_private.idl
@@ -9,7 +9,7 @@
* Decryption Modules, not normal plugins.
*/
label Chrome {
- M23 = 0.2
+ M24 = 0.3
};
/**
@@ -146,6 +146,26 @@ interface PPB_ContentDecryptor_Private {
[in] PP_DecryptedBlockInfo decrypted_block_info);
/**
+ * Called after the <code>InitializeAudioDecoder()</code> or
+ * <code>InitializeVideoDecoder()</code> method on the
+ * <code>PPP_ContentDecryptor_Private</code> interface completes to report
+ * decoder initialization status to the browser.
+ *
+ * @param[in] success A <code>PP_Bool</code> that is set to
+ * <code>PP_TRUE</code> when the decoder initialization request associated
+ * with <code>request_id</code> was successful.
+ *
+ * @param[in] request_id The <code>request_id</code> value passed to
+ * <code>InitializeAudioDecoder</code> or <code>InitializeVideoDecoder</code>
+ * in <code>PP_AudioDecoderConfig</code> or
+ * <code>PP_VideoDecoderConfig</code>.
+ */
+ void DecoderInitialized(
+ [in] PP_Instance instance,
+ [in] PP_Bool success,
+ [in] uint32_t request_id);
+
+ /**
* Called after the <code>DecryptAndDecode()</code> method on the
* <code>PPP_ContentDecryptor_Private</code> interface completes to deliver
* a decrypted and decoded video frame to the browser for rendering.
« no previous file with comments | « ppapi/api/private/pp_content_decryptor.idl ('k') | ppapi/api/private/ppp_content_decryptor_private.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698