- 21 6月, 2021 7 次提交
-
-
由 Romain Vimont 提交于
Make the versionCode a decimal representation of the scrcpy version. This will for example allow to correctly number the versionCode of v1.17.1 after a v1.18 is released: - v1.18 -> 11800 - v1.17.1 -> 11701 - v1.18.1 -> 11801
-
由 Romain Vimont 提交于
Include the latest version of adb in Windows releases.
-
由 Romain Vimont 提交于
-
由 Wirtos_new 提交于
And increase the command buffer size. Refs #1358 <https://github.com/Genymobile/scrcpy/issues/1358#issuecomment-862989748> PR #2405 <https://github.com/Genymobile/scrcpy/pull/2405> Signed-off-by: NRomain Vimont <rom@rom1v.com>
-
由 Wirtos_new 提交于
This is more explicit. PR #2405 <https://github.com/Genymobile/scrcpy/pull/2405> Signed-off-by: NRomain Vimont <rom@rom1v.com>
-
由 Romain Vimont 提交于
For consistency with other functions in the codebase.
-
由 Romain Vimont 提交于
The short option -F has been deprecated by ff061b4f. On error, suggest the long option --record-format instead.
-
- 20 6月, 2021 10 次提交
-
-
由 Romain Vimont 提交于
If the log level is not verbose, there is no need to attempt to log control messages at all.
-
由 Romain Vimont 提交于
This will allow to avoid unnecessary processing for creating logs which will be discarded anyway.
-
由 Romain Vimont 提交于
-
由 Romain Vimont 提交于
On Windows, PRIu64 is defined to "llu", which is not supported: error: unknown conversion type character 'l' in format
-
由 Marti Raudsepp 提交于
PR #2371 <https://github.com/Genymobile/scrcpy/pull/2371> Signed-off-by: NRomain Vimont <rom@rom1v.com>
-
由 Marti Raudsepp 提交于
PR #2371 <https://github.com/Genymobile/scrcpy/pull/2371> Signed-off-by: NRomain Vimont <rom@rom1v.com>
-
由 Romain Vimont 提交于
Mouse motion events were forwarded as soon as any mouse button was pressed. Instead, only consider left-click (and also middle-click and right-click if --forward-all-clicks is enabled).
-
由 Romain Vimont 提交于
-
由 Romain Vimont 提交于
It was safe to call strcpy() since the input length was checked, but then it is more straightforward to call memcpy() directly.
-
由 Romain Vimont 提交于
Android 12 changed one of the call() overloads with a new parameter AttributionSource. Adapt the wrapper. Fixes #2402 <https://github.com/Genymobile/scrcpy/issues/2402>
-
- 17 6月, 2021 1 次提交
-
-
由 Romain Vimont 提交于
Change the default push target from /sdcard/ to /sdcard/Download/. Pushing to the root of /sdcard/ is not very convenient, many apps do not expose its content directly. It can still be changed by --push-target. PR #2384 <https://github.com/Genymobile/scrcpy/pull/2384>
-
- 15 6月, 2021 1 次提交
-
-
由 Romain Vimont 提交于
When removing the black borders (by double-clicking on them, or by pressing MOD+w), the window is resized to fit the device screen, but its top-left position was left unchanged. Instead, move the window so that the new window area is at the center of the old window area. Refs #2387 <https://github.com/Genymobile/scrcpy/issues/2387>
-
- 14 6月, 2021 7 次提交
-
-
由 Romain Vimont 提交于
It should not be necessary, since screen_render() is called just after on SDL_WINDOWEVENT_EXPOSED, but in practice the window content might not be correctly displayed on restored if a rotation occurred while minimized. Note that calling screen_render() twice in a row on SDL_WINDOWEVENT_EXPOSED also "fixes" the issue.
-
由 Romain Vimont 提交于
From FFmpeg/doc/APIchanges: 2021-03-17 - f7db77bd87 - lavc 58.133.100 - codec.h Deprecated av_init_packet(). Once removed, sizeof(AVPacket) will no longer be a part of the public ABI. Refs #2302 <https://github.com/Genymobile/scrcpy/issues/2302>
-
由 Romain Vimont 提交于
From FFmpeg/doc/APIchanges: 2021-03-17 - f7db77bd87 - lavc 58.133.100 - codec.h Deprecated av_init_packet(). Once removed, sizeof(AVPacket) will no longer be a part of the public ABI. Refs #2302 <https://github.com/Genymobile/scrcpy/issues/2302>
-
由 Romain Vimont 提交于
From FFmpeg/doc/APIchanges: 2021-03-17 - f7db77bd87 - lavc 58.133.100 - codec.h Deprecated av_init_packet(). Once removed, sizeof(AVPacket) will no longer be a part of the public ABI. Refs #2302 <https://github.com/Genymobile/scrcpy/issues/2302>
-
由 Romain Vimont 提交于
From FFmpeg/doc/APIchanges: 2021-03-17 - f7db77bd87 - lavc 58.133.100 - codec.h Deprecated av_init_packet(). Once removed, sizeof(AVPacket) will no longer be a part of the public ABI. Remove the has_pending boolean, which can be replaced by: stream->pending != NULL Refs #2302 <https://github.com/Genymobile/scrcpy/issues/2302>
-
由 Romain Vimont 提交于
-
由 Romain Vimont 提交于
V4L2 sink used a "url" field format AVFormatContext which has been introduced in lavf 58.7.100. Fixes #2382 <https://github.com/Genymobile/scrcpy/issues/2382> Refs <https://github.com/FFmpeg/FFmpeg/commit/ea3672b7d67c432724bdbc8de0221f869b6a04c6> Refs <https://github.com/FFmpeg/FFmpeg/commit/fa8308d3d4f27d6fb38ac2069887a7b259f1c6ab>
-
- 12 6月, 2021 1 次提交
-
-
由 Romain Vimont 提交于
The argument for option --lock-video-orientation has been made optional by 5af9d0ee. With getopt_long(), contrary to mandatory arguments, optional arguments must be given with a '=': --lock-video-orientation 2 # wrong, parse error --lock-video-orientation=2 # correct
-
- 11 6月, 2021 3 次提交
-
-
由 Romain Vimont 提交于
Android 12 preview identifies as Android 11, but its codename is "S". Refs #2129 <https://github.com/Genymobile/scrcpy/issues/2129>
-
由 Romain Vimont 提交于
Since Android 12, secure displays could not be created with shell permissions anymore. Refs commit 1fdde490 Fixes #2129 <https://github.com/Genymobile/scrcpy/issues/2129>
-
由 Romain Vimont 提交于
This avoids to pass each option as individual parameter and parse them manually (it's still "manual" in the Parcelable implementation). Refs #824 <https://github.com/Genymobile/scrcpy/pull/824#issuecomment-780319422> Reviewed-by: NYu-Chen Lin <npes87184@gmail.com>
-
- 29 5月, 2021 3 次提交
-
-
由 Romain Vimont 提交于
This avoids to refer to many structs globally.
-
由 Romain Vimont 提交于
The zero-initialization relied on the fact that the decoder instance is static.
-
由 Romain Vimont 提交于
This was the only option passed separately.
-
- 28 5月, 2021 5 次提交
-
-
由 Secreto31126 提交于
PR #2318 <https://github.com/Genymobile/scrcpy/pull/2318> Signed-off-by: NRomain Vimont <rom@rom1v.com>
-
由 Alberto Pasqualetto 提交于
PR #2316 <https://github.com/Genymobile/scrcpy/pull/2316> Signed-off-by: NRomain Vimont <rom@rom1v.com>
-
由 Alberto Pasqualetto 提交于
PR #2316 <https://github.com/Genymobile/scrcpy/pull/2316> Signed-off-by: NRomain Vimont <rom@rom1v.com>
-
由 Romain Vimont 提交于
-
由 Romain Vimont 提交于
-
- 17 5月, 2021 2 次提交
-
-
由 Romain Vimont 提交于
This avoids to retrieve them in a separate step.
-
由 Romain Vimont 提交于
The input manager was partially initialized statically, but a call to input_manager_init() was needed anyway, so initialize all the fields from the "constructor". This is consistent with the initialization of the other structs.
-