diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2020-06-06 09:40:26 +0200 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2020-06-06 09:40:26 +0200 |
commit | ee0ca773d99115f67d776735bcad168e1993d2e8 (patch) | |
tree | f6baacd76342697f8d44c7be69bbdfffea2917f6 /nihav-core/src | |
parent | b3247252f111872574c1aa3dc993f11d8aa66282 (diff) | |
download | nihav-ee0ca773d99115f67d776735bcad168e1993d2e8.tar.gz |
factor out keyframe interval option
Diffstat (limited to 'nihav-core/src')
-rw-r--r-- | nihav-core/src/options.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nihav-core/src/options.rs b/nihav-core/src/options.rs index c2f2d4d..846a948 100644 --- a/nihav-core/src/options.rs +++ b/nihav-core/src/options.rs @@ -8,6 +8,11 @@ use std::sync::Arc; use std::fmt; +/// Common name for keyframe interval option. +pub const KEYFRAME_OPTION: &'static str = "key_int"; +/// Common description for keyframe interval option. +pub const KEYFRAME_OPTION_DESC: &'static str = "Keyframe interval (0 - automatic)"; + /// A list specifying option parsing and validating errors. #[derive(Clone,Copy,Debug,PartialEq)] pub enum OptionError { |