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:
@ -112,7 +112,7 @@ class Vp8FrameBufferController {
|
|||||||
// 2. The frame to be encoded is requested to be a keyframe
|
// 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
|
// 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
|
// 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.
|
// OnEncodeDone() again when the frame has actually been encoded.
|
||||||
virtual bool SupportsEncoderFrameDropping(size_t stream_index) const = 0;
|
virtual bool SupportsEncoderFrameDropping(size_t stream_index) const = 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user