forked from mirrors/gstreamer-rs
gstreamer: Create plugins with version 1.21 if v1_22 is selected
This commit is contained in:
parent
54440e47df
commit
12f1483d43
1 changed files with 3 additions and 1 deletions
|
@ -3,7 +3,9 @@
|
||||||
pub const MAJOR_VERSION: i32 = 1;
|
pub const MAJOR_VERSION: i32 = 1;
|
||||||
|
|
||||||
cfg_if::cfg_if! {
|
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;
|
pub const MINOR_VERSION: i32 = 20;
|
||||||
} else if #[cfg(feature = "v1_18")] {
|
} else if #[cfg(feature = "v1_18")] {
|
||||||
pub const MINOR_VERSION: i32 = 18;
|
pub const MINOR_VERSION: i32 = 18;
|
||||||
|
|
Loading…
Reference in a new issue