]> git.nihav.org Git - nihav.git/commitdiff
truemotionrt: switch to MD5-based test
authorKostya Shishkov <kostya.shishkov@gmail.com>
Mon, 16 Dec 2019 17:03:21 +0000 (18:03 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Mon, 16 Dec 2019 17:03:21 +0000 (18:03 +0100)
nihav-duck/src/codecs/truemotionrt.rs

index 7119061288e1b1c14802c90d9ee81e690e90bfa2..1aa8a29943a6ec6d5ff49229ce88ec01e3273cf5 100644 (file)
@@ -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]));
     }
 }