| Index: webrtc/media/base/videoframefactory.cc
|
| diff --git a/webrtc/media/base/videoframefactory.cc b/webrtc/media/base/videoframefactory.cc
|
| index 23925bda56abefb096d71250f0531878478fc532..7bd77678fd3833d54b90ba9168c8e4ce0534f757 100644
|
| --- a/webrtc/media/base/videoframefactory.cc
|
| +++ b/webrtc/media/base/videoframefactory.cc
|
| @@ -15,6 +15,16 @@
|
|
|
| namespace cricket {
|
|
|
| +// For backwards compatiblity, default implementation in terms of old methods.
|
| +// TODO(nisse): Delete when Chrome's subclass is updated.
|
| +std::unique_ptr<VideoFrame> VideoFrameFactory::CreateScaledFrame(
|
| + const CapturedFrame* input_frame,
|
| + int width,
|
| + int height) const {
|
| + return std::unique_ptr<VideoFrame>(CreateAliasedFrame(
|
| + input_frame, input_frame->width, input_frame->height, width, height));
|
| +}
|
| +
|
| VideoFrame* VideoFrameFactory::CreateAliasedFrame(
|
| const CapturedFrame* input_frame,
|
| int cropped_input_width,
|
|
|