What does HRESULT 0x8004020C (VFW_E_BUFFER_NOTSET) mean?

 
Could be also:
ConstantTypeOS
EVENT_E_COMPLUS_NOT_INSTALLEDHRESULTWindows
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::SetProperties with a valid ALLOCATOR_PROPERTIES structure 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.