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

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

Issue 1412323002: ppapi: Support up to 32 subsamples in PP_EncryptedBlockInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed changes in thunk Created 5 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 | « no previous file | 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/pp_content_decryptor.idl
diff --git a/ppapi/api/private/pp_content_decryptor.idl b/ppapi/api/private/pp_content_decryptor.idl
index a952e0b0846c89615dd5c449cf2784f2ed233dca..690c8c76700c17a7f2240b99c35835134b682e71 100644
--- a/ppapi/api/private/pp_content_decryptor.idl
+++ b/ppapi/api/private/pp_content_decryptor.idl
@@ -81,7 +81,7 @@ struct PP_DecryptSubsampleDescription {
* The <code>PP_EncryptedBlockInfo</code> struct contains all the information
* needed to decrypt an encrypted block.
*/
-[assert_size(240)]
+[assert_size(368)]
struct PP_EncryptedBlockInfo {
/**
* Information needed by the client to track the block to be decrypted.
@@ -113,8 +113,13 @@ struct PP_EncryptedBlockInfo {
/**
* Subsample information of the block to be decrypted.
+ *
+ * TODO(xhwang): We need to have a fixed size of |subsamples| here. Choose 32
bbudge 2015/10/20 19:33:39 It's not clear what the TODO is here.
xhwang 2015/10/20 19:52:38 Agreed. Remove TODO here and above.
+ * because it is sufficient for almost all real life scenarios. Note that in
+ * theory the number of subsamples could be larger than 32. If that happens,
+ * playback will fail.
*/
- PP_DecryptSubsampleDescription[16] subsamples;
+ PP_DecryptSubsampleDescription[32] subsamples;
uint32_t num_subsamples;
};
« no previous file with comments | « no previous file | ppapi/api/private/ppp_content_decryptor_private.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698