MFSampleExtension_PacketCrossOffsets attribute

Specifies the offsets to the payload boundaries in a frame for protected samples.

Data type

Byte array

Syntax

GUID MFSampleExtension_PacketCrossOffsets = {0x2789671d,0x389f,0x40bb,{0x90,0xd9,0xc2,0x82,0xf7,0x7f,0x9a,0xbd} }  

Get/set

To get this attribute, call IMFAttributes::GetBlob

To set this attribute, call IMFAttributes::SetBlob

Applies to

IMFSample:

Remarks

This attribute applies to media samples protected by Windows Media Digital Rights Management (DRM). The value of the attribute is an array of DWORDs. Each entry in the array is the offset of a payload boundary, relative to the start of the frame. An application can use these values when decrypting and reconstructing the frames.

The GUID constant for this attribute is exported from mfuuid.lib.

Requirements

Header: Declared in mfapi.h.