Disable controls on --no-mirror
If mirroring is disabled, control must also be disabled. PR #3978 <https://github.com/Genymobile/scrcpy/pull/3978>
This commit is contained in:
@@ -426,7 +426,8 @@ scrcpy(struct scrcpy_options *options) {
|
||||
|
||||
struct sc_file_pusher *fp = NULL;
|
||||
|
||||
if (options->mirror && options->control) {
|
||||
assert(!options->control || options->mirror); // control implies mirror
|
||||
if (options->control) {
|
||||
if (!sc_file_pusher_init(&s->file_pusher, serial,
|
||||
options->push_target)) {
|
||||
goto end;
|
||||
|
||||
Reference in New Issue
Block a user