| Index: media/base/video_frame.h
|
| diff --git a/media/base/video_frame.h b/media/base/video_frame.h
|
| index 928550cbd0724b2624f164970d8763e81f9207e6..1eb974d1928f58709198f5a91a5f1a71e465f7ef 100644
|
| --- a/media/base/video_frame.h
|
| +++ b/media/base/video_frame.h
|
| @@ -265,7 +265,13 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> {
|
|
|
| // Returns pointer to the buffer for a given plane. The memory is owned by
|
| // VideoFrame object and must not be freed by the caller.
|
| - uint8* data(size_t plane) const;
|
| + const uint8* data(size_t plane) const;
|
| + uint8* data(size_t plane);
|
| +
|
| + // Returns pointer to the visible region specified by visible_rect(). The
|
| + // memory is owned by VideoFrame object and must not be freed by the caller.
|
| + const uint8* visible_data(size_t plane) const;
|
| + uint8* visible_data(size_t plane);
|
|
|
| // Returns the mailbox holder of the native texture wrapped by this frame.
|
| // Only valid to call if this is a NATIVE_TEXTURE frame. Before using the
|
|
|