Add support for H265

Add option --codec=h265.

PR #3713 <https://github.com/Genymobile/scrcpy/pull/3713>
Fixes #3092 <https://github.com/Genymobile/scrcpy/issues/3092>
This commit is contained in:
Romain Vimont 2023-02-03 12:40:55 +01:00
commit 4342c5637d
7 changed files with 19 additions and 6 deletions

View file

@ -161,6 +161,8 @@ sc_server_get_codec_name(enum sc_codec codec) {
switch (codec) {
case SC_CODEC_H264:
return "h264";
case SC_CODEC_H265:
return "h265";
default:
return NULL;
}