Skip to content

Display and control your Android device

Print scrcpy header first

Romain Vimont6da6d905c2ae
diff --git a/app/src/main.c b/app/src/main.c
index 831b98fa..690e4070 100644
--- a/app/src/main.c
+++ b/app/src/main.c
@@ -47,6 +47,9 @@ main(int argc, char *argv[]) {
setbuf(stderr, NULL);
#endif
+ printf("scrcpy " SCRCPY_VERSION
+ " <https://github.com/Genymobile/scrcpy>\n");
+
struct scrcpy_cli_args args = {
.opts = scrcpy_options_default,
.help = false,
@@ -73,8 +76,6 @@ main(int argc, char *argv[]) {
return 0;
}
- LOGI("scrcpy " SCRCPY_VERSION " <https://github.com/Genymobile/scrcpy>");
-
#ifdef SCRCPY_LAVF_REQUIRES_REGISTER_ALL
av_register_all();
#endif