mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-29 23:11:01 +00:00
a8b46f1bf4
Implement an element that can take an input 608 caption stream and generate a valid 708 caption stream by parsing the 608 data and generating the equivalent DTVCCPackets and Service blocks. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1112>
76 lines
2.1 KiB
TOML
76 lines
2.1 KiB
TOML
[package]
|
|
name = "gst-plugin-closedcaption"
|
|
version = "0.11.0-alpha.1"
|
|
authors = ["Sebastian Dröge <sebastian@centricular.com>", "Jordan Petridis <jordan@centricular.com>", "Matthew Waters <matthew@centricular.com>"]
|
|
license = "MPL-2.0"
|
|
edition = "2021"
|
|
rust-version = "1.66"
|
|
description = "GStreamer Rust Closed Caption Plugin"
|
|
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
nom = "7.0"
|
|
either = "1"
|
|
uuid = { version = "1.0", features = ["v4"] }
|
|
chrono = "0.4.23"
|
|
once_cell = "1.0"
|
|
atomic_refcell = "0.1"
|
|
cairo-rs = { git = "https://github.com/gtk-rs/gtk-rs-core", features=["use_glib"] }
|
|
pango = { git = "https://github.com/gtk-rs/gtk-rs-core" }
|
|
pangocairo = { git = "https://github.com/gtk-rs/gtk-rs-core" }
|
|
byteorder = "1"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = { version = "1.0", features = ["raw_value"] }
|
|
cea708-types = "0.1"
|
|
|
|
[dependencies.gst]
|
|
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
|
|
features = ["v1_16"]
|
|
package="gstreamer"
|
|
|
|
[dependencies.gst-base]
|
|
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
|
|
features = ["v1_16"]
|
|
package="gstreamer-base"
|
|
|
|
[dependencies.gst-video]
|
|
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
|
|
features = ["v1_16"]
|
|
package="gstreamer-video"
|
|
|
|
[dev-dependencies]
|
|
pretty_assertions = "1"
|
|
rand = { version = "0.8", features = ["small_rng"] }
|
|
|
|
[dev-dependencies.gst-check]
|
|
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
|
|
package="gstreamer-check"
|
|
|
|
[lib]
|
|
name = "gstrsclosedcaption"
|
|
crate-type = ["cdylib", "rlib"]
|
|
path = "src/lib.rs"
|
|
|
|
[build-dependencies]
|
|
gst-plugin-version-helper = { path="../../version-helper" }
|
|
cc = "1.0"
|
|
|
|
[features]
|
|
# We already use 1.16 which is new enough for static build
|
|
static = []
|
|
capi = []
|
|
doc = ["gst/v1_18"]
|
|
|
|
[package.metadata.capi]
|
|
min_version = "0.8.0"
|
|
|
|
[package.metadata.capi.header]
|
|
enabled = false
|
|
|
|
[package.metadata.capi.library]
|
|
install_subdir = "gstreamer-1.0"
|
|
versioning = false
|
|
|
|
[package.metadata.capi.pkg_config]
|
|
requires_private = "gstreamer-1.0, gstreamer-base-1.0, gstreamer-video-1.0, gobject-2.0, glib-2.0, gmodule-2.0, pango, pangocairo, cairo-gobject"
|