Scaling settings nullability in Obj-C SDK.
This method is allowed to return nil but was not annotated as such. Bug: webrtc:8560 Change-Id: If54aa94d6ff83b7bdb87b526244616e2627a8999 Reviewed-on: https://webrtc-review.googlesource.com/97380 Reviewed-by: Peter Hanspers <peterhanspers@webrtc.org> Commit-Queue: Anders Carlsson <andersc@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24568}
This commit is contained in:
committed by
Commit Bot
parent
55d5ef0048
commit
2ac2739d06
@ -42,7 +42,7 @@ RTC_EXPORT
|
||||
/** Returns QP scaling settings for encoder. The quality scaler adjusts the resolution in order to
|
||||
* keep the QP from the encoded images within the given range. Returning nil from this function
|
||||
* disables quality scaling. */
|
||||
- (RTCVideoEncoderQpThresholds *)scalingSettings;
|
||||
- (nullable RTCVideoEncoderQpThresholds *)scalingSettings;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user