| 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 710d2862f0b9a37c88bf72898c24c80d60d52648..1950bb7845887b8b4ca75c342609e79b1dea5745 100644
|
| --- a/webrtc/common_video/include/video_frame_buffer.h
|
| +++ b/webrtc/common_video/include/video_frame_buffer.h
|
| @@ -73,6 +73,8 @@ class I420Buffer : public VideoFrameBuffer {
|
| // Non-const data access is only allowed if HasOneRef() is true to protect
|
| // against unexpected overwrites.
|
| uint8_t* MutableData(PlaneType type) override;
|
| + // The size of the |data| buffer.
|
| + size_t DataSize() const;
|
| int stride(PlaneType type) const override;
|
| void* native_handle() const override;
|
| rtc::scoped_refptr<VideoFrameBuffer> NativeToI420Buffer() override;
|
|
|