Rename --codec-options to --video-codec-options

This prepares the introduction of --audio-codec-options.
This commit is contained in:
Romain Vimont
2023-02-21 21:46:34 +01:00
parent 207ae8b73c
commit f3b4160d77
11 changed files with 49 additions and 39 deletions

View File

@@ -3,7 +3,6 @@ _scrcpy() {
local opts="
--always-on-top
-b --video-bit-rate=
--codec-options=
--crop=
-d --select-usb
--disable-screensaver
@@ -55,6 +54,7 @@ _scrcpy() {
-V --verbosity=
-v --version
--video-codec=
--video-codec-options=
-w --stay-awake
--window-borderless
--window-title=

View File

@@ -10,7 +10,6 @@ local arguments
arguments=(
'--always-on-top[Make scrcpy window always on top \(above other windows\)]'
{-b,--video-bit-rate=}'[Encode the video at the given bit-rate]'
'--codec-options=[Set a list of comma-separated key\:type=value options for the device encoder]'
'--crop=[\[width\:height\:x\:y\] Crop the device screen on the server]'
{-d,--select-usb}'[Use USB device]'
'--disable-screensaver[Disable screensaver while scrcpy is running]'
@@ -60,6 +59,7 @@ arguments=(
{-V,--verbosity=}'[Set the log level]:verbosity:(verbose debug info warn error)'
{-v,--version}'[Print the version of scrcpy]'
'--video-codec=[Select the video codec]:codec:(h264 h265 av1)'
'--video-codec-options=[Set a list of comma-separated key\:type=value options for the device video encoder]'
{-w,--stay-awake}'[Keep the device on while scrcpy is running, when the device is plugged in]'
'--window-borderless[Disable window decorations \(display borderless window\)]'
'--window-title=[Set a custom window title]'