| Previous | Next |
| MF_E_VIDEO_DEVICE_LOCKED | MF_E_NO_VIDEO_SAMPLE_AVAILABLE |
MF_E_NEW_VIDEO_DEVICE
MF_E_NEW_VIDEO_DEVICE is a device-generation change, not a corrupt video sample. The renderer's previous device is no longer the active device, so handles and resources tied to it must be closed and recreated.
Rebuild device-dependent state as one generation
- Log display-change events, device-manager reset tokens, presenter recreation, and the adapter used before and after the change.
- Stop submitting surfaces allocated from the old device once the device-change path begins.
- Recreate the device-dependent sample pool, DXVA services, and renderer resources before resuming failed sample requests.
The EVR raises MEStreamSinkDeviceChanged when the video device changes, and the Media Foundation pipeline resubmits sample requests that failed during that transition. Holding old Direct3D surfaces past the reset can turn a recoverable device change into sharing or invalid-device failures.
Microsoft: MEStreamSinkDeviceChanged · Microsoft: EVR presenter device management · Microsoft: Direct3D Device Manager
Looking for a different code? Search another status or error code.