Index: webrtc/media/engine/webrtcvideoframefactory.h |
diff --git a/webrtc/media/engine/webrtcvideoframefactory.h b/webrtc/media/engine/webrtcvideoframefactory.h |
index c1569969fb2fb677352755a8fb10eeba8c844b4a..6b7ae38f6e2a363fcce700bfc81d142cca1cab52 100644 |
--- a/webrtc/media/engine/webrtcvideoframefactory.h |
+++ b/webrtc/media/engine/webrtcvideoframefactory.h |
@@ -20,6 +20,15 @@ struct CapturedFrame; |
// Creates instances of cricket::WebRtcVideoFrame. |
class WebRtcVideoFrameFactory : public VideoFrameFactory { |
public: |
+ std::unique_ptr<VideoFrame> CreateScaledCroppedFrame( |
+ const CapturedFrame* input_frame, |
+ int crop_x, |
+ int crop_y, |
+ int crop_width, |
+ int crop_height, |
+ int dst_width, |
+ int dst_height) const override; |
+ |
VideoFrame* CreateAliasedFrame(const CapturedFrame* aliased_frame, |
perkj_webrtc
2016/05/11 10:05:17
Can you remove CreateAliasedFrame here an only use
nisse-webrtc
2016/05/12 12:23:06
Not at the moment. Chrome's WebRtcVideoCapturerAda
|
int width, |
int height) const override; |