Files
scrcpy/app
Romain Vimont 5009735032 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-04 17:29:50 +02:00
..
2021-07-04 17:29:50 +02:00
2021-07-04 17:29:50 +02:00
2021-06-20 12:34:19 +02:00