mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00
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:
parent
0c05b1a12f
commit
1f28c28498
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue