diff --git a/gstreamer/src/subclass/plugin_1_14.rs b/gstreamer/src/subclass/plugin_1_14.rs index 49f016ca1..04949f03e 100644 --- a/gstreamer/src/subclass/plugin_1_14.rs +++ b/gstreamer/src/subclass/plugin_1_14.rs @@ -3,7 +3,9 @@ pub const MAJOR_VERSION: i32 = 1; cfg_if::cfg_if! { - if #[cfg(feature = "v1_20")] { + if #[cfg(feature = "v1_22")] { + pub const MINOR_VERSION: i32 = 21; + } else if #[cfg(feature = "v1_20")] { pub const MINOR_VERSION: i32 = 20; } else if #[cfg(feature = "v1_18")] { pub const MINOR_VERSION: i32 = 18;