Schedule all video decodes with high precision

Bug: chromium:1365820
Change-Id: I91ca7e42c4ce9b49f4b087b898bbfb3cc4cf2935
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/276040
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Commit-Queue: Evan Shrubsole <eshr@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#38126}
This commit is contained in:
Evan Shrubsole 2022-09-20 08:04:58 +00:00 committed by WebRTC LUCI CQ
parent 275d63a13e
commit 36a6599a95

View File

@ -45,7 +45,7 @@ void TaskQueueFrameDecodeScheduler::ScheduleFrame(
TimeDelta wait = std::max(
TimeDelta::Zero(), schedule.latest_decode_time - clock_->CurrentTime());
bookkeeping_queue_->PostDelayedTask(
bookkeeping_queue_->PostDelayedHighPrecisionTask(
SafeTask(task_safety_.flag(),
[this, rtp, schedule, cb = std::move(cb)]() mutable {
RTC_DCHECK_RUN_ON(bookkeeping_queue_);