description | ms.assetid | title | ms.topic | ms.date |
---|---|---|---|---|
Specifies the maximum number of frames that the video capture source will buffer. |
af30606b-f1a0-4fbf-a831-05ed891f5d53 |
MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_MAX_BUFFERS attribute (Mfidl.h) |
reference |
05/31/2018 |
Specifies the maximum number of frames that the video capture source will buffer.
UINT32
To get this attribute, call IMFAttributes::GetUINT32.
To set this attribute, call IMFAttributes::SetUINT32.
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.
Requirement | Value |
---|---|
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
|