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

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

Issue 1881933004: Introduce an IsMutable method on VideoFrameBuffer. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « webrtc/common_video/video_frame_buffer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/engine/webrtcvideoframe.cc
diff --git a/webrtc/media/engine/webrtcvideoframe.cc b/webrtc/media/engine/webrtcvideoframe.cc
index 3a2d2def0e3af094681610aab54803ad0a98eba1..287ed80d9b4632b992d7f6592cc55ae6daaa6e94 100644
--- a/webrtc/media/engine/webrtcvideoframe.cc
+++ b/webrtc/media/engine/webrtcvideoframe.cc
@@ -113,7 +113,7 @@ int32_t WebRtcVideoFrame::GetVPitch() const {
}
bool WebRtcVideoFrame::IsExclusive() const {
perkj_webrtc 2016/04/14 06:34:51 Should IsExlusive also be removed and a user force
nisse-webrtc 2016/04/14 06:42:28 I think so.
pbos-webrtc 2016/04/14 12:51:13 I agree.
- return video_frame_buffer_->HasOneRef();
+ return video_frame_buffer_->IsMutable();
}
void* WebRtcVideoFrame::GetNativeHandle() const {
« no previous file with comments | « webrtc/common_video/video_frame_buffer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698