| Index: ppapi/c/dev/pp_video_dev.h
|
| diff --git a/ppapi/c/dev/pp_video_dev.h b/ppapi/c/dev/pp_video_dev.h
|
| index adef7be58c744299743b6f2f9baa202fe7b12257..6f67c1eb406414e5e53a85c825cfc41e466803a6 100644
|
| --- a/ppapi/c/dev/pp_video_dev.h
|
| +++ b/ppapi/c/dev/pp_video_dev.h
|
| @@ -223,6 +223,11 @@ struct PP_VideoCompressedDataBuffer_Dev {
|
| // Bit mask of PP_VideoFrameInfoFlag.
|
| uint32_t flags;
|
|
|
| + // Padding to ensure the PP_Resource is 8-byte aligned relative to the
|
| + // start of the struct. This helps ensure PP_VideoFrameBuffer_Dev has
|
| + // consistent size and alignment across compilers.
|
| + int32_t padding;
|
| +
|
| // Time stamp of the frame in microsecond.
|
| uint64_t time_stamp_us;
|
| };
|
| @@ -236,11 +241,6 @@ struct PP_VideoFrameBuffer_Dev {
|
| int32_t height;
|
| int32_t stride;
|
|
|
| - // Padding to ensure the PP_Resource is 8-byte aligned relative to the
|
| - // start of the struct. This helps ensure PP_VideoFrameBuffer_Dev has
|
| - // consistent size and alignment across compilers.
|
| - int32_t padding;
|
| -
|
| // TODO(wjia): uint8* would be better for some cases.
|
| PP_Resource buffer;
|
| } data_plane[PP_VIDEOFRAMEBUFFER_MAXNUMBERPLANES];
|
|
|