The application should either end the current recording or properly recover from losing the D3D device.