| Index: talk/app/webrtc/java/jni/native_handle_impl.h
|
| diff --git a/talk/app/webrtc/java/jni/native_handle_impl.h b/talk/app/webrtc/java/jni/native_handle_impl.h
|
| index 911a3c4fb690b81c1f395501c4f74824a695ed09..6d53cf1013b5f4ab1aff72c8623ad71830fa9605 100644
|
| --- a/talk/app/webrtc/java/jni/native_handle_impl.h
|
| +++ b/talk/app/webrtc/java/jni/native_handle_impl.h
|
| @@ -32,6 +32,7 @@
|
| #include <jni.h>
|
|
|
| #include "webrtc/common_video/include/video_frame_buffer.h"
|
| +#include "webrtc/common_video/rotation.h"
|
|
|
| namespace webrtc_jni {
|
|
|
| @@ -54,11 +55,12 @@ class AndroidTextureBuffer : public webrtc::NativeHandleBuffer {
|
| ~AndroidTextureBuffer();
|
| rtc::scoped_refptr<VideoFrameBuffer> NativeToI420Buffer() override;
|
|
|
| - rtc::scoped_refptr<AndroidTextureBuffer> CropAndScale(
|
| + rtc::scoped_refptr<AndroidTextureBuffer> CropScaleAndRotate(
|
| int cropped_input_width,
|
| int cropped_input_height,
|
| int dst_widht,
|
| - int dst_height);
|
| + int dst_height,
|
| + webrtc::VideoRotation rotation);
|
|
|
| private:
|
| NativeHandleImpl native_handle_;
|
|
|