Skip to content

Commit

Permalink
5530163: [media] Use VideoFrame::Plane typed enum instead of nameless…
Browse files Browse the repository at this point in the history
  • Loading branch information
clavin authored and ckerr committed May 31, 2024
1 parent fd3e6ce commit fd94de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/browser/osr/osr_video_consumer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ void OffScreenVideoConsumer::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 fd94de9

Please sign in to comment.