2019-08-14 18:02:28 +00:00
|
|
|
[package]
|
|
|
|
name = "gst-plugin-fallbackswitch"
|
|
|
|
version = "0.6.0"
|
|
|
|
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
|
|
|
|
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
|
2020-04-16 11:06:34 +00:00
|
|
|
license = "LGPL-2.1-or-later"
|
2019-08-14 18:02:28 +00:00
|
|
|
edition = "2018"
|
|
|
|
description = "Fallback Switcher Plugin"
|
|
|
|
|
|
|
|
[dependencies]
|
2020-04-24 11:33:21 +00:00
|
|
|
libc = { version = "0.2", optional = true }
|
2020-11-01 08:24:02 +00:00
|
|
|
glib = { git = "https://github.com/gtk-rs/gtk-rs" }
|
|
|
|
glib-sys = { git = "https://github.com/gtk-rs/gtk-rs", optional = true }
|
|
|
|
gobject-sys = { git = "https://github.com/gtk-rs/gtk-rs", optional = true }
|
2020-04-24 11:33:21 +00:00
|
|
|
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_14"] }
|
|
|
|
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_16"] }
|
2020-11-01 08:24:02 +00:00
|
|
|
gst-sys = { package = "gstreamer-sys", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", optional = true }
|
2020-04-24 11:33:21 +00:00
|
|
|
gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_14"] }
|
|
|
|
gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_14"] }
|
2020-11-01 08:24:02 +00:00
|
|
|
gtk = { git = "https://github.com/gtk-rs/gtk-rs", optional = true }
|
|
|
|
gio = { git = "https://github.com/gtk-rs/gtk-rs", optional = true }
|
2020-04-07 20:47:15 +00:00
|
|
|
once_cell = "1.0"
|
2019-08-14 18:02:28 +00:00
|
|
|
|
2019-08-17 08:47:05 +00:00
|
|
|
[dev-dependencies]
|
2020-04-24 11:33:21 +00:00
|
|
|
gst-app = { package = "gstreamer-app", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_14"]}
|
|
|
|
gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_14"]}
|
2019-08-17 08:47:05 +00:00
|
|
|
|
2019-08-14 18:02:28 +00:00
|
|
|
[lib]
|
|
|
|
name = "gstfallbackswitch"
|
2020-11-16 14:23:51 +00:00
|
|
|
crate-type = ["cdylib", "rlib", "staticlib"]
|
2019-08-14 18:02:28 +00:00
|
|
|
path = "src/lib.rs"
|
|
|
|
|
2019-09-18 10:12:11 +00:00
|
|
|
[[example]]
|
|
|
|
name = "gtk-fallbackswitch"
|
|
|
|
path = "examples/gtk_fallbackswitch.rs"
|
|
|
|
required-features = ["gtk", "gio"]
|
|
|
|
|
2019-08-14 18:02:28 +00:00
|
|
|
[build-dependencies]
|
2020-04-05 14:38:52 +00:00
|
|
|
gst-plugin-version-helper = { path="../../version-helper" }
|
2019-08-14 18:02:28 +00:00
|
|
|
cc = "1.0"
|
|
|
|
pkg-config = "0.3"
|
|
|
|
|
|
|
|
[features]
|
2020-04-24 11:33:21 +00:00
|
|
|
default = ["glib-sys", "gobject-sys", "gst-sys", "libc"]
|
2020-07-10 09:44:16 +00:00
|
|
|
v1_18 = ["gst-base/v1_18"]
|