Skip to content

Latest commit

 

History

History
41 lines (22 loc) · 1.62 KB

mfsampleextension-encryption-cryptbyteblock.md

File metadata and controls

41 lines (22 loc) · 1.62 KB
description ms.assetid title ms.topic ms.date
Specifies the encrypted byte block size for sample-based pattern encryption.
1F370DEC-20B5-456D-BB68-C94E183410F3
MFSampleExtension_Encryption_CryptByteBlock attribute (Mfidl.h)
reference
05/31/2018

MFSampleExtension_Encryption_CryptByteBlock attribute

Specifies the encrypted byte block size for sample-based pattern encryption.

Data type

UINT32

Remarks

The number of clear (non-encrypted) bytes in the subsample mapping block are specified in the MFSampleExtension_Encryption_SkipByteBlock attribute. If either of these attributes are not present or have a value of 0, it means that the sample is either 'cenc' or 'cbc1' depending on value of MFSampleExtension_Encryption_ProtectionScheme attribute.

In cases where the Source is MP4-based, the value is set based off the values of default_crypt_byte_block within the track encryption box (‘tenc’) in the MP4 header. For more information, see MFSampleExtension_Encryption_ProtectionScheme.

Requirements

Requirement Value
Minimum supported client
Windows 10, version 1709 [desktop apps only]
Minimum supported server
None supported
Header
Mfidl.h