Skip to content

Latest commit

 

History

History
68 lines (38 loc) · 2.48 KB

mf-devsource-attribute-source-type-vidcap-max-buffers.md

File metadata and controls

68 lines (38 loc) · 2.48 KB
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

MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_MAX_BUFFERS attribute

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:

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
Mfidl.h

See also

Alphabetical List of Media Foundation Attributes

Audio/Video Capture

Capture Device Attributes