Bump to 0.3.1 and format/clippy

This commit is contained in:
Cameron committed 2025-12-01 13:04:55 -05:00
1 parent a7d065aadc
commit f02a858368
9 files changed
+156 -163

No files matched your search

+2 -2
View File
@@ -34,7 +34,7 @@ impl Ffmpeg {
.stderr(Stdio::piped())
.output()
.inspect_err(|e| error!("Failed to run ffmpeg on child process: {}", e))
.map_err(|e| std::io::Error::new(std::io::ErrorKind::Other, e.to_string()))
.map_err(|e| std::io::Error::other(e.to_string()))
.await;
if let Ok(ref res) = ffmpeg_result {
@@ -58,7 +58,7 @@ impl Ffmpeg {
duration
.parse::<f32>()
.map(|duration| duration as u32)
.map_err(|e| std::io::Error::new(std::io::ErrorKind::Other, e.to_string()))
.map_err(|e| std::io::Error::other(e.to_string()))
})
.inspect(|duration| debug!("Found video duration: {:?}", duration))
}