What does HRESULT 0x8004020F (VFW_E_ALREADY_COMMITTED) mean?

 
Could be also:
ConstantTypeOS
EVENT_E_INVALID_EVENT_CLASS_PARTITIONHRESULTWindows
Previous Next
EVENT_E_INVALID_EVENT_CLASS_PARTITION EVENT_E_PER_USER_SID_NOT_LOGGED_ON

VFW_E_ALREADY_COMMITTED

VFW_E_ALREADY_COMMITTED is a DirectShow HRESULT. A committed allocator owns active buffer memory for streaming. Changing its properties while it is committed can invalidate samples held by connected filters, so DirectShow rejects the operation.

Correct sequence

  • Stop or deactivate the affected connection before changing allocator properties.
  • Call IMemAllocator::Decommit and make sure outstanding samples are released.
  • Set the new properties and call Commit again before resuming delivery.

If decommit cannot finish, look for filters or application code that still retains IMediaSample references.

Microsoft: DirectShow media samples and allocators


Looking for a different code? Search another status or error code.