mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-26 14:45:48 +03:00
e36a9ba96a
1. ElementImpl trait requires GstObjectImpl 2. gst logging macros are no longer globals prefixed with gst_, they live inside gst:: instead 3. element is not longer passed around in many places, it can be accessed as self.obj() or self.instance() 4. query_default is now a part of gst::Pad and takes the pad as an argument 5. some constructors were changed to use from_$type() 6. query.view_mut() returns QueryViewMut 7. ElementFactory::make now returns a builder that we have to .build() There are some extra cleanups as well: 1. spurious 'mut' and '&' are removed, a lot of that can be infered or were turned into a dereference by the compiler anyway 2. !bla.is_ok() are now bla.is_err() 3. some unneeded imports were removed
47 lines
1.2 KiB
TOML
47 lines
1.2 KiB
TOML
[package]
|
|
name = "proton-media-converter"
|
|
version = "7.0.0"
|
|
authors = ["Andrew Eikum <aeikum@codeweavers.com>"]
|
|
repository = "https://github.com/ValveSoftware/Proton/"
|
|
license = "MIT/Apache-2.0"
|
|
edition = "2021"
|
|
description = "Proton media converter"
|
|
|
|
[dependencies]
|
|
glib = "0.16"
|
|
gstreamer = "0.19.1"
|
|
|
|
# the versions are not in sync, the submodules below haven't seen any changes
|
|
# since 0.19.0 release so .1 release haven't happened for them
|
|
gstreamer-base = "0.19.1"
|
|
gstreamer-video = "0.19.0"
|
|
gstreamer-audio = "0.19.0"
|
|
|
|
once_cell = "1.9"
|
|
crc32fast = "1.3"
|
|
array-init = "2.0"
|
|
|
|
[lib]
|
|
name = "protonmediaconverter"
|
|
crate-type = ["cdylib"]
|
|
path = "src/lib.rs"
|
|
|
|
[build-dependencies]
|
|
gst-plugin-version-helper = "0.7.4"
|
|
|
|
[profile.release]
|
|
lto = true
|
|
opt-level = 3
|
|
debug = false
|
|
panic = 'unwind'
|
|
|
|
[profile.dev]
|
|
opt-level = 1
|
|
|
|
#if you need local modifications to gstreamer-rs you can point to it here
|
|
#[patch.'https://github.com/sdroege/gstreamer-rs']
|
|
#gstreamer = { path = "../gstreamer-rs/gstreamer" }
|
|
#gstreamer-base = { path = "../gstreamer-rs/gstreamer-base" }
|
|
#gstreamer-video = { path = "../gstreamer-rs/gstreamer-video" }
|
|
#gstreamer-audio = { path = "../gstreamer-rs/gstreamer-audio" }
|