Skip to content

Commit

Permalink
fixup! 5530163: [media] Use VideoFrame::Plane typed enum instead of n…
Browse files Browse the repository at this point in the history
  • Loading branch information
clavin authored and ckerr committed May 31, 2024
1 parent 142c6e1 commit 9a900e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/browser/api/frame_subscriber.cc
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ void FrameSubscriber::OnFrameCaptured(
SkImageInfo::MakeN32(content_rect.width(), content_rect.height(),
kPremul_SkAlphaType),
pixels,
media::VideoFrame::RowBytes(media::VideoFrame::kARGBPlane,
media::VideoFrame::RowBytes(media::VideoFrame::Plane::kARGB,
info->pixel_format, info->coded_size.width()),
[](void* addr, void* context) {
delete static_cast<FramePinner*>(context);
Expand Down

0 comments on commit 9a900e7

Please sign in to comment.