| Index: content/browser/media/capture/aura_window_capture_machine.cc
|
| diff --git a/content/browser/media/capture/aura_window_capture_machine.cc b/content/browser/media/capture/aura_window_capture_machine.cc
|
| index 1469bca34e894f17eba5b0b22f7d51f2ea16d039..a8e91a28b06670308d48f34612b8779f2a004e2e 100644
|
| --- a/content/browser/media/capture/aura_window_capture_machine.cc
|
| +++ b/content/browser/media/capture/aura_window_capture_machine.cc
|
| @@ -280,10 +280,17 @@ bool AuraWindowCaptureMachine::ProcessCopyOutputResponse(
|
| cursor_renderer_->SnapshotCursorState(region_in_frame);
|
| yuv_readback_pipeline_->ReadbackYUV(
|
| texture_mailbox.mailbox(), texture_mailbox.sync_token(),
|
| - video_frame.get(), region_in_frame.origin(),
|
| + video_frame->visible_rect(),
|
| + video_frame->stride(media::VideoFrame::kYPlane),
|
| + video_frame->data(media::VideoFrame::kYPlane),
|
| + video_frame->stride(media::VideoFrame::kUPlane),
|
| + video_frame->data(media::VideoFrame::kUPlane),
|
| + video_frame->stride(media::VideoFrame::kVPlane),
|
| + video_frame->data(media::VideoFrame::kVPlane), region_in_frame.origin(),
|
| base::Bind(&CopyOutputFinishedForVideo, weak_factory_.GetWeakPtr(),
|
| start_time, capture_frame_cb, video_frame,
|
| base::Passed(&release_callback)));
|
| + media::LetterboxYUV(video_frame.get(), region_in_frame);
|
| return true;
|
| }
|
|
|
|
|