- 08 10月, 2021 1 次提交
-
-
由 Alberto Pasqualetto 提交于
PR #2650 <https://github.com/Genymobile/scrcpy/pull/2650> Signed-off-by: NRomain Vimont <rom@rom1v.com>
-
- 12 9月, 2021 1 次提交
-
-
由 Romain Vimont 提交于
-
- 11 9月, 2021 3 次提交
-
-
由 Romain Vimont 提交于
-
由 Romain Vimont 提交于
-
由 Romain Vimont 提交于
-
- 10 9月, 2021 1 次提交
-
-
由 Romain Vimont 提交于
For sockets functions, Windows does not store error codes in errno, so perror() does not print any error. Use WSAGetLastError() instead. Refs #2624 <https://github.com/Genymobile/scrcpy/issues/2624>
-
- 09 9月, 2021 1 次提交
-
-
由 Romain Vimont 提交于
The function dirname() does not work correctly everywhere with non-ASCII characters. Fixes #2619 <https://github.com/Genymobile/scrcpy/issues/2619>
-
- 08 9月, 2021 1 次提交
-
-
由 a1346054 提交于
PR #2606 <https://github.com/Genymobile/scrcpy/pull/2606> Signed-off-by: NRomain Vimont <rom@rom1v.com>
-
- 29 8月, 2021 1 次提交
-
-
由 Romain Vimont 提交于
This has no practical impact (AFAIK), but a scroll events should come from a mouse. Refs #2602 <https://github.com/Genymobile/scrcpy/issues/2602>
-
- 28 8月, 2021 2 次提交
-
-
由 nkh0472 提交于
Include the latest version of SDL in Windows releases. PR #2589 <https://github.com/Genymobile/scrcpy/pull/2589> Signed-off-by: NRomain Vimont <rom@rom1v.com>
-
由 nkh0472 提交于
Include the latest version of adb in Windows releases. PR #2588 <https://github.com/Genymobile/scrcpy/pull/2588> Signed-off-by: NRomain Vimont <rom@rom1v.com>
-
- 26 8月, 2021 1 次提交
-
-
由 Romain Vimont 提交于
It was a typo, "static" was missing.
-
- 25 8月, 2021 1 次提交
-
-
由 horizon86 提交于
PR #2568 <https://github.com/Genymobile/scrcpy/pull/2568> Signed-off-by: NRomain Vimont <rom@rom1v.com>
-
- 13 8月, 2021 1 次提交
-
-
由 Romain Vimont 提交于
The video driver might need to be explicitly set to wayland. Refs #2554 <https://github.com/Genymobile/scrcpy/issues/2554> Refs #2559 <https://github.com/Genymobile/scrcpy/issues/2559>
-
- 11 8月, 2021 3 次提交
-
-
由 kosantosbik 提交于
PR #2514 <https://github.com/Genymobile/scrcpy/pull/2514> Signed-off-by: NRomain Vimont <rom@rom1v.com>
-
由 Hyperterminal Byte 提交于
PR #2545 <https://github.com/Genymobile/scrcpy/pull/2545> Signed-off-by: NRomain Vimont <rom@rom1v.com>
-
由 Stefan Huber 提交于
PR #2540 <https://github.com/Genymobile/scrcpy/pull/2540> Signed-off-by: NRomain Vimont <rom@rom1v.com>
-
- 16 7月, 2021 3 次提交
-
-
由 Romain Vimont 提交于
The functions net_send_all() and net_recv_all() return ssize_t, not int.
-
由 Romain Vimont 提交于
On partial writes, the final result was the number of bytes written by the last send() rather than the total.
-
由 Romain Vimont 提交于
Make the code fit into 80 columns.
-
- 14 7月, 2021 15 次提交
-
-
由 Romain Vimont 提交于
The first frames are typically received and decoded with more delay than the others, causing a wrong slope estimation on start. To compensate, assume an initial slope of 1, then progressively use the estimated slope.
-
由 Romain Vimont 提交于
Output buffering and clock logs by disabling a compilation flag.
-
由 Romain Vimont 提交于
The clock rolling sum is not trivial. Test it.
-
由 Romain Vimont 提交于
Add --display-buffer and --v4l2-buffer options to configure buffering time.
-
由 Romain Vimont 提交于
To minimize latency (at the cost of jitter), scrcpy always displays a frame as soon as it available, without waiting. However, when recording (--record), it still writes the captured timestamps to the output file, so that the recorded file can be played correctly without jitter. Some real-time use cases might benefit from adding a small latency to compensate for jitter too. For example, few tens of seconds of latency for live-streaming are not important, but jitter is noticeable. Therefore, implement a buffering mechanism (disabled by default) to add a configurable latency delay. PR #2417 <https://github.com/Genymobile/scrcpy/issues/2417>
-
由 Romain Vimont 提交于
Currently, a frame is available to the consumer as soon as it is pushed by the producer (which can detect if the previous frame is skipped). Notify the new frames (and frame skipped) via callbacks instead. This paves the way to add (optional) buffering, which will introduce a delay between the time when the frame is produced and the time it is available to be consumed.
-
由 Romain Vimont 提交于
The current video buffer only stores one pending frame. In order to add a new buffering feature, move this part to a separate "frame buffer". Keep the video_buffer, which currently delegates all its calls to the frame_buffer.
-
由 Romain Vimont 提交于
Add a scrcpy-specific prefix.
-
由 Romain Vimont 提交于
To fix a data race, commit 5caeab5f called video_buffer_push() and video_buffer_consume() under the v4l2_sink lock. Instead, use the previous_skipped indication (initialized with video buffer locked) to lock only for protecting the has_frame flag. This enables the possibility for the video_buffer to notify new frames via callbacks without lock inversion issues.
-
由 Romain Vimont 提交于
The function sc_cond_timedwait() accepted a parameter representing the max duration to wait, because it internally uses SDL_CondWaitTimeout(). Instead, accept a deadline, to be consistent with pthread_cond_timedwait().
-
由 Romain Vimont 提交于
This avoids to use the SDL timer API directly, and will allow to handle generic ticks (possibly negative).
-
由 Romain Vimont 提交于
Log video buffer initialization failure in v4l2_sink.
-
由 Romain Vimont 提交于
The fps_counter is not used from video_buffer.
-
由 Romain Vimont 提交于
Commit 2a94a2b1 removed video_buffer callbacks, the comment is now meaningless.
-
由 Romain Vimont 提交于
Add a scrcpy-specific prefix.
-
- 07 7月, 2021 2 次提交
-
-
由 Romain Vimont 提交于
-
由 Romain Vimont 提交于
Commit f76fe2c0 fixed README and tests. Fix command line help and manpage.
-
- 04 7月, 2021 1 次提交
-
-
由 Romain Vimont 提交于
av_packet_free() already calls av_packet_unref().
-
- 26 6月, 2021 2 次提交
-
-
由 Romain Vimont 提交于
The v4l2_sink implementation directly read the internal video_buffer field "pending_frame_consumed", which is protected by the internal video_buffer mutex. But this mutex was not locked, so reads were racy. Lock using the v4l2_sink mutex in addition, and use a separate field to avoid depending on the video_buffer internal data.
-
由 Romain Vimont 提交于
To avoid data races. Reported by TSAN.
-