diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2019-11-18 18:59:42 +0100 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2019-11-18 18:59:42 +0100 |
commit | 5580b11b0e9daf065c81a8b354295c6d5d1dd3dd (patch) | |
tree | 99daa6de1b6fd721903158147d2e06b1b07da0c3 /nihav-duck/src | |
parent | caf0f37ecea1e6e25f21fc6e824ac250fe976541 (diff) | |
download | nihav-5580b11b0e9daf065c81a8b354295c6d5d1dd3dd.tar.gz |
make audio decoder tests write .wav files only by request
Diffstat (limited to 'nihav-duck/src')
-rw-r--r-- | nihav-duck/src/codecs/dkadpcm.rs | 4 | ||||
-rw-r--r-- | nihav-duck/src/codecs/on2avc.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/nihav-duck/src/codecs/dkadpcm.rs b/nihav-duck/src/codecs/dkadpcm.rs index 24f5b5b..712a864 100644 --- a/nihav-duck/src/codecs/dkadpcm.rs +++ b/nihav-duck/src/codecs/dkadpcm.rs @@ -190,7 +190,7 @@ mod test { duck_register_all_codecs(&mut dec_reg); let file = "assets/Duck/AVI-DUCK-dk3.duk"; - test_decode_audio("avi", file, Some(100), "dk3", &dmx_reg, &dec_reg); + test_decode_audio("avi", file, Some(100), None/*Some("dk3")*/, &dmx_reg, &dec_reg); } #[test] fn test_dk4() { @@ -200,7 +200,7 @@ mod test { duck_register_all_codecs(&mut dec_reg); let file = "assets/Duck/virtuafighter2-opening1.avi"; - test_decode_audio("avi", file, Some(100), "dk4", &dmx_reg, &dec_reg); + test_decode_audio("avi", file, Some(100), None/*Some("dk4")*/, &dmx_reg, &dec_reg); } } diff --git a/nihav-duck/src/codecs/on2avc.rs b/nihav-duck/src/codecs/on2avc.rs index 8273437..97c73c1 100644 --- a/nihav-duck/src/codecs/on2avc.rs +++ b/nihav-duck/src/codecs/on2avc.rs @@ -1073,7 +1073,7 @@ mod test { //let file = "assets/Duck/Cell-140.vp5"; //let file = "assets/Duck/Chocolat-500.vp5"; let file = "assets/Duck/potter-500.vp7"; - test_decode_audio("avi", file, Some(1500), "avc", &dmx_reg, &dec_reg); + test_decode_audio("avi", file, Some(1500), None/*Some("avc")*/, &dmx_reg, &dec_reg); } } |