aboutsummaryrefslogtreecommitdiffstats
path: root/nihav-realmedia
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2019-11-18 18:59:42 +0100
committerKostya Shishkov <kostya.shishkov@gmail.com>2019-11-18 18:59:42 +0100
commit5580b11b0e9daf065c81a8b354295c6d5d1dd3dd (patch)
tree99daa6de1b6fd721903158147d2e06b1b07da0c3 /nihav-realmedia
parentcaf0f37ecea1e6e25f21fc6e824ac250fe976541 (diff)
downloadnihav-5580b11b0e9daf065c81a8b354295c6d5d1dd3dd.tar.gz
make audio decoder tests write .wav files only by request
Diffstat (limited to 'nihav-realmedia')
-rw-r--r--nihav-realmedia/src/codecs/cook.rs2
-rw-r--r--nihav-realmedia/src/codecs/ra144.rs2
-rw-r--r--nihav-realmedia/src/codecs/ra288.rs2
-rw-r--r--nihav-realmedia/src/codecs/ralf.rs2
4 files changed, 4 insertions, 4 deletions
diff --git a/nihav-realmedia/src/codecs/cook.rs b/nihav-realmedia/src/codecs/cook.rs
index a1a32e4..74364fc 100644
--- a/nihav-realmedia/src/codecs/cook.rs
+++ b/nihav-realmedia/src/codecs/cook.rs
@@ -696,7 +696,7 @@ mod test {
// let file = "assets/RV/rv30_weighted_mc.rm";
let file = "assets/RV/multichannel.rma";
- test_decode_audio("realmedia", file, Some(2000), "cook", &dmx_reg, &dec_reg);
+ test_decode_audio("realmedia", file, Some(2000), None/*Some("cook")*/, &dmx_reg, &dec_reg);
}
}
diff --git a/nihav-realmedia/src/codecs/ra144.rs b/nihav-realmedia/src/codecs/ra144.rs
index 4e8a6a5..2b70f04 100644
--- a/nihav-realmedia/src/codecs/ra144.rs
+++ b/nihav-realmedia/src/codecs/ra144.rs
@@ -330,7 +330,7 @@ mod test {
realmedia_register_all_codecs(&mut dec_reg);
let file = "assets/RV/ra3_in_rm_file.rm";
- test_decode_audio("realmedia", file, Some(5000), "ra14.4", &dmx_reg, &dec_reg);
+ test_decode_audio("realmedia", file, Some(5000), None/*Some("ra14.4")*/, &dmx_reg, &dec_reg);
}
}
diff --git a/nihav-realmedia/src/codecs/ra288.rs b/nihav-realmedia/src/codecs/ra288.rs
index ef8faae..251e47c 100644
--- a/nihav-realmedia/src/codecs/ra288.rs
+++ b/nihav-realmedia/src/codecs/ra288.rs
@@ -220,7 +220,7 @@ mod test {
realmedia_register_all_codecs(&mut dec_reg);
let file = "assets/RV/A0000044.rm";
- test_decode_audio("realmedia", file, Some(5000), "ra28.8", &dmx_reg, &dec_reg);
+ test_decode_audio("realmedia", file, Some(5000), None/*Some("ra28.8")*/, &dmx_reg, &dec_reg);
}
}
diff --git a/nihav-realmedia/src/codecs/ralf.rs b/nihav-realmedia/src/codecs/ralf.rs
index 7bcab6b..c5a0f7f 100644
--- a/nihav-realmedia/src/codecs/ralf.rs
+++ b/nihav-realmedia/src/codecs/ralf.rs
@@ -490,7 +490,7 @@ mod test {
realmedia_register_all_codecs(&mut dec_reg);
let file = "assets/RV/rv40_ralf.rmvb";
- test_decode_audio("realmedia", file, Some(2000), "ralf", &dmx_reg, &dec_reg);
+ test_decode_audio("realmedia", file, Some(2000), None/*Some("ralf")*/, &dmx_reg, &dec_reg);
//panic!("end");
}
}