From c75dce78e4ee295c8ceeac769275921ac5ebb1f5 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Tue, 16 Jun 2020 16:43:08 +0200 Subject: [PATCH] msvideo1enc: switch to MD5-based test --- nihav-ms/src/codecs/msvideo1enc.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nihav-ms/src/codecs/msvideo1enc.rs b/nihav-ms/src/codecs/msvideo1enc.rs index 9acfb3c..49be39e 100644 --- a/nihav-ms/src/codecs/msvideo1enc.rs +++ b/nihav-ms/src/codecs/msvideo1enc.rs @@ -545,7 +545,7 @@ mod test { demuxer: "avi", in_name: "assets/Misc/TalkingHead_352x288.avi", stream_type: StreamType::Video, - limit: Some(32), + limit: Some(3), dmx_reg, dec_reg, }; let enc_config = EncoderTestParams { @@ -569,6 +569,8 @@ mod test { tb_den: 0, flags: 0, }; - test_encoding_to_file(&dec_config, &enc_config, enc_params); + //test_encoding_to_file(&dec_config, &enc_config, enc_params); + test_encoding_md5(&dec_config, &enc_config, enc_params, + &[0x8f0d3f66, 0xb91a6ee5, 0x59e4933e, 0x59c6fb0b]); } } -- 2.39.5