Hi,

should motion generate EVENT_CAMERA_LOST if "Video device fatal error" occurred? In this situation the "on_camera_lost" script is not executed:

[1] [ERR] [ALL] motion_loop: Video device fatal error - Closing video device
[1] [NTC] [VID] vid_close: Closing video device /dev/video0


Is it by design?