commit | 576ec5a272658bead30d36a992fa579c9b36f62c | [log] [tgz] |
---|---|---|
author | Jan Grulich <grulja@gmail.com> | Wed Mar 05 07:27:41 2025 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 11 07:53:08 2025 |
tree | cbdbc7c815ed7f908cfa59f1eca6c4b1c37a6dd5 | |
parent | 9e1b0ec0910fa762e913314c9b11793c14557b74 [diff] |
PipeWire capture: Clean latest_available_frame on capture stop Once we stop capturing, we clear the queue with frames, but we still keep pointer to the latest available frame. This latest available frame should be invalidated, otherwise it will be now pointing to non-existent frame. This is not a problem when we completely stop capturing, but if we are just restarting it to pick a different source, we can crash on it if we are asked to provide a frame, but we didn't get any yet from the new source. Bug: chromium:400656070 Change-Id: I780392999ebba917aa72dde8a2c9b77bfc21cd0f Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/379920 Reviewed-by: Alexander Cooper <alcooper@chromium.org> Commit-Queue: Jan Grulich <grulja@gmail.com> Cr-Commit-Position: refs/heads/main@{#44084}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.