X-Git-Url: https://git.nihav.org/?p=nihav.git;a=blobdiff_plain;f=nihav-commonfmt%2Fsrc%2Fcodecs%2Fcinepakenc.rs;h=f0a28059bcd56e17328dde94c5fd39d3b20715c5;hp=c05b86d3f5c2ddfd126d9108044aa683a53345fa;hb=8211e0aadd003c6b02c6f7e8efc9f3930eb9d502;hpb=02ac9782a6a09dd3450fabc901b9e3e5dc26324a diff --git a/nihav-commonfmt/src/codecs/cinepakenc.rs b/nihav-commonfmt/src/codecs/cinepakenc.rs index c05b86d..f0a2805 100644 --- a/nihav-commonfmt/src/codecs/cinepakenc.rs +++ b/nihav-commonfmt/src/codecs/cinepakenc.rs @@ -1029,7 +1029,7 @@ impl NAOptionHandler for CinepakEncoder { } fn query_option_value(&self, name: &str) -> Option { match name { - "key_int" => Some(NAValue::Int(i64::from(self.key_int))), + KEYFRAME_OPTION => Some(NAValue::Int(i64::from(self.key_int))), "nstrips" => Some(NAValue::Int(self.nstrips as i64)), "quant_mode" => Some(NAValue::String(self.qmode.to_string())), _ => None,