Skip to content

Commit

Permalink
Fix EXT_TIME value
Browse files Browse the repository at this point in the history
  • Loading branch information
ypo committed Nov 26, 2024
1 parent f2f4807 commit 258a452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/receiver/fdtreceiver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ impl FdtReceiver {

pub fn push(&mut self, pkt: &alc::AlcPkt, now: std::time::SystemTime) {
if let Ok(Some(res)) = alc::get_sender_current_time(pkt) {
self.ext_time = Some(now);
self.ext_time = Some(res);
if res < now {
self.sender_current_time_late = true;
self.sender_current_time_offset = Some(now.duration_since(res).unwrap())
Expand Down

0 comments on commit 258a452

Please sign in to comment.