media: Validate mappable SharedImage in video frame mojo traits [chromium/src : main]

0 views
Skip to first unread message

Hirokazu Honda (Gerrit)

unread,
May 9, 2026, 11:23:33 PM (14 hours ago) May 9
to chromium...@chromium.org, feature-me...@chromium.org, vaapi-...@chromium.org, oshima...@chromium.org, chromeos-gfx-...@google.com, media-cro...@chromium.org, ipc-securi...@chromium.org

Hirokazu Honda has uploaded the change for review

Commit message

media: Validate mappable SharedImage in video frame mojo traits

Add handle verification to VideoFrame Mojo traits for mappable
SharedImages on Linux and ChromeOS and promote GpuMemoryBufferHandle
verification in CreateGpuMemoryBufferHandle() from a debug-only check
to a production check.
Bug: 495819067
Test: webrtc.RTCPeerConnection.*
Change-Id: I56b9761b67a4e1ec8bbe6813c9bc920477a70531

Change diff


Change information

Files:
  • M media/gpu/chromeos/platform_video_frame_utils.cc
  • M media/mojo/mojom/video_frame_mojom_traits.cc
Change size: S
Delta: 2 files changed, 22 insertions(+), 8 deletions(-)
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: newchange
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I56b9761b67a4e1ec8bbe6813c9bc920477a70531
Gerrit-Change-Number: 7834743
Gerrit-PatchSet: 1
Gerrit-Owner: Hirokazu Honda <hi...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy
Reply all
Reply to author
Forward
0 new messages