mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-09-27 14:30:36 +00:00
003554876c
Currently only covers what is needed to keep code compiling, plus everything caps/structure/tags related. This avoids unnecessary heap allocations for adding the NUL-terminator of C strings, and especially makes caps/structure handling as efficient as in C. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1190>
7 lines
273 B
Rust
7 lines
273 B
Rust
// Take a look at the license at the top of the repository in the LICENSE file.
|
|
|
|
use gst::CapsFeatures;
|
|
use once_cell::sync::Lazy;
|
|
|
|
pub static CAPS_FEATURES_MEMORY_GL_MEMORY: Lazy<CapsFeatures> =
|
|
Lazy::new(|| CapsFeatures::new([crate::CAPS_FEATURE_MEMORY_GL_MEMORY]));
|