2
0
mirror of https://github.com/Genymobile/scrcpy synced 2025-09-01 23:05:19 +00:00

Define v4l2 option field only if HAVE_V4L2

This commit is contained in:
Romain Vimont
2021-10-27 18:43:47 +02:00
parent 27fa23846d
commit 34eb10ea0b
2 changed files with 4 additions and 0 deletions

View File

@@ -70,7 +70,9 @@ struct scrcpy_options {
const char *render_driver;
const char *codec_options;
const char *encoder_name;
#ifdef HAVE_V4L2
const char *v4l2_device;
#endif
enum sc_log_level log_level;
enum sc_record_format record_format;
enum sc_keyboard_input_mode keyboard_input_mode;