projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
introduce a way for encoder to manifest its capabilities
[nihav.git]
/
nihav-duck
/
src
/
codecs
/
truemotionrtenc.rs
diff --git
a/nihav-duck/src/codecs/truemotionrtenc.rs
b/nihav-duck/src/codecs/truemotionrtenc.rs
index c80a4b84843b3f20e6a8ed8bf261f9b9bf958eaa..47236ddbb1e1c88ab67c2320dd475e34f0ec3bcf 100644
(file)
--- a/
nihav-duck/src/codecs/truemotionrtenc.rs
+++ b/
nihav-duck/src/codecs/truemotionrtenc.rs
@@
-181,6
+181,7
@@
impl NAEncoder for TMRTEncoder {
}
}
}
+ fn get_capabilities(&self) -> u64 { ENC_CAPS_PARAMCHANGE }
fn init(&mut self, stream_id: u32, encinfo: EncodeParameters) -> EncoderResult<NAStreamRef> {
match encinfo.format {
NACodecTypeInfo::None => Err(EncoderError::FormatError),