aboutsummaryrefslogtreecommitdiffstats
path: root/nihav-codec-support
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2020-06-07 14:48:03 +0200
committerKostya Shishkov <kostya.shishkov@gmail.com>2020-06-07 14:48:03 +0200
commit30940e7459d0fa54e1831bb9825b1b91787ac3d7 (patch)
treeea48fcc3c5f699f57d69a90e53616e5e6ece9a6b /nihav-codec-support
parent0be53e583e2433d7a1702caa24f3864a08f31dd1 (diff)
downloadnihav-30940e7459d0fa54e1831bb9825b1b91787ac3d7.tar.gz
add declared bitdepth to NAVideoInfo
Diffstat (limited to 'nihav-codec-support')
-rw-r--r--nihav-codec-support/src/test/enc_video.rs2
1 files changed, 1 insertions, 1 deletions
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();