mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-20 00:57:49 +01:00
![]() There are two threads involved here, the thread that calls the API functions and the pipwire main loop. Using one race checker for both is wrong and triggers aborts. Use a different race checker for all variables that are used by the pipewire main loop or guarded against concurrent access with the thread_loop_lock. In one case, two RTC_CHECK_RUNS_SERIALIZED() checks are needed, so enhance the macro to generate unique variable names. Bug: webrtc:15181 Change-Id: Ib41514eb7aa98fe85d830461aa0c71e42ba821bd Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/326781 Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#41198} |
||
---|---|---|
.. | ||
camera_portal.cc | ||
camera_portal.h | ||
device_info_linux.cc | ||
device_info_pipewire.cc | ||
device_info_pipewire.h | ||
device_info_v4l2.cc | ||
device_info_v4l2.h | ||
pipewire_session.cc | ||
pipewire_session.h | ||
video_capture_linux.cc | ||
video_capture_pipewire.cc | ||
video_capture_pipewire.h | ||
video_capture_v4l2.cc | ||
video_capture_v4l2.h |