Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(781)

Unified Diff: webrtc/media/engine/webrtcvideoframe.h

Issue 2009193002: Delete IsMutable and IsExclusive methods. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Delete TestVideoFrame.ReuseAllocation, CreateEmptyFrame no longer does that. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/media/engine/webrtcvideoframe.h
diff --git a/webrtc/media/engine/webrtcvideoframe.h b/webrtc/media/engine/webrtcvideoframe.h
index 58ba6e83e097f1f67b7d2d29fb4f7e03ef18f740..5d2d91714e83f5167e00345ca226590c74b7ae7a 100644
--- a/webrtc/media/engine/webrtcvideoframe.h
+++ b/webrtc/media/engine/webrtcvideoframe.h
@@ -78,7 +78,11 @@ class WebRtcVideoFrame : public VideoFrame {
webrtc::VideoRotation rotation() const override { return rotation_; }
VideoFrame* Copy() const override;
- bool IsExclusive() const override;
+ virtual VideoFrame* CreateWithBuffer(
+ const rtc::scoped_refptr<webrtc::VideoFrameBuffer> buffer,
+ webrtc::VideoRotation rotation,
+ int64_t timestamp_us) const override;
+
size_t ConvertToRgbBuffer(uint32_t to_fourcc,
uint8_t* buffer,
size_t size,

Powered by Google App Engine
This is Rietveld 408576698