update ffmpeg tests

This commit is contained in:
Chris Cochrun 2024-09-17 06:19:22 -05:00
parent 50f15bee7d
commit 3b87f862ea

View file

@ -91,13 +91,11 @@ mod test {
#[test]
fn test_bg_video_creation() {
let video = Path::new(
"/home/chris/vids/All WebDev Sucks and you know it.webm",
);
let video = Path::new("/home/chris/vids/moms-funeral.mp4");
let screenshot = bg_path_from_video(video);
let screenshot_string =
screenshot.to_str().expect("Should be thing");
assert_eq!(screenshot_string, "/home/chris/.local/share/lumina/thumbnails/All WebDev Sucks and you know it.png");
assert_eq!(screenshot_string, "/home/chris/.local/share/lumina/thumbnails/moms-funeral.png");
// let runtime = tokio::runtime::Runtime::new().unwrap();
let result = bg_from_video(video, &screenshot);