| Index: cc/resources/video_resource_updater.cc
|
| diff --git a/cc/resources/video_resource_updater.cc b/cc/resources/video_resource_updater.cc
|
| index cb6b6c189dcf60d0bfa976d679dc34969b551f18..6c08a31b9c4fa584c3cea2533a038a0f3d5eaec3 100644
|
| --- a/cc/resources/video_resource_updater.cc
|
| +++ b/cc/resources/video_resource_updater.cc
|
| @@ -159,6 +159,7 @@ void VideoResourceUpdater::PlaneResource::SetUniqueId(int unique_frame_id,
|
|
|
| VideoFrameExternalResources::VideoFrameExternalResources()
|
| : type(NONE),
|
| + pixel_format(media::PIXEL_FORMAT_UNKNOWN),
|
| read_lock_fences_enabled(false),
|
| offset(0.0f),
|
| multiplier(1.0f),
|
| @@ -501,6 +502,7 @@ VideoFrameExternalResources VideoResourceUpdater::CreateForSoftwarePlanes(
|
|
|
| VideoFrameExternalResources external_resources;
|
|
|
| + external_resources.pixel_format = video_frame->format();
|
| external_resources.bits_per_channel = bits_per_channel;
|
|
|
| if (software_compositor || texture_needs_rgb_conversion) {
|
| @@ -741,6 +743,7 @@ VideoFrameExternalResources VideoResourceUpdater::CreateForHardwarePlanes(
|
| return VideoFrameExternalResources();
|
|
|
| VideoFrameExternalResources external_resources;
|
| + external_resources.pixel_format = video_frame->format();
|
| if (video_frame->metadata()->IsTrue(
|
| media::VideoFrameMetadata::READ_LOCK_FENCES_ENABLED)) {
|
| external_resources.read_lock_fences_enabled = true;
|
|
|