From 3cee9950407b02100e8902615e927ca4f101d663 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Mon, 16 Dec 2019 18:03:21 +0100 Subject: [PATCH] truemotionrt: switch to MD5-based test --- nihav-duck/src/codecs/truemotionrt.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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])); } } -- 2.39.5