mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-12-17 05:24:19 +01:00
Add crop feature
Add an option to crop the screen on the server. This allows to mirror only part of the device screen.
This commit is contained in:
@@ -31,7 +31,7 @@ void server_init(struct server *server);
|
||||
|
||||
// push, enable tunnel et start the server
|
||||
SDL_bool server_start(struct server *server, const char *serial, Uint16 local_port,
|
||||
Uint16 max_size, Uint32 bit_rate);
|
||||
Uint16 max_size, Uint32 bit_rate, const char *crop);
|
||||
|
||||
// block until the communication with the server is established
|
||||
socket_t server_connect_to(struct server *server);
|
||||
|
||||
Reference in New Issue
Block a user