Add --list-encoders

Add an option to list the device encoders properly.

PR #3757 <https://github.com/Genymobile/scrcpy/pull/3757>
This commit is contained in:
Romain Vimont
2023-02-22 23:15:15 +01:00
parent e4eae49eed
commit fe9166a88c
16 changed files with 157 additions and 29 deletions

View File

@@ -154,6 +154,7 @@ struct scrcpy_options {
bool start_fps_counter;
bool power_on;
bool audio;
bool list_encoders;
};
extern const struct scrcpy_options scrcpy_options_default;