mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-12 02:59:02 +00:00
Add --audio-codec
Introduce the selection mechanism. Alternative codecs will be added later. PR #3757 <https://github.com/Genymobile/scrcpy/pull/3757>
This commit is contained in:
parent
0870b8c8be
commit
839b842aa7
12 changed files with 69 additions and 6 deletions
|
@ -3,6 +3,7 @@ _scrcpy() {
|
|||
local opts="
|
||||
--always-on-top
|
||||
--audio-bit-rate=
|
||||
--audio-codec=
|
||||
-b --video-bit-rate=
|
||||
--crop=
|
||||
-d --select-usb
|
||||
|
@ -71,6 +72,10 @@ _scrcpy() {
|
|||
COMPREPLY=($(compgen -W 'h264 h265 av1' -- "$cur"))
|
||||
return
|
||||
;;
|
||||
--audio-codec)
|
||||
COMPREPLY=($(compgen -W 'opus' -- "$cur"))
|
||||
return
|
||||
;;
|
||||
--lock-video-orientation)
|
||||
COMPREPLY=($(compgen -W 'unlocked initial 0 1 2 3' -- "$cur"))
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue