X-Git-Url: https://git.nihav.org/?a=blobdiff_plain;f=nihav-codec-support%2Fsrc%2Ftest%2Fenc_video.rs;h=bde9e7874e46fbd969fd0a05f321b468398de1ee;hb=1047e98335ad782b48bcc88e9277336576c20597;hp=4a258de07863ef7f185647ad16c8e55f413fd6a1;hpb=c8db9313866c4d7bcf34e45e486d2f909daa16d9;p=nihav.git diff --git a/nihav-codec-support/src/test/enc_video.rs b/nihav-codec-support/src/test/enc_video.rs index 4a258de..bde9e78 100644 --- a/nihav-codec-support/src/test/enc_video.rs +++ b/nihav-codec-support/src/test/enc_video.rs @@ -271,7 +271,7 @@ pub fn test_encoding_to_file(dec_config: &DecoderTestParams, enc_config: &Encode vinfo) } else { (ScaleInfo { fmt: YUV420_FORMAT, width: 2, height: 2 }, - NAVideoInfo { width: 2, height: 2, format: YUV420_FORMAT, flipped: false }) + NAVideoInfo { width: 2, height: 2, format: YUV420_FORMAT, flipped: false, bits: 12 }) }; let ofmt = ifmt; let mut scaler = NAScale::new(ifmt, ofmt).unwrap();