mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-28 20:41:31 +00:00
4ebec84f5e
Allows us to set all the crates in the main workspace file, so changing their versions or branch is much simpler and reduce the amount of noise in the diff Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1450>
14 lines
439 B
Rust
14 lines
439 B
Rust
// Take a look at the license at the top of the repository in the LICENSE file.
|
|
|
|
use glib::translate::*;
|
|
|
|
use crate::TracerFactory;
|
|
|
|
impl TracerFactory {
|
|
#[doc(alias = "gst_tracer_factory_get_list")]
|
|
#[doc(alias = "get_list")]
|
|
pub fn factories() -> glib::List<TracerFactory> {
|
|
assert_initialized_main_thread!();
|
|
unsafe { FromGlibPtrContainer::from_glib_full(crate::ffi::gst_tracer_factory_get_list()) }
|
|
}
|
|
}
|