Adding new option --encoder
Some devices have more than one encoder, and some encoders may cause issues or crash. With this option we can specify which encoder we want the device to use. PR #1827 <https://github.com/Genymobile/scrcpy/pull/1827> Fixes #1810 <https://github.com/Genymobile/scrcpy/issues/1810> Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
committed by
Romain Vimont
parent
d5f059c7cb
commit
76c2c6e69d
@@ -51,6 +51,7 @@ struct scrcpy_options {
|
||||
const char *push_target;
|
||||
const char *render_driver;
|
||||
const char *codec_options;
|
||||
const char *encoder_name;
|
||||
enum sc_log_level log_level;
|
||||
enum sc_record_format record_format;
|
||||
struct sc_port_range port_range;
|
||||
@@ -91,6 +92,7 @@ struct scrcpy_options {
|
||||
.push_target = NULL, \
|
||||
.render_driver = NULL, \
|
||||
.codec_options = NULL, \
|
||||
.encoder_name = NULL, \
|
||||
.log_level = SC_LOG_LEVEL_INFO, \
|
||||
.record_format = SC_RECORD_FORMAT_AUTO, \
|
||||
.port_range = { \
|
||||
|
||||
Reference in New Issue
Block a user