From: Kostya Shishkov Date: Mon, 16 Dec 2019 17:03:21 +0000 (+0100) Subject: truemotionrt: switch to MD5-based test X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=3cee9950407b02100e8902615e927ca4f101d663;p=nihav.git truemotionrt: switch to MD5-based test --- diff --git a/nihav-duck/src/codecs/truemotionrt.rs b/nihav-duck/src/codecs/truemotionrt.rs index 7119061..1aa8a29 100644 --- a/nihav-duck/src/codecs/truemotionrt.rs +++ b/nihav-duck/src/codecs/truemotionrt.rs @@ -102,6 +102,8 @@ mod test { let mut dec_reg = RegisteredDecoders::new(); duck_register_all_codecs(&mut dec_reg); - test_file_decoding("avi", "assets/Duck/tr20_low.avi", Some(10), true, false, None/*Some("tmrt")*/, &dmx_reg, &dec_reg); + test_decoding("avi", "truemotionrt", "assets/Duck/tr20_low.avi", Some(10), + &dmx_reg, &dec_reg, + ExpectedTestResult::MD5([0x24c3d26c, 0x1e8bbdc4, 0xfb0fba5d, 0xaa04be81])); } }