- 15 9月, 2019 2 次提交
-
-
由 Romain Vimont 提交于
Some variable names had not been renamed when "event" was renamed to "message" (28980bbc).
-
由 Romain Vimont 提交于
The mouse event test actually tested a key event control message.
-
- 15 8月, 2019 1 次提交
-
-
由 Romain Vimont 提交于
-
- 14 8月, 2019 1 次提交
-
-
由 Romain Vimont 提交于
The AVPacket fields side_data and side_data_elems were not initialized by av_packet_ref() in old FFmpeg versions (prior to [1]). As a consequence, on av_packet_unref(), side_data was freed, causing a segfault. Fixes <https://github.com/Genymobile/scrcpy/issues/707> [1]: <http://git.videolan.org/gitweb.cgi/ffmpeg.git/?p=ffmpeg.git;a=commitdiff;h=3b4026e15110547892d5d770b6b43c9e34df458f>
-
- 09 8月, 2019 4 次提交
-
-
由 Romain Vimont 提交于
Enable the attribute "console" of custom_target() introduced in meson 0.48. This allows to get a feedback of what gradle does (which can takes a very long time). This produces warnings because we declare to support meson >= 0.37, but we don't want to stop supporting older versions for that. Older versions just ignore the option: > WARNING: Unknown keyword arguments in target scrcpy-server: console Newer meson versions use it, but warn because we declare supporting older versions: > WARNING: Project targetting '>= 0.37' but tried to use feature > introduced in '0.48.0': console arg in custom_target Meson does not support conditional branches to suppress such warnings, so just keep the warnings.
-
由 Romain Vimont 提交于
Update WindowManager.java
-
由 toddsierens 提交于
-
由 Romain Vimont 提交于
Record a packet only once the following has been received, so that we can set its duration before muxing it. Fixes <https://github.com/Genymobile/scrcpy/issues/702>
-
- 08 8月, 2019 3 次提交
-
-
由 Romain Vimont 提交于
Upgrade build dependencies
-
由 Harsh Shandilya 提交于
Signed-off-by: NHarsh Shandilya <msfjarvis@gmail.com> Signed-off-by: NRomain Vimont <rom@rom1v.com>
-
由 Harsh Shandilya 提交于
Signed-off-by: NHarsh Shandilya <msfjarvis@gmail.com>
-
- 05 8月, 2019 3 次提交
-
-
由 Romain Vimont 提交于
Fix building on OS X (missing NULL in queue.h)
-
由 Arne Schwabe 提交于
Headers seem to be a bit different in Apple land and you need to include stddef.h explicitly to the NULL declaration. This also makes the code a bit more correct, as stddef.h is the header in the C standard that defines NULL (https://en.cppreference.com/w/cpp/header/cstddef).
-
由 Romain Vimont 提交于
-
- 04 8月, 2019 7 次提交
-
-
由 Romain Vimont 提交于
-
由 Romain Vimont 提交于
They were listed in the blog post introducing scrcpy: <https://blog.rom1v.com/2018/03/introducing-scrcpy/>
-
由 Romain Vimont 提交于
Include the latest version of SDL in Windows releases.
-
由 Romain Vimont 提交于
Include the latest version of adb in Windows releases.
-
由 Romain Vimont 提交于
Include the latest version of FFmpeg in Windows releases.
-
由 Romain Vimont 提交于
The compiler is not always able to see that "last" is always initialized before being used, so always initialize it.
-
由 Romain Vimont 提交于
Fixes <https://github.com/Genymobile/scrcpy/issues/642>
-
- 02 8月, 2019 4 次提交
-
-
由 Romain Vimont 提交于
Replace the specific recording queue by the new generic FIFO queue implementation.
-
由 Romain Vimont 提交于
We need several FIFO queues (a queue of packets, a queue of messages, etc.). Some of them are implemented using cbuf, a generic circular buffer. But for recording, we need to store the packets in an unbounded queue until they are written, so the queue was implemented manually. Create a generic implementation (using macros) to avoid reimplementing it every time.
-
由 Romain Vimont 提交于
-
由 Romain Vimont 提交于
-
- 31 7月, 2019 7 次提交
-
-
由 Romain Vimont 提交于
Put the scrcpy files at the root of the zip archive. This avoids an unnecessary level of directories when extracting.
-
由 Romain Vimont 提交于
If recording fails, log "recording failed" instead of "recording complete".
-
由 Romain Vimont 提交于
Keep --version which also print the version of dependencies.
-
由 Romain Vimont 提交于
The record file was written from the stream thread. As a consequence, any blocking I/O to write the file delayed the decoder. For maximum performance even when recording is enabled, send (refcounted) packets to a separate recording thread.
-
由 Romain Vimont 提交于
To packetize the H.264 raw stream, av_parser_parse2() (called by av_read_frame()) knows that it has received a full frame only after it has received some data for the next frame. As a consequence, the client always waited until the next frame before sending the current frame to the decoder! On the device side, we know packets boundaries. To reduce latency, make the device always transmit the "frame meta" to packetize the stream manually (it was already implemented to send PTS, but only enabled on recording). On the client side, replace av_read_frame() by manual packetizing and parsing. <https://stackoverflow.com/questions/50682518/replacing-av-read-frame-to-reduce-delay> <https://trac.ffmpeg.org/ticket/3354>
-
由 Romain Vimont 提交于
A drag & drop always pushed the file to /sdcard/. Add an option to customize the target directory. Fixes <https://github.com/Genymobile/scrcpy/issues/659>
-
由 Romain Vimont 提交于
-
- 30 7月, 2019 1 次提交
-
-
由 Romain Vimont 提交于
There was a test for the deserialization, but not for the serialization.
-
- 29 7月, 2019 3 次提交
-
-
由 Romain Vimont 提交于
Recent versions of meson complain about an option having name starting with "build_": > DEPRECATION: Option uses prefix "build_", which is reserved for Meson. > This will become an error in the future. Use "compile_" instead.
-
由 Jonathan 提交于
Signed-off-by: NRomain Vimont <rom@rom1v.com>
-
由 Romain Vimont 提交于
-
- 13 7月, 2019 1 次提交
-
-
由 Romain Vimont 提交于
If writing the recording header fails, do not clean the resources immediately to avoid double-free.
-
- 27 6月, 2019 1 次提交
-
-
由 Romain Vimont 提交于
Add missing call to decoder_close().
-
- 25 6月, 2019 2 次提交
-
-
由 Romain Vimont 提交于
-
由 Romain Vimont 提交于
add option window-title to set the title
-