Fix encoder parameter suggestion

The option is --encoder, not --encoder-name.
This commit is contained in:
Romain Vimont 2021-03-11 10:55:12 +01:00
parent d1789f082a
commit 429fdef04f

View file

@ -230,7 +230,7 @@ public final class Server {
if (encoders != null && encoders.length > 0) {
Ln.e("Try to use one of the available encoders:");
for (MediaCodecInfo encoder : encoders) {
Ln.e(" scrcpy --encoder-name '" + encoder.getName() + "'");
Ln.e(" scrcpy --encoder '" + encoder.getName() + "'");
}
}
}