mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-23 01:18:11 +00:00
ts/jitterbuffer: don't wake up immediately...
... when next wakeup delay is shorter than the max throttling duration. See https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/169
This commit is contained in:
parent
0b615409ac
commit
e7c62cb1f4
1 changed files with 1 additions and 1 deletions
|
@ -1112,7 +1112,7 @@ impl TaskImpl for JitterBufferTask {
|
|||
let (delay_fut, abort_handle) = abortable(async move {
|
||||
match next_wakeup {
|
||||
Some((_, delay)) => {
|
||||
runtime::time::delay_for(delay).await;
|
||||
runtime::time::delay_for_at_least(delay).await;
|
||||
}
|
||||
None => {
|
||||
future::pending::<()>().await;
|
||||
|
|
Loading…
Reference in a new issue