diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2023-03-14 11:11:31 +0100 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2023-03-14 11:11:31 +0100 |
commit | 2757a0289c980aeba002609c777815b51ace8e56 (patch) | |
tree | 0872e7aa66fb001aa034b44f16ae1dcdfec3293f /nihav-duck/src/codecs/truemotionrtenc.rs | |
parent | 5f9bf7648f667952b787c77afde07d23ac7c01de (diff) | |
download | nihav-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.rs | 1 |
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), |