fix paths
This commit is contained in:
parent
87a05eeb84
commit
09f7c0e5bd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user