Add a new option: -n/--no-window

This option will allow scrcpy to record the stream without display.

Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
CapsLock
2019-02-01 22:53:24 +01:00
committed by Romain Vimont
parent e6e011baaf
commit 421a1141e2
3 changed files with 23 additions and 1 deletions

View File

@@ -15,6 +15,7 @@ struct scrcpy_options {
SDL_bool show_touches;
SDL_bool fullscreen;
SDL_bool always_on_top;
SDL_bool no_window;
};
SDL_bool scrcpy(const struct scrcpy_options *options);