mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-02-16 12:55:13 +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
8eb8ea0e7d
commit
1ef9ae6398
1 changed files with 1 additions and 1 deletions
|
@ -1111,7 +1111,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