| 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::Decommitand make sure outstanding samples are released. - Set the new properties and call
Commitagain 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.