mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-12 19:19:04 +00:00
Add --record-orientation
Add an option to store the orientation to apply in a recorded file. Only rotations are supported (not flips). PR #4441 <https://github.com/Genymobile/scrcpy/pull/4441>
This commit is contained in:
parent
2f92686930
commit
a9d6cb5837
10 changed files with 108 additions and 1 deletions
|
@ -62,6 +62,7 @@ _scrcpy() {
|
|||
-r --record=
|
||||
--raw-key-events
|
||||
--record-format=
|
||||
--record-orientation=
|
||||
--render-driver=
|
||||
--require-audio
|
||||
--rotation=
|
||||
|
@ -117,6 +118,10 @@ _scrcpy() {
|
|||
COMPREPLY=($(compgen -> '0 90 180 270 flip0 flip90 flip180 flip270' -- "$cur"))
|
||||
return
|
||||
;;
|
||||
--record-orientation)
|
||||
COMPREPLY=($(compgen -> '0 90 180 270' -- "$cur"))
|
||||
return
|
||||
;;
|
||||
--lock-video-orientation)
|
||||
COMPREPLY=($(compgen -W 'unlocked initial 0 90 180 270' -- "$cur"))
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue