add declared bitdepth to NAVideoInfo
[nihav.git] / nihav-codec-support / src / test / enc_video.rs
index 4a258de07863ef7f185647ad16c8e55f413fd6a1..bde9e7874e46fbd969fd0a05f321b468398de1ee 100644 (file)
@@ -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();