Log scrcpy version and URL on start

Keep --version which also print the version of dependencies.
This commit is contained in:
Romain Vimont 2019-07-31 01:55:43 +02:00
parent 35d9185f6c
commit d4ed8b6f26

View file

@ -485,6 +485,8 @@ main(int argc, char *argv[]) {
return 0; return 0;
} }
LOGI("scrcpy " SCRCPY_VERSION " <https://github.com/Genymobile/scrcpy>");
#ifdef SCRCPY_LAVF_REQUIRES_REGISTER_ALL #ifdef SCRCPY_LAVF_REQUIRES_REGISTER_ALL
av_register_all(); av_register_all();
#endif #endif