From 1f28c284982fd8c6ac150328b05b0667fa1d0ead Mon Sep 17 00:00:00 2001 From: Elad Alon Date: Tue, 7 May 2019 21:31:21 +0200 Subject: [PATCH] Fix comment over Vp8FrameBufferController::SupportsEncoderFrameDropping CL #132712 added OnFrameDropped, deprecating the previous way this was conveyed (passing 0 length to OnEncodeDone). Bug: None Change-Id: Ie63e1f55429752fd3cd7db46795ed8f7b367ff69 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/135560 Commit-Queue: Elad Alon Reviewed-by: Niels Moller Cr-Commit-Position: refs/heads/master@{#27872} --- api/video_codecs/vp8_frame_buffer_controller.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/video_codecs/vp8_frame_buffer_controller.h b/api/video_codecs/vp8_frame_buffer_controller.h index 012d870ed6..b66933dd5d 100644 --- a/api/video_codecs/vp8_frame_buffer_controller.h +++ b/api/video_codecs/vp8_frame_buffer_controller.h @@ -112,7 +112,7 @@ class Vp8FrameBufferController { // 2. The frame to be encoded is requested to be a keyframe // 3. The encoded detected a large overshoot and decided to drop and then // re-encode the image at a low bitrate. In this case the encoder should - // call OnEncodeDone() once with size = 0 to indicate drop, and then call + // call OnFrameDropped() once to indicate drop, and then call // OnEncodeDone() again when the frame has actually been encoded. virtual bool SupportsEncoderFrameDropping(size_t stream_index) const = 0;