| Previous | Next |
| VFW_E_STATE_CHANGED | VFW_E_NOT_PAUSED |
VFW_E_NOT_STOPPED
VFW_E_NOT_STOPPED is a DirectShow HRESULT. Some changes cannot be made while media is queued or streaming. The filter may be paused or running even when it appears idle to the user, so the application must use the DirectShow state transition rather than a UI assumption.
How to handle it
- Call
IMediaControl::Stopfor graph-wide changes and wait for the state transition to complete. - Perform the requested reconfiguration only after the affected filter reports the stopped state.
- If the graph is in an asynchronous transition, avoid issuing a conflicting operation until it settles.
Stopping a graph also affects allocator lifetime and queued media samples, so do not retain sample objects across the transition.
Microsoft: DirectShow filter states
Looking for a different code? Search another status or error code.
