Update minimum supported GStreamer version to 1.14

This commit is contained in:
Sebastian Dröge 2022-04-07 12:41:54 +03:00
parent 0a3e9c81f9
commit 803e452889
29 changed files with 44 additions and 73 deletions

View file

@ -28,8 +28,7 @@ path = "src/lib.rs"
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper = { path="../../version-helper" }
[features] [features]
# GStreamer 1.14 is required for static linking static = []
static = ["gst/v1_14"]
capi = [] capi = []
[package.metadata.capi] [package.metadata.capi]

View file

@ -32,8 +32,7 @@ path = "examples/effect_example.rs"
gst-plugin-version-helper = { path = "../../version-helper" } gst-plugin-version-helper = { path = "../../version-helper" }
[features] [features]
# GStreamer 1.14 is required for static linking static = []
static = ["gst/v1_14"]
capi = [] capi = []
[package.metadata.capi] [package.metadata.capi]

View file

@ -28,8 +28,7 @@ path = "src/lib.rs"
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper = { path="../../version-helper" }
[features] [features]
# GStreamer 1.14 is required for static linking static = []
static = ["gst/v1_14"]
capi = [] capi = []
[package.metadata.capi] [package.metadata.capi]

View file

@ -26,8 +26,7 @@ path = "src/lib.rs"
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper = { path="../../version-helper" }
[features] [features]
# GStreamer 1.14 is required for static linking static = []
static = ["gst/v1_14"]
capi = [] capi = []
[package.metadata.capi] [package.metadata.capi]

View file

@ -23,8 +23,7 @@ path = "src/lib.rs"
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper = { path="../../version-helper" }
[features] [features]
# GStreamer 1.14 is required for static linking static = []
static = ["gst/v1_14"]
capi = [] capi = []
[package.metadata.capi] [package.metadata.capi]

View file

@ -10,9 +10,9 @@ rust-version = "1.57"
[dependencies] [dependencies]
anyhow = "1" anyhow = "1"
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_14"] } gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_14"] } gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_14"] } gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
once_cell = "1.0" once_cell = "1.0"
[lib] [lib]

View file

@ -57,8 +57,7 @@ required-features = ["serde", "serde_json", "clap"]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper = { path="../../version-helper" }
[features] [features]
# GStreamer 1.14 is required for static linking static = []
static = ["gst/v1_14"]
capi = [] capi = []
[package.metadata.capi] [package.metadata.capi]

View file

@ -55,8 +55,7 @@ cc = "1.0.38"
pkg-config = "0.3.15" pkg-config = "0.3.15"
[features] [features]
# GStreamer 1.14 is required for static linking static = []
static = ["gst/v1_14"]
capi = [] capi = []
[package.metadata.capi] [package.metadata.capi]

View file

@ -9,7 +9,7 @@ license = "MPL-2.0"
rust-version = "1.57" rust-version = "1.57"
[dependencies] [dependencies]
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_10"] } gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" } gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" } glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gio = { git = "https://github.com/gtk-rs/gtk-rs-core" } gio = { git = "https://github.com/gtk-rs/gtk-rs-core" }
@ -30,8 +30,7 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[features] [features]
# GStreamer 1.14 is required for static linking static = []
static = ["gst/v1_14"]
capi = [] capi = []
[package.metadata.capi] [package.metadata.capi]

View file

@ -21,7 +21,7 @@ once_cell = "1.0"
[dev-dependencies] [dev-dependencies]
hyper = { version = "0.14", features = ["server"] } hyper = { version = "0.14", features = ["server"] }
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_10"] } gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
[lib] [lib]
name = "gstreqwest" name = "gstreqwest"
@ -32,8 +32,7 @@ path = "src/lib.rs"
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper = { path="../../version-helper" }
[features] [features]
# GStreamer 1.14 is required for static linking static = []
static = ["gst/v1_14"]
capi = [] capi = []
[package.metadata.capi] [package.metadata.capi]

View file

@ -43,8 +43,7 @@ path = "src/lib.rs"
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper = { path="../../version-helper" }
[features] [features]
# GStreamer 1.14 is required for static linking static = []
static = ["gst/v1_14"]
capi = [] capi = []
[package.metadata.capi] [package.metadata.capi]

View file

@ -21,8 +21,7 @@ path = "src/lib.rs"
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper = { path="../../version-helper" }
[features] [features]
# GStreamer 1.14 is required for static linking static = []
static = ["gst/v1_14"]
capi = [] capi = []
[package.metadata.capi] [package.metadata.capi]

View file

@ -31,8 +31,7 @@ package="gstreamer-check"
[features] [features]
default = ["gst/ser_de"] default = ["gst/ser_de"]
# GStreamer 1.14 is required for static linking static = ["default"]
static = ["default", "gst/v1_14"]
capi = [] capi = []
[package.metadata.capi] [package.metadata.capi]

View file

@ -14,7 +14,6 @@ regex = "1.5"
[dependencies.gst] [dependencies.gst]
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
features = ["v1_14"]
package="gstreamer" package="gstreamer"
[lib] [lib]
@ -30,8 +29,7 @@ git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
package="gstreamer-check" package="gstreamer-check"
[features] [features]
# GStreamer 1.14 is required for static linking static = []
static = ["gst/v1_14"]
capi = [] capi = []
[package.metadata.capi] [package.metadata.capi]

View file

@ -30,8 +30,7 @@ git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
package="gstreamer-check" package="gstreamer-check"
[features] [features]
# GStreamer 1.14 is required for static linking static = []
static = ["gst/v1_14"]
capi = [] capi = []
[package.metadata.capi] [package.metadata.capi]

View file

@ -10,18 +10,18 @@ description = "Fallback Switcher Plugin"
[dependencies] [dependencies]
libc = { version = "0.2", optional = true } libc = { version = "0.2", optional = true }
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_14"] } gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_14"] } gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_14"] } gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_14"] } gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gtk = { git = "https://github.com/gtk-rs/gtk3-rs", optional = true } gtk = { git = "https://github.com/gtk-rs/gtk3-rs", optional = true }
gio = { git = "https://github.com/gtk-rs/gtk-rs-core", optional = true } gio = { git = "https://github.com/gtk-rs/gtk-rs-core", optional = true }
once_cell = "1.0" once_cell = "1.0"
parking_lot = "0.12" parking_lot = "0.12"
[dev-dependencies] [dev-dependencies]
gst-app = { package = "gstreamer-app", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_14"]} gst-app = { package = "gstreamer-app", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_14"]} gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
[lib] [lib]
name = "gstfallbackswitch" name = "gstfallbackswitch"
@ -38,7 +38,6 @@ gst-plugin-version-helper = { path="../../version-helper" }
[features] [features]
default = ["libc"] default = ["libc"]
# We already use 1.14 which is new enough for static build
static = [] static = []
capi = [] capi = []

View file

@ -34,8 +34,7 @@ required-features = ["gtk", "gio"]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper = { path="../../version-helper" }
[features] [features]
# GStreamer 1.14 is required for static linking static = []
static = ["gst/v1_14"]
capi = [] capi = []
[package.metadata.capi] [package.metadata.capi]

View file

@ -8,13 +8,13 @@ edition = "2018"
description = "Playlist Plugin" description = "Playlist Plugin"
[dependencies] [dependencies]
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_14"] } gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
once_cell = "1.0" once_cell = "1.0"
anyhow = "1" anyhow = "1"
crossbeam-channel = "0.5" crossbeam-channel = "0.5"
[dev-dependencies] [dev-dependencies]
gst-app = { package = "gstreamer-app", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_14"]} gst-app = { package = "gstreamer-app", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
structopt = "0.3" structopt = "0.3"
url = "2.2" url = "2.2"
more-asserts = "0.2" more-asserts = "0.2"
@ -32,8 +32,7 @@ path = "examples/playlist.rs"
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper = { path="../../version-helper" }
[features] [features]
# GStreamer 1.14 is required for static linking static = []
static = ["gst/v1_14"]
capi = [] capi = []
[package.metadata.capi] [package.metadata.capi]

View file

@ -9,9 +9,9 @@ edition = "2021"
rust-version = "1.57" rust-version = "1.57"
[dependencies] [dependencies]
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_12"] } gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_12"] } gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_12"] } gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
cdg = "0.1" cdg = "0.1"
cdg_renderer = "0.7" cdg_renderer = "0.7"
image = { version = "0.24", default-features = false } image = { version = "0.24", default-features = false }
@ -30,8 +30,7 @@ path = "src/lib.rs"
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper = { path="../../version-helper" }
[features] [features]
# GStreamer 1.14 is required for static linking static = []
static = ["gst/v1_14"]
capi = [] capi = []
[package.metadata.capi] [package.metadata.capi]

View file

@ -13,7 +13,7 @@ atomic_refcell = "0.1"
dav1d = "0.7" dav1d = "0.7"
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" } gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" } gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_12"] } gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
once_cell = "1.0" once_cell = "1.0"
[lib] [lib]
@ -25,8 +25,7 @@ path = "src/lib.rs"
gst-plugin-version-helper = { path = "../../version-helper" } gst-plugin-version-helper = { path = "../../version-helper" }
[features] [features]
# GStreamer 1.14 is required for static linking static = []
static = ["gst/v1_14"]
capi = [] capi = []
[package.metadata.capi] [package.metadata.capi]

View file

@ -26,8 +26,7 @@ path = "src/lib.rs"
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper = { path="../../version-helper" }
[features] [features]
# GStreamer 1.14 is required for static linking static = []
static = ["gst/v1_14"]
capi = [] capi = []
[package.metadata.capi] [package.metadata.capi]

View file

@ -28,8 +28,7 @@ path = "src/lib.rs"
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper = { path="../../version-helper" }
[features] [features]
# GStreamer 1.14 is required for static linking static = []
static = ["gst/v1_14"]
capi = [] capi = []
[package.metadata.capi] [package.metadata.capi]

View file

@ -31,8 +31,7 @@ path = "examples/testvideosrc2gif.rs"
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper = { path="../../version-helper" }
[features] [features]
# GStreamer 1.14 is required for static linking static = []
static = ["gst/v1_14"]
capi = [] capi = []
[package.metadata.capi] [package.metadata.capi]

View file

@ -27,8 +27,7 @@ path = "src/lib.rs"
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper = { path="../../version-helper" }
[features] [features]
# GStreamer 1.14 is required for static linking static = []
static = ["gst/v1_14"]
capi = [] capi = []
[package.metadata.capi] [package.metadata.capi]

View file

@ -29,8 +29,7 @@ path = "src/lib.rs"
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper = { path="../../version-helper" }
[features] [features]
# GStreamer 1.14 is required for static linking static = []
static = ["gst/v1_14"]
capi = [] capi = []
[package.metadata.capi] [package.metadata.capi]

View file

@ -10,7 +10,7 @@ rust-version = "1.57"
[dependencies] [dependencies]
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" } gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_12"] } gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
rav1e = { version = "0.5", default-features = false } rav1e = { version = "0.5", default-features = false }
once_cell = "1.0" once_cell = "1.0"
atomic_refcell = "0.1" atomic_refcell = "0.1"
@ -28,8 +28,7 @@ gst-plugin-version-helper = { path="../../version-helper" }
[features] [features]
default = ["hdr"] default = ["hdr"]
# GStreamer 1.14 is required for static linking static = []
static = ["gst/v1_14"]
capi = [] capi = []
asm = ["rav1e/asm"] asm = ["rav1e/asm"]
hdr = ["gst-video/v1_18"] hdr = ["gst-video/v1_18"]

View file

@ -28,8 +28,7 @@ path = "src/lib.rs"
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper = { path="../../version-helper" }
[features] [features]
# GStreamer 1.14 is required for static linking static = []
static = ["gst/v1_14"]
capi = [] capi = []
[package.metadata.capi] [package.metadata.capi]

View file

@ -40,7 +40,6 @@ path = "src/lib.rs"
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper = { path="../../version-helper" }
[features] [features]
# GStreamer 1.14 is required for static linking
static = [] static = []
capi = [] capi = []

View file

@ -36,8 +36,7 @@ path = "src/lib.rs"
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper = { path="../../version-helper" }
[features] [features]
# GStreamer 1.14 is required for static linking static = []
static = ["gst/v1_14"]
capi = [] capi = []
[package.metadata.capi] [package.metadata.capi]