scrcpy/app
Romain Vimont 28bce48d47 Relax v4l2_sink lock constraints
To fix a data race, commit 5caeab5f6d
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.
2021-07-14 14:22:32 +02:00
..
src Relax v4l2_sink lock constraints 2021-07-14 14:22:32 +02:00
tests Rename queue to sc_queue 2021-07-14 00:35:10 +02:00
meson.build Wrap tick API 2021-07-14 14:22:32 +02:00
scrcpy.1 Fix manpage formatting 2021-07-06 18:33:04 +02:00