Add display id parameter
Add --display command line parameter to specify a display id. PR #1238 <https://github.com/Genymobile/scrcpy/pull/1238> Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
committed by
Romain Vimont
parent
5031b2c8ff
commit
4150eedcdf
@@ -286,6 +286,7 @@ scrcpy(const struct scrcpy_options *options) {
|
||||
.max_fps = options->max_fps,
|
||||
.lock_video_orientation = options->lock_video_orientation,
|
||||
.control = options->control,
|
||||
.display_id = options->display_id,
|
||||
};
|
||||
if (!server_start(&server, options->serial, ¶ms)) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user