Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the maximum number of frames that the video capture source will buffer.
Data type
UINT32
Get/set
To get this attribute, call IMFAttributes::GetUINT32.
To set this attribute, call IMFAttributes::SetUINT32.
Remarks
By default, the video capture source buffers a maximum of one frame at a time. You can increase the buffer limit by setting this attribute.
The correct way to set this attribute depends on the function used to create the media source:
- MFCreateDeviceSource: Set the attribute through the pAttributes parameter of the function.
- MFCreateDeviceSourceActivate: Set the attribute through the pAttributes parameter of the function.
- MFEnumDeviceSources: Set the attribute on the IMFActivate pointer returned by the function. Set the attribute before calling IMFActivate::ActivateObject.
The attribute applies only to video capture devices.
The GUID constant for this attribute is exported from mfuuid.lib.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
|
See also