projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add declared bitdepth to NAVideoInfo
[nihav.git]
/
nihav-ms
/
src
/
codecs
/
msvideo1enc.rs
diff --git
a/nihav-ms/src/codecs/msvideo1enc.rs
b/nihav-ms/src/codecs/msvideo1enc.rs
index 6dd5a6052247c22075e71b238329044bc929cc37..c6e4e8d24a4e2496ea8ed2b0aafc579478dc0f80 100644
(file)
--- a/
nihav-ms/src/codecs/msvideo1enc.rs
+++ b/
nihav-ms/src/codecs/msvideo1enc.rs
@@
-441,7
+441,7
@@
impl NAEncoder for MSVideo1Encoder {
self.stream = Some(stream.clone());
self.quality = encinfo.quality;
-
+
Ok(stream)
},
}
@@
-559,6
+559,7
@@
mod test {
height: 0,
format: RGB555_FORMAT,
flipped: true,
+ bits: 16,
};
let enc_params = EncodeParameters {
format: NACodecTypeInfo::Video(dst_vinfo),