From 87709cfdf2922dbd5f7ba45694205b8ca7e69fc8 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Thu, 26 Sep 2024 00:08:06 +0200 Subject: [PATCH] Remove verbose prints from CameraServer on Linux due to being printed every second --- modules/camera/camera_linux.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/camera/camera_linux.cpp b/modules/camera/camera_linux.cpp index 0cfb6b7b9ed..28e86af3b54 100644 --- a/modules/camera/camera_linux.cpp +++ b/modules/camera/camera_linux.cpp @@ -134,17 +134,14 @@ bool CameraLinux::_is_video_capture_device(int p_file_descriptor) { struct v4l2_capability capability; if (ioctl(p_file_descriptor, VIDIOC_QUERYCAP, &capability) == -1) { - print_verbose("Cannot query device"); return false; } if (!(capability.capabilities & V4L2_CAP_VIDEO_CAPTURE)) { - print_verbose(vformat("%s is no video capture device\n", String((char *)capability.card))); return false; } if (!(capability.capabilities & V4L2_CAP_STREAMING)) { - print_verbose(vformat("%s does not support streaming", String((char *)capability.card))); return false; }