Index: media/mojo/interfaces/media_types.mojom |
diff --git a/media/mojo/interfaces/media_types.mojom b/media/mojo/interfaces/media_types.mojom |
index 16612b5dcf68a8e5a7e423257f0c85cf74f80303..e206edbd6d082a8b73832769d2be48655f1a7e9d 100644 |
--- a/media/mojo/interfaces/media_types.mojom |
+++ b/media/mojo/interfaces/media_types.mojom |
@@ -247,7 +247,8 @@ struct SharedBufferVideoFrameData { |
// This defines video frame data stored in texture mailboxes. |
struct MailboxVideoFrameData { |
- array<gpu.mojom.MailboxHolder> mailbox_holder; |
+ // Size must be kept in sync with media::VideoFrame::kMaxPlanes. |
+ array<gpu.mojom.MailboxHolder, 4> mailbox_holder; |
}; |
struct PipelineStatistics { |