ffv1: Lower minimum required GStreamer version to 1.12

This commit is contained in:
Sebastian Dröge 2021-09-10 09:42:25 +03:00
parent c8fc082968
commit b9864acad6

View file

@ -9,12 +9,12 @@ edition = "2018"
[dependencies] [dependencies]
ffv1 = { git = "https://github.com/rust-av/ffv1.git", rev = "2afb025a327173ce891954c052e804d0f880368a" } ffv1 = { git = "https://github.com/rust-av/ffv1.git", rev = "2afb025a327173ce891954c052e804d0f880368a" }
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_18"] } gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_12"] }
gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_18"] } gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_12"] }
once_cell = "1.0" once_cell = "1.0"
[dev-dependencies] [dev-dependencies]
gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_18"] } gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_12"] }
[lib] [lib]
name = "gstffv1" name = "gstffv1"
crate-type = ["cdylib", "rlib"] crate-type = ["cdylib", "rlib"]
@ -24,7 +24,8 @@ path = "src/lib.rs"
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper = { path="../../version-helper" }
[features] [features]
static = ["gst/v1_18"] # GStreamer 1.14 is required for static linking
static = ["gst/v1_14"]
capi = [] capi = []
[package.metadata.capi] [package.metadata.capi]