From 12f1483d4345e40b0c613a6495d65bb33d377f3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 15 Mar 2022 15:04:49 +0200 Subject: [PATCH] gstreamer: Create plugins with version 1.21 if v1_22 is selected --- gstreamer/src/subclass/plugin_1_14.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;