| Index: webrtc/media/base/videocapturer.cc
|
| diff --git a/webrtc/media/base/videocapturer.cc b/webrtc/media/base/videocapturer.cc
|
| index b00cbfe8e320c3eeaad1bd4734bf0b8ecbed81ef..c68d6e9dbdc5a274855e7bffa976fbf6ca605b78 100644
|
| --- a/webrtc/media/base/videocapturer.cc
|
| +++ b/webrtc/media/base/videocapturer.cc
|
| @@ -238,11 +238,8 @@ void VideoCapturer::OnFrameCaptured(VideoCapturer*,
|
| return;
|
| }
|
|
|
| - // 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.
|
|
|