gst-plugins-rs/net/hlsmultivariantsink/Cargo.toml
Sanchayan Maity 362898cd54 hlsmultivariantsink: Enable MPEG-TS codec string support only for Linux
For the MPEG-TS case, we depend on cros-codecs for parsing SPS to get
the relevant information for building codec strings. Do not compile it
for non-linux platforms. Users needing MPEG-TS on non-linux platform
need to set codec string manually as a workaround.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1515>
2025-01-28 16:37:35 +05:30

54 lines
1.3 KiB
TOML

[package]
name = "gst-plugin-hlsmultivariantsink"
description = "GStreamer HLS (HTTP Live Streaming) multi-variant sink Plugin"
repository.workspace = true
version.workspace = true
authors = ["Sanchayan Maity <sanchayan@asymptotic.io>"]
edition.workspace = true
license = "MPL-2.0"
rust-version.workspace = true
[dependencies]
gst.workspace = true
gst-app.workspace = true
gio.workspace = true
m3u8-rs = "5.0"
chrono = "0.4"
sprintf = "0.2"
gst-pbutils = { workspace = true, features = ["v1_22"] }
[target.'cfg(target_os = "linux")'.dependencies]
cros-codecs = { version = "0.0.4", default-features = false }
[dev-dependencies]
gst-audio.workspace = true
gst-video.workspace = true
gst-check.workspace = true
m3u8-rs = "5.0"
anyhow = "1"
[build-dependencies]
gst-plugin-version-helper.workspace = true
[lib]
name = "gsthlsmultivariantsink"
crate-type = ["cdylib", "rlib"]
path = "src/lib.rs"
[features]
static = []
capi = []
doc = ["gst/v1_18"]
[package.metadata.capi]
min_version = "0.9.21"
[package.metadata.capi.header]
enabled = false
[package.metadata.capi.library]
install_subdir = "gstreamer-1.0"
versioning = false
import_library = false
[package.metadata.capi.pkg_config]
requires_private = "gstreamer-1.0, gstreamer-base-1.0, gobject-2.0, glib-2.0, gmodule-2.0"