Specifies how many buffers the video-sample allocator creates for each video sample.
UINT32
DECLSPEC_SELECTANY GUID MF_SA_BUFFERS_PER_SAMPLE = {0x873c5171,0x1e3d,0x4e25,{0x98,0x8d,0xb4,0x33,0xce,0x04,0x19,0x83} }
If you use the IMFVideoSampleAllocatorEx interface to allocate video samples, you can use this attribute to create video samples that contain multiple buffers. For example, if the attribute value is 2, the allocator creates two video buffers for each video sample. Set the attribute in the pAttributes parameter of the IMFVideoSampleAllocatorEx::InitializeSampleAllocatorEx method.
The default value is 1. If the attribute is not set, the allocator creates video samples that contain a single buffer per sample.
This attribute is primarily intended for Media Foundation transforms (MFTs) that support stereo 3D output, in the following situation:
If all of these criteria are true, the MFT should set the attribute value to 2 (one buffer per view).
Header: Declared in mftransform.h.