Index: media/cast/video_sender/external_video_encoder.cc |
diff --git a/media/cast/video_sender/external_video_encoder.cc b/media/cast/video_sender/external_video_encoder.cc |
index 6ec8d3df57705a744c94dd45be750aceb14a82de..69f550a2770bade437dac7381c7ff37e6f145869 100644 |
--- a/media/cast/video_sender/external_video_encoder.cc |
+++ b/media/cast/video_sender/external_video_encoder.cc |
@@ -156,15 +156,15 @@ class LocalVideoEncodeAcceleratorClient |
// Do a stride copy of the input frame to match the input requirements. |
media::CopyYPlane(video_frame->data(VideoFrame::kYPlane), |
video_frame->stride(VideoFrame::kYPlane), |
- video_frame->natural_size().height(), |
+ video_frame->coded_size().height(), |
frame.get()); |
media::CopyUPlane(video_frame->data(VideoFrame::kUPlane), |
video_frame->stride(VideoFrame::kUPlane), |
- video_frame->natural_size().height(), |
+ video_frame->coded_size().height(), |
frame.get()); |
media::CopyVPlane(video_frame->data(VideoFrame::kVPlane), |
video_frame->stride(VideoFrame::kVPlane), |
- video_frame->natural_size().height(), |
+ video_frame->coded_size().height(), |
frame.get()); |
encoded_frame_data_storage_.push_back( |