]> git.nihav.org Git - nihav.git/commitdiff
cinepakenc: add missing field in NAVideoInfo used in test
authorKostya Shishkov <kostya.shishkov@gmail.com>
Mon, 15 Jun 2020 12:38:24 +0000 (14:38 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Mon, 15 Jun 2020 12:38:24 +0000 (14:38 +0200)
nihav-commonfmt/src/codecs/cinepakenc.rs

index 882b63701ffa42a29b34f55ad2e6955c02b15a80..d258df97114c1014eedbe2a4a72894d7cc0f23c9 100644 (file)
@@ -1078,6 +1078,7 @@ mod test {
                 height:  0,
                 format:  YUV420_FORMAT,
                 flipped: true,
+                bits:    12,
             };
         let enc_params = EncodeParameters {
                 format:  NACodecTypeInfo::Video(dst_vinfo),