Skip to content

Commit

Permalink
Fix encoder parameter suggestion
Browse files Browse the repository at this point in the history
The option is --encoder, not --encoder-name.
  • Loading branch information
rom1v committed Mar 11, 2021
1 parent d1789f0 commit 429fdef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/main/java/com/genymobile/scrcpy/Server.java
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ private static void suggestFix(Throwable e) {
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() + "'");
}
}
}
Expand Down

0 comments on commit 429fdef

Please sign in to comment.