mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-09-29 15:22:08 +00:00
15 lines
432 B
Rust
15 lines
432 B
Rust
|
// Take a look at the license at the top of the repository in the LICENSE file.
|
||
|
|
||
|
use crate::TracerFactory;
|
||
|
|
||
|
use glib::translate::*;
|
||
|
|
||
|
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(ffi::gst_tracer_factory_get_list()) }
|
||
|
}
|
||
|
}
|