summaryrefslogtreecommitdiff
path: root/app/webrtc/objc/RTCI420Frame.mm
diff options
context:
space:
mode:
Diffstat (limited to 'app/webrtc/objc/RTCI420Frame.mm')
-rw-r--r--app/webrtc/objc/RTCI420Frame.mm4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/webrtc/objc/RTCI420Frame.mm b/app/webrtc/objc/RTCI420Frame.mm
index 0b50691..9c394e5 100644
--- a/app/webrtc/objc/RTCI420Frame.mm
+++ b/app/webrtc/objc/RTCI420Frame.mm
@@ -78,6 +78,10 @@
return _videoFrame->GetVPitch();
}
+- (BOOL)makeExclusive {
+ return _videoFrame->MakeExclusive();
+}
+
@end
@implementation RTCI420Frame (Internal)