Skip to content

Display and control your Android device

Fix V4L2 error message when disabled

Romain Vimontf46758d1c5cc
diff --git a/app/src/cli.c b/app/src/cli.c
index 60a007e9..10565da9 100644
--- a/app/src/cli.c
+++ b/app/src/cli.c
@@ -1871,7 +1871,8 @@ parse_args_with_getopt(struct scrcpy_cli_args *args, int argc, char *argv[],
}
break;
#else
- LOGE("V4L2 (--v4l2-buffer) is only available on Linux.");
+ LOGE("V4L2 (--v4l2-buffer) is disabled (or unsupported on this "
+ "platform).");
return false;
#endif
case OPT_LIST_ENCODERS: