aboutsummaryrefslogtreecommitdiffstats
path: root/nihav-duck/src/codecs/truemotionrtenc.rs
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2023-03-14 11:11:31 +0100
committerKostya Shishkov <kostya.shishkov@gmail.com>2023-03-14 11:11:31 +0100
commit2757a0289c980aeba002609c777815b51ace8e56 (patch)
tree0872e7aa66fb001aa034b44f16ae1dcdfec3293f /nihav-duck/src/codecs/truemotionrtenc.rs
parent5f9bf7648f667952b787c77afde07d23ac7c01de (diff)
downloadnihav-2757a0289c980aeba002609c777815b51ace8e56.tar.gz
introduce a way for encoder to manifest its capabilities
Diffstat (limited to 'nihav-duck/src/codecs/truemotionrtenc.rs')
-rw-r--r--nihav-duck/src/codecs/truemotionrtenc.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/nihav-duck/src/codecs/truemotionrtenc.rs b/nihav-duck/src/codecs/truemotionrtenc.rs
index c80a4b8..47236dd 100644
--- 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),