| Index: webrtc/media/base/videocapturer.cc
|
| diff --git a/webrtc/media/base/videocapturer.cc b/webrtc/media/base/videocapturer.cc
|
| index b00cbfe8e320c3eeaad1bd4734bf0b8ecbed81ef..95c94b9bd28870be6eef6840563e97c58a5a090d 100644
|
| --- a/webrtc/media/base/videocapturer.cc
|
| +++ b/webrtc/media/base/videocapturer.cc
|
| @@ -240,9 +240,8 @@ void VideoCapturer::OnFrameCaptured(VideoCapturer*,
|
|
|
| // TODO(nisse): Reorganize frame factory methods, deleting crop
|
| // support there too.
|
| - std::unique_ptr<VideoFrame> adapted_frame(frame_factory_->CreateAliasedFrame(
|
| - captured_frame, captured_frame->width, captured_frame->height,
|
| - adapted_width, adapted_height));
|
| + std::unique_ptr<VideoFrame> adapted_frame = frame_factory_->CreateScaledFrame(
|
| + captured_frame, adapted_width, adapted_height);
|
|
|
| if (!adapted_frame) {
|
| // TODO(fbarchard): LOG more information about captured frame attributes.
|
|
|