[Frame Sink Capture] Refactor frame sink capture for better tracing.
This CL refactors the way frame data is passed through the frame sink capturer to prevent video frame metadata from being dropped on the floor if a step fails in the process. It also simplifies the way per-frame data is tracked by: - Using a single object to track per-frame data throughout the process - Keeping track of the outcome of a capture (success or failure reason) - So that downstream code can query that status, instead of checking for a null-frame. Fixed: 335353377 Change-Id: I4f0d0f1fbb0557f50e8a87f2366eb0b718960173 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5606100 Reviewed-by:Ilya Nikolaevskiy <ilnik@chromium.org> Reviewed-by:
Piotr Bialecki <bialpio@chromium.org> Commit-Queue: Mark Foltz <mfoltz@chromium.org> Cr-Commit-Position: refs/heads/main@{#1312961}
Loading
Please register or sign in to comment