]> git.nihav.org Git - nihav.git/commitdiff
vp3: use MD5 hash for VP3.1 test
authorKostya Shishkov <kostya.shiskov@gmail.com>
Mon, 30 Dec 2019 15:04:24 +0000 (16:04 +0100)
committerKostya Shishkov <kostya.shiskov@gmail.com>
Mon, 30 Dec 2019 15:04:24 +0000 (16:04 +0100)
nihav-duck/src/codecs/vp3.rs

index 8612831d20dbf17b9b93817217f7fbadc31029f7..7c859e277592f2f370fb377456c8ed0b15ccb63d 100644 (file)
@@ -1888,11 +1888,13 @@ mod test {
         let mut dec_reg = RegisteredDecoders::new();
         duck_register_all_codecs(&mut dec_reg);
 
-        let file = "assets/Duck/vp31.avi";
+//        let file = "assets/Duck/vp31.avi";
 //        let file = "assets/Duck/vp31_crash.avi";
 //        let file = "assets/Duck/01-vp31-0500.avi";
-        test_file_decoding("avi", file, Some(3), true, false, None/*Some("vp31")*/, &dmx_reg, &dec_reg);
+//        test_file_decoding("avi", file, Some(3), true, false, None/*Some("vp31")*/, &dmx_reg, &dec_reg);
 //panic!("end");
+        test_decoding("avi", "vp3", "assets/Duck/01-vp31-0500.avi", Some(16), &dmx_reg, &dec_reg,
+                      ExpectedTestResult::MD5([0x65112f7e, 0x2914f29b, 0x2908ed2f, 0xce5fc8c5]));
     }
 
     #[test]