Add display id parameter

Add --display command line parameter to specify a display id.
This commit is contained in:
e_vigurskiy
2020-02-24 14:16:38 +03:00
committed by Romain Vimont
parent 5031b2c8ff
commit 429153abfb
16 changed files with 241 additions and 16 deletions

View File

@@ -33,6 +33,15 @@ The values are expressed in the device natural orientation (typically, portrait
.B \-\-max\-size
value is computed on the cropped size.
.TP
.BI "\-\-display " id
Specify the display id to mirror.
The list of possible display ids can be listed by "adb shell dumpsys display"
(search "mDisplayId=" in the output).
Default is 0.
.TP
.B \-f, \-\-fullscreen
Start in fullscreen.