From efb723aaff6cb76f920b37ee10899eb5ec8414c5 Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Fri, 6 Sep 2024 11:44:18 +0200 Subject: [PATCH] fix clippy --- ffplayout/src/player/input/playlist.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffplayout/src/player/input/playlist.rs b/ffplayout/src/player/input/playlist.rs index 79bb39b5..c87fd029 100644 --- a/ffplayout/src/player/input/playlist.rs +++ b/ffplayout/src/player/input/playlist.rs @@ -372,7 +372,7 @@ impl CurrentProgram { let time_in_current_loop = elapsed_sec % self.json_playlist.length.unwrap(); // Adjust the start time so that the playlist starts at the correct point in time - time_sec = time_sec - time_in_current_loop; + time_sec -= time_in_current_loop; } self.json_playlist.start_sec = Some(time_sec);