description | ms.assetid | title | ms.topic | ms.date |
---|---|---|---|---|
Indicates whether a sample is a random access point. |
03d4bfd8-1148-4551-8e71-05cfba2e15fa |
MFSampleExtension_CleanPoint attribute (Mfapi.h) |
reference |
05/31/2018 |
Indicates whether a sample is a random access point.
BOOL stored as UINT32
To get this attribute, call IMFAttributes::GetUINT32.
To set this attribute, call IMFAttributes::SetUINT32.
This attribute applies to samples. If the attribute is TRUE, the sample is a random access point and decoding can begin from this sample. Otherwise, the sample is not a random access point.
If this attribute is not set, the default value is FALSE.
The GUID constant for this attribute is exported from mfuuid.lib.
inline BOOL IsRandomAccessPoint(IMFSample *pSample)
{
// Check for the "clean point" attribute. Default to FALSE.
return MFGetAttributeUINT32(pSample, MFSampleExtension_CleanPoint, FALSE);
}
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps | UWP apps] |
Minimum supported server |
Windows Server 2008 [desktop apps | UWP apps] |
Header |
|