Fix --encoder documentation

Mention that it depends on the codec provided by --codec (which is not
necessarily H264 anymore).
This commit is contained in:
Romain Vimont 2023-02-19 20:06:30 +01:00
parent b43938fa66
commit fa99763668
3 changed files with 4 additions and 3 deletions

View file

@ -18,7 +18,7 @@ arguments=(
'--display=[Specify the display id to mirror]' '--display=[Specify the display id to mirror]'
'--display-buffer=[Add a buffering delay \(in milliseconds\) before displaying]' '--display-buffer=[Add a buffering delay \(in milliseconds\) before displaying]'
{-e,--select-tcpip}'[Use TCP/IP device]' {-e,--select-tcpip}'[Use TCP/IP device]'
'--encoder=[Use a specific MediaCodec encoder \(must be a H.264 encoder\)]' '--encoder=[Use a specific MediaCodec encoder]'
'--force-adb-forward[Do not attempt to use \"adb reverse\" to connect to the device]' '--force-adb-forward[Do not attempt to use \"adb reverse\" to connect to the device]'
'--forward-all-clicks[Forward clicks to device]' '--forward-all-clicks[Forward clicks to device]'
{-f,--fullscreen}'[Start in fullscreen]' {-f,--fullscreen}'[Start in fullscreen]'

View file

@ -82,7 +82,7 @@ Also see \fB\-d\fR (\fB\-\-select\-usb\fR).
.TP .TP
.BI "\-\-encoder " name .BI "\-\-encoder " name
Use a specific MediaCodec encoder (must be a H.264 encoder). Use a specific MediaCodec encoder (depending on the codec provided by \fB\-\-codec\fR).
.TP .TP
.B \-\-force\-adb\-forward .B \-\-force\-adb\-forward

View file

@ -175,7 +175,8 @@ static const struct sc_option options[] = {
.longopt_id = OPT_ENCODER_NAME, .longopt_id = OPT_ENCODER_NAME,
.longopt = "encoder", .longopt = "encoder",
.argdesc = "name", .argdesc = "name",
.text = "Use a specific MediaCodec encoder (must be a H.264 encoder).", .text = "Use a specific MediaCodec encoder (depending on the codec "
"provided by --codec).",
}, },
{ {
.longopt_id = OPT_FORCE_ADB_FORWARD, .longopt_id = OPT_FORCE_ADB_FORWARD,