Skip to content

Commit 09bd1bd

Browse files
committed
Fix up notify
1 parent b5e0ea2 commit 09bd1bd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

playback/src/player.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1153,6 +1153,7 @@ impl Future for PlayerInternal {
11531153
let new_stream_position_ms = packet_position
11541154
.position_ms
11551155
.saturating_sub(sample_pipeline_latency_ms);
1156+
11561157
let expected_position_ms = std::mem::replace(
11571158
&mut *stream_position_ms,
11581159
new_stream_position_ms,
@@ -1200,7 +1201,7 @@ impl Future for PlayerInternal {
12001201
}
12011202
}
12021203

1203-
notify
1204+
notify || sample_pipeline_latency_ms > 1000
12041205
}
12051206
};
12061207

0 commit comments

Comments
 (0)