MFSampleExtension_PacketCrossOffsets attribute

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

Data type

Byte array

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

Requirement Value
Minimum supported client
Windows Vista [desktop apps | UWP apps]
Minimum supported server
Windows Server 2008 [desktop apps | UWP apps]
Header
Wmcontainer.h

See also

Alphabetical List of Media Foundation Attributes

ASF Splitter

Sample Attributes

Media Samples