diff --git a/cmvr-es/devices/camera/uvc_camera/src/uvc_camera.cpp b/cmvr-es/devices/camera/uvc_camera/src/uvc_camera.cpp index 1bad4278..eb4179c0 100644 --- a/cmvr-es/devices/camera/uvc_camera/src/uvc_camera.cpp +++ b/cmvr-es/devices/camera/uvc_camera/src/uvc_camera.cpp @@ -265,9 +265,10 @@ bool UVCCamera::open_capture_() capture_error_.clear(); } + avdevice_register_all(); auto* input_format = av_find_input_format("v4l2"); if (!input_format) { - capture_error_ = "FFmpeg v4l2 input format is unavailable"; + capture_error_ = "FFmpeg was built without the v4l2 input device"; return false; }