mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-19 08:37:54 +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} |
||
---|---|---|
.. | ||
linux | ||
test | ||
windows | ||
BUILD.gn | ||
DEPS | ||
device_info_impl.cc | ||
device_info_impl.h | ||
OWNERS | ||
raw_video_sink_interface.h | ||
video_capture.h | ||
video_capture_config.h | ||
video_capture_defines.h | ||
video_capture_factory.cc | ||
video_capture_factory.h | ||
video_capture_factory_null.cc | ||
video_capture_impl.cc | ||
video_capture_impl.h | ||
video_capture_options.cc | ||
video_capture_options.h |