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 <eladalon@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27872}
This commit is contained in:
Elad Alon 2019-05-07 21:31:21 +02:00 committed by Commit Bot
parent 0c05b1a12f
commit 1f28c28498

View file

@ -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;