mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-10-31 22:58:51 +00:00
6ce3029e07
As a side effect this allows us also to handle errors more gracefully and to reduce memory load by outputting decoded frames immediately. Also the code was changed a bit to reduce the number of redundant mutex lock/unlocks.
43 lines
1.3 KiB
TOML
43 lines
1.3 KiB
TOML
[package]
|
|
name = "gst-plugin-dav1d"
|
|
version = "0.9.0"
|
|
authors = ["Philippe Normand <philn@igalia.com>"]
|
|
edition = "2021"
|
|
rust-version = "1.56"
|
|
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
|
|
license = "MIT/Apache-2.0"
|
|
description = "Dav1d Plugin"
|
|
|
|
[dependencies]
|
|
# dav1d = "0.7"
|
|
dav1d = { git = "https://github.com/rust-av/dav1d-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-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_12"] }
|
|
once_cell = "1.0"
|
|
|
|
[lib]
|
|
name = "gstrsdav1d"
|
|
crate-type = ["cdylib", "rlib"]
|
|
path = "src/lib.rs"
|
|
|
|
[build-dependencies]
|
|
gst-plugin-version-helper = { path = "../../version-helper" }
|
|
|
|
[features]
|
|
# GStreamer 1.14 is required for static linking
|
|
static = ["gst/v1_14"]
|
|
capi = []
|
|
|
|
[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, dav1d"
|