Index: webrtc/common_video/include/video_frame_buffer.h |
diff --git a/webrtc/common_video/include/video_frame_buffer.h b/webrtc/common_video/include/video_frame_buffer.h |
index e6c1f147a262e4570dd808f54b1eafb2d9a8e279..7e2fcf99e1f8ddbee9bd5a0e757816719311f05d 100644 |
--- a/webrtc/common_video/include/video_frame_buffer.h |
+++ b/webrtc/common_video/include/video_frame_buffer.h |
@@ -27,6 +27,7 @@ class NativeHandleBuffer : public VideoFrameBuffer { |
public: |
NativeHandleBuffer(void* native_handle, int width, int height); |
+ Type type() const override; |
int width() const override; |
int height() const override; |
const uint8_t* DataY() const override; |
@@ -44,7 +45,7 @@ class NativeHandleBuffer : public VideoFrameBuffer { |
const int height_; |
}; |
-class WrappedI420Buffer : public webrtc::VideoFrameBuffer { |
+class WrappedI420Buffer : public PlanarYuvBuffer { |
public: |
WrappedI420Buffer(int width, |
int height, |
@@ -55,6 +56,8 @@ class WrappedI420Buffer : public webrtc::VideoFrameBuffer { |
const uint8_t* v_plane, |
int v_stride, |
const rtc::Callback0<void>& no_longer_used); |
+ Type type() const override; |
+ |
int width() const override; |
int height() const override; |
@@ -65,10 +68,6 @@ class WrappedI420Buffer : public webrtc::VideoFrameBuffer { |
int StrideU() const override; |
int StrideV() const override; |
- void* native_handle() const override; |
- |
- rtc::scoped_refptr<VideoFrameBuffer> NativeToI420Buffer() override; |
- |
private: |
friend class rtc::RefCountedObject<WrappedI420Buffer>; |
~WrappedI420Buffer() override; |