gstreamer/plugin: Register plugins with the correct minor version when building for 1.18

This commit is contained in:
Sebastian Dröge 2020-05-08 14:32:20 +03:00
parent 6cf5914e21
commit 3f495ce1da

View file

@ -12,6 +12,8 @@ pub const MAJOR_VERSION: i32 = 1;
pub const MINOR_VERSION: i32 = 14; pub const MINOR_VERSION: i32 = 14;
#[cfg(all(feature = "v1_16", not(feature = "v1_18")))] #[cfg(all(feature = "v1_16", not(feature = "v1_18")))]
pub const MINOR_VERSION: i32 = 16; pub const MINOR_VERSION: i32 = 16;
#[cfg(all(feature = "v1_18", not(feature = "v1_20")))]
pub const MINOR_VERSION: i32 = 17;
#[macro_export] #[macro_export]
macro_rules! gst_plugin_define( macro_rules! gst_plugin_define(