mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-04-11 02:11:44 +08:00
The function update_texture() calls update_texture_internal() and falls
back to set_pending_frame() if it fails.
When the frame passed is the pending frame, call only the _internal()
version instead.
This will prevent issues with frame reference counts by ensuring the
source and destination frames are never the same.
Refs
|
||
|---|---|---|
| .. | ||
| data | ||
| deps | ||
| src | ||
| tests | ||
| meson.build | ||
| scrcpy-windows.manifest | ||
| scrcpy-windows.rc | ||
| scrcpy.1 | ||