mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-08 17:18:55 +00:00
Rename --codec to --video-codec
This prepares the introduction of --audio-codec. PR #3757 <https://github.com/Genymobile/scrcpy/pull/3757>
This commit is contained in:
parent
a1802dab76
commit
cee40ca047
13 changed files with 56 additions and 42 deletions
|
@ -3,7 +3,6 @@ _scrcpy() {
|
|||
local opts="
|
||||
--always-on-top
|
||||
-b --bit-rate=
|
||||
--codec=
|
||||
--codec-options=
|
||||
--crop=
|
||||
-d --select-usb
|
||||
|
@ -55,6 +54,7 @@ _scrcpy() {
|
|||
--v4l2-sink=
|
||||
-V --verbosity=
|
||||
-v --version
|
||||
--video-codec=
|
||||
-w --stay-awake
|
||||
--window-borderless
|
||||
--window-title=
|
||||
|
@ -66,7 +66,7 @@ _scrcpy() {
|
|||
_init_completion -s || return
|
||||
|
||||
case "$prev" in
|
||||
--codec)
|
||||
--video-codec)
|
||||
COMPREPLY=($(compgen -W 'h264 h265 av1' -- "$cur"))
|
||||
return
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue