[webkit-reviews] review granted: [Bug 218442] Allow low latency H264 encoder in GPUProcess : [Attachment 412914] Patch
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 2 14:03:58 PST 2020
Eric Carlson <eric.carlson at apple.com> has granted youenn fablet
<youennf at gmail.com>'s request for review:
Bug 218442: Allow low latency H264 encoder in GPUProcess
https://bugs.webkit.org/show_bug.cgi?id=218442
Attachment 412914: Patch
https://bugs.webkit.org/attachment.cgi?id=412914&action=review
--- Comment #3 from Eric Carlson <eric.carlson at apple.com> ---
Comment on attachment 412914
--> https://bugs.webkit.org/attachment.cgi?id=412914
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=412914&action=review
> Source/ThirdParty/libwebrtc/Source/webrtc/sdk/WebKit/WebKitEncoder.mm:97
> +- (void)setLowLatency:(bool)isLowLatencyEnabled {
Nit: "isLowLatencyEnabled" sounds like a question, I would probably call the
parameter "lowLatencyEnabled", or even just "enabled"
> Source/ThirdParty/libwebrtc/Source/webrtc/sdk/WebKit/WebKitEncoder.mm:99
> + return [m_h264Encoder
setH264LowLatencyEncoderEnabled:isLowLatencyEnabled];
Nit: "return" is unnecessary
> Source/ThirdParty/libwebrtc/Source/webrtc/sdk/WebKit/WebKitEncoder.mm:319
> +void setLocalEncoderLowLatency(LocalEncoder localEncoder, bool
isLowLatencyEnabled)
Ditto about the parameter name from above.
More information about the webkit-reviews
mailing list