VideoCaptureImpl: fix DCHECK in sync_token_mojom_traits.h.
Due to an old copy-paste error, incoming captured NV12 GMB frames in VideoCaptureImpl were equipped with mailboxes containing a SyncToken meant for use inside contexts that shares the same IPC channel with the context that generates the sync token. It was missed due to CrOS not run with DCHECKs on for a while and was encountered late in the developments for macOS zero-copy capture. This CL fixes this by getting a verified sync token instead. Tested: local mac test with H264 HW encode with 0c path capture. Bug: 1147356 Change-Id: I539806eb2577ef1869bb308428bfa68157ac1a21 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2531013Reviewed-by:Daniele Castagna <dcastagna@chromium.org> Reviewed-by:
Sunny Sachanandani <sunnyps@chromium.org> Reviewed-by:
Ricky Liang <jcliang@chromium.org> Reviewed-by:
Guido Urdaneta <guidou@chromium.org> Commit-Queue: Markus Handell <handellm@google.com> Cr-Commit-Position: refs/heads/master@{#827222}
Showing
Please register or sign in to comment