diff --git a/engine/src/player/controller.rs b/engine/src/player/controller.rs index 146ccb48..40acca75 100644 --- a/engine/src/player/controller.rs +++ b/engine/src/player/controller.rs @@ -400,6 +400,7 @@ fn find_m3u8_files(path: &Path) -> io::Result> { Ok(m3u8_files) } +/// Check if segment is in playlist, if not, delete it. fn delete_old_segments + Clone + std::fmt::Debug>( path: P, pl_segments: &[String],