- 09 1月, 2021 3 次提交
-
-
由 Romain Vimont 提交于
The size, point and position structs were defined in common.h. Move them to coords.h so that common.h could be used for generic code to be included in all source files.
-
由 Romain Vimont 提交于
The header libavformat/version.h was included, but not libavcodec/version.h. As a consequence, the LIBAVCODEC_VERSION_INT definition depended on the caller includes.
-
由 Romain Vimont 提交于
It had been replaced by struct sc_port_range in scrcpy.h.
-
- 08 1月, 2021 4 次提交
-
-
由 Romain Vimont 提交于
On Linux, waitpid() both waits for the process to terminate and reaps it (closes its handle). On Windows, these actions are separated into WaitForSingleObject() and CloseHandle(). Expose these actions separately, so that it is possible to send a signal to a process while waiting for its termination without race condition. This allows to wait for server termination normally, but kill the process without race condition if it is not terminated after some delay.
-
由 Romain Vimont 提交于
Adding "simple" in the function name brings no benefit.
-
由 Romain Vimont 提交于
Declare all the source files (including the platform-specific ones) at the beginning.
-
由 Romain Vimont 提交于
The process API provides the system-specific implementation, the adb API uses it to expose adb commands.
-
- 04 1月, 2021 2 次提交
-
-
由 Romain Vimont 提交于
Some devices use big display id values. Refs #2009 <https://github.com/Genymobile/scrcpy/issues/2009>
-
由 Romain Vimont 提交于
Due to gotos, "ret" may be returned uninitialized.
-
- 03 1月, 2021 1 次提交
-
-
由 clesiemo3 提交于
PR #2004 <https://github.com/Genymobile/scrcpy/pull/2004> Signed-off-by: NRomain Vimont <rom@rom1v.com>
-
- 02 1月, 2021 9 次提交
-
-
由 Romain Vimont 提交于
-
由 Romain Vimont 提交于
-
由 Romain Vimont 提交于
Let the server terminate properly once all the sockets are closed. If it does not terminate (this can happen if the device is asleep), then kill it. Note: since the server process termination is detected by a flag set after waitpid() returns, there is a small chance that the process terminates (and the PID assigned to a new process) before the flag is set but before the kill() call. This race condition already existed before this commit. Fixes #1992 <https://github.com/Genymobile/scrcpy/issues/1992>
-
由 Romain Vimont 提交于
TerminateProcess() is "equivalent" to kill(), while WaitForSingleObject() is "equivalent" to waitpid(), so the handle must be closed after WaitForSingleObject().
-
由 Romain Vimont 提交于
This will allow to add mutex/cond fields.
-
由 Romain Vimont 提交于
The (non-daemon) threads were not interrupted on video stream stopped, leaving the server process alive. Interrupt them to wake up their blocking call so that they terminate properly. Refs #1992 <https://github.com/Genymobile/scrcpy/issues/1992>
-
由 Romain Vimont 提交于
Mention that it is possible to add default arguments by editing the wrapper scripts.
-
由 Romain Vimont 提交于
-
由 Romain Vimont 提交于
-
- 01 1月, 2021 2 次提交
-
-
由 Romain Vimont 提交于
Include the latest version of SDL in Windows releases.
-
由 Romain Vimont 提交于
It's more standard, and benefits from syntax coloration in vi.
-
- 23 12月, 2020 2 次提交
-
-
由 Romain Vimont 提交于
Before this change, release.sh built some native stuff, and Makefile.CrossWindows built the Windows releases. Instead, use a single release.make to build the whole release. It also avoids to build the server one more time.
-
由 Romain Vimont 提交于
This simplifies the build system. Refs <https://github.com/Genymobile/scrcpy/issues/1975#issuecomment-745314161>
-
- 22 12月, 2020 3 次提交
-
-
由 Romain Vimont 提交于
-
由 Romain Vimont 提交于
PR #1973 <https://github.com/Genymobile/scrcpy/pull/1973> Reviewed-by: NYu-Chen Lin <npes87184@gmail.com>
-
由 Romain Vimont 提交于
-
- 17 12月, 2020 1 次提交
-
-
由 Romain Vimont 提交于
-
- 14 12月, 2020 2 次提交
-
-
由 Romain Vimont 提交于
On Windows, scrcpy paused on error before exiting to give the user a chance to see the user message. This was a hack and causes issues when using scrcpy from batch scripts. Disable this pause from the scrcpy binary, and provide a batch wrapper (scrcpy-console.bat) to pause on error. Fixes #1875 <https://github.com/Genymobile/scrcpy/issues/1875>
-
由 Romain Vimont 提交于
-
- 12 12月, 2020 4 次提交
-
-
由 Romain Vimont 提交于
Refs #1753 <https://github.com/Genymobile/scrcpy/issues/1753>
-
由 Romain Vimont 提交于
Include the latest version of adb in Windows releases.
-
由 Romain Vimont 提交于
-
由 jianzhang4 提交于
PR #1960 <https://github.com/Genymobile/scrcpy/pull/1960> Signed-off-by: NRomain Vimont <rom@rom1v.com>
-
- 11 12月, 2020 1 次提交
-
-
由 SamBe.ng 提交于
PR #1944 <https://github.com/Genymobile/scrcpy/pull/1944> Signed-off-by: NRomain Vimont <rom@rom1v.com>
-
- 24 11月, 2020 1 次提交
-
-
由 Romain Vimont 提交于
-
- 15 11月, 2020 1 次提交
-
-
由 Romain Vimont 提交于
Use "%Iu" on Windows. This fixes the following warning: ../app/src/sys/win/command.c:17:14: warning: unknown conversion type character ‘l’ in format [-Wformat=] 17 | LOGE("Command too long (%" PRIsizet " chars)", len - 1);
-
- 09 11月, 2020 4 次提交
-
-
由 Romain Vimont 提交于
Add documentation for the new option --encoder in the manpage and in README.md.
-
由 Romain Vimont 提交于
If an invalid encoder name is given via the --encoder option, list all the H.264 encoders available on the device.
-
由 Romain Vimont 提交于
When the encoder is selected automatically, log the name of the selected encoder.
-
由 Tzah Mazuz 提交于
Some devices have more than one encoder, and some encoders may cause issues or crash. With this option we can specify which encoder we want the device to use. PR #1827 <https://github.com/Genymobile/scrcpy/pull/1827> Fixes #1810 <https://github.com/Genymobile/scrcpy/issues/1810> Signed-off-by: NRomain Vimont <rom@rom1v.com>
-