From: Kostya Shishkov Date: Tue, 16 Jun 2020 14:43:08 +0000 (+0200) Subject: msvideo1enc: switch to MD5-based test X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=c75dce78e4ee295c8ceeac769275921ac5ebb1f5;p=nihav.git msvideo1enc: switch to MD5-based test --- 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]); } }