Fix V4L2 error message when disabled
For consistency, use the same error message for --v4l2-sink and --v4l2-buffer.
This commit is contained in:
parent
e71f5358b3
commit
f46758d1c5
1 changed files with 2 additions and 1 deletions
|
@ -1871,7 +1871,8 @@ parse_args_with_getopt(struct scrcpy_cli_args *args, int argc, char *argv[],
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
#else
|
#else
|
||||||
LOGE("V4L2 (--v4l2-buffer) is only available on Linux.");
|
LOGE("V4L2 (--v4l2-buffer) is disabled (or unsupported on this "
|
||||||
|
"platform).");
|
||||||
return false;
|
return false;
|
||||||
#endif
|
#endif
|
||||||
case OPT_LIST_ENCODERS:
|
case OPT_LIST_ENCODERS:
|
||||||
|
|
Loading…
Reference in a new issue