| Previous | Next |
| EVENT_E_COMPLUS_NOT_INSTALLED | EVENT_E_CANT_MODIFY_OR_DELETE_UNCONFIGURED_OBJECT |
VFW_E_BUFFER_NOTSET
VFW_E_BUFFER_NOTSET is a DirectShow HRESULT. Before an allocator can provide samples, the connection must negotiate buffer count, size and alignment. This error indicates that the allocator has no usable buffer configuration for the requested operation.
What to inspect
- Call
IMemAllocator::SetPropertieswith a validALLOCATOR_PROPERTIESstructure before committing the allocator. - Base the buffer size on the negotiated media type, including image stride, audio block alignment or compressed sample requirements.
- Check that the final negotiated properties are read back and honoured; the allocator can adjust a requested configuration.
Do not assume that a nonzero buffer count alone is sufficient. The byte size and alignment must also support the media samples being delivered.
Microsoft: DirectShow media samples and allocators
Looking for a different code? Search another status or error code.