commit | 4049a25afd47ae0299c075ea22e2de8fbd205e16 | [log] [tgz] |
---|---|---|
author | Kári Tristan Helgason <kthelgason@webrtc.org> | Fri Apr 20 17:33:32 2018 +0200 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Apr 20 15:37:23 2018 +0000 |
tree | 8b85581dc6232cea5a7f474a88402eb73cbdb2e8 | |
parent | 6847f9b49096dfe436b440d4c601caf6a6c9d1b6 [diff] [blame] |
Make MTLView content mode settable. We want to allow the application to set it's own content mode. Bug: b/73147161 Change-Id: I60fab454353a4c39731e49b7b6066e51d8e9a94d Reviewed-on: https://webrtc-review.googlesource.com/70501 Commit-Queue: Kári Helgason <kthelgason@webrtc.org> Reviewed-by: Anders Carlsson <andersc@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22962}
diff --git a/sdk/objc/Framework/Headers/WebRTC/RTCMTLVideoView.h b/sdk/objc/Framework/Headers/WebRTC/RTCMTLVideoView.h index 802e0ff..266f2c2 100644 --- a/sdk/objc/Framework/Headers/WebRTC/RTCMTLVideoView.h +++ b/sdk/objc/Framework/Headers/WebRTC/RTCMTLVideoView.h
@@ -32,7 +32,11 @@ RTC_EXPORT @interface RTCMTLVideoView : UIView <RTCVideoRenderer> + @property(nonatomic, weak) id<RTCVideoViewDelegate> delegate; + +- (void)setVideoContentMode:(UIViewContentMode)mode; + @end NS_ASSUME_NONNULL_END