Clean up FrameDecodeScheduler
* Migrate callback to one-time absl::AnyInvocable. * Clean tests to use MockFunction. * Use main thread instead of helper function in unittests. * Fix some spelling mistakes. Bug: None Change-Id: I6145f5f5e2748dfa5278898cfdfd762c1840ff8d Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/274170 Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Commit-Queue: Evan Shrubsole <eshr@webrtc.org> Cr-Commit-Position: refs/heads/main@{#38016}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
de89dc6901
commit
c5a91449d6
@ -45,7 +45,7 @@ namespace webrtc {
|
||||
// DecodeSynchronizer, it will instead be executed on the metronome during the
|
||||
// tick interval where `max_decode_time` occurs. For example, if a frame is
|
||||
// scheduled for decode in 50ms and the tick interval is 20ms, then the frame
|
||||
// will be released for decoding in 2 ticks. See below for illustation,
|
||||
// will be released for decoding in 2 ticks. See below for illustration,
|
||||
//
|
||||
// In the case where the decode time is in the past, or must occur before the
|
||||
// next metronome tick then the frame will be released right away, allowing a
|
||||
|
||||
Reference in New Issue
Block a user