fix paths

This commit is contained in:
jb-alvarado 2024-02-02 12:59:38 +01:00
parent 87a05eeb84
commit 09f7c0e5bd

View File

@ -15,10 +15,10 @@ use ffplayout_lib::utils::{
#[test]
fn test_random_list() {
let clip_list = vec![
Media::new(0, "./assets/with_audio.mp4", true), // 30 seconds
Media::new(0, "./assets/dual_audio.mp4", true), // 30 seconds
Media::new(0, "./assets/av_sync.mp4", true), // 30 seconds
Media::new(0, "./assets/ad.mp4", true), // 25 seconds
Media::new(0, "./assets/media_mix/with_audio.mp4", true), // 30 seconds
Media::new(0, "./assets/media_mix/dual_audio.mp4", true), // 30 seconds
Media::new(0, "./assets/media_mix/av_sync.mp4", true), // 30 seconds
Media::new(0, "./assets/media_mix/ad.mp4", true), // 25 seconds
];
let r_list = random_list(clip_list.clone(), 200.0);
@ -31,10 +31,10 @@ fn test_random_list() {
#[test]
fn test_ordered_list() {
let clip_list = vec![
Media::new(0, "./assets/with_audio.mp4", true), // 30 seconds
Media::new(0, "./assets/dual_audio.mp4", true), // 30 seconds
Media::new(0, "./assets/av_sync.mp4", true), // 30 seconds
Media::new(0, "./assets/ad.mp4", true), // 25 seconds
Media::new(0, "./assets/media_mix/with_audio.mp4", true), // 30 seconds
Media::new(0, "./assets/media_mix/dual_audio.mp4", true), // 30 seconds
Media::new(0, "./assets/media_mix/av_sync.mp4", true), // 30 seconds
Media::new(0, "./assets/media_mix/ad.mp4", true), // 25 seconds
];
let o_list = ordered_list(clip_list.clone(), 85.0);