Skip to content

Commit

Permalink
Tests: fix subtitle test
Browse files Browse the repository at this point in the history
  • Loading branch information
emarsden committed Feb 18, 2025
1 parent fa3c4b9 commit d64144e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/subtitles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,7 @@ fn test_subtitles_convert_wvtt () {
let meta = ffprobe(&subpath_wvtt).unwrap();
assert_eq!(meta.streams.len(), 1);
let subdata = &meta.streams[0];
println!("WVTT subs: codec_type {:?}, codec_name {:?}", subdata.codec_type, subdata.codec_name);
// assert_eq!(subdata.codec_type, Some(String::from("audio")));
// assert_eq!(subdata.codec_name, Some(String::from("aac")));
assert_eq!(subdata.codec_type, Some(String::from("data")));
// Check that we were able to convert the WVTT to SRT
let mut subpath_srt = out.to_path_buf();
subpath_srt.set_extension("srt");
Expand Down

0 comments on commit d64144e

Please sign in to comment.