gstreamer/
tracer_factory.rs

1// Take a look at the license at the top of the repository in the LICENSE file.
2
3use glib::translate::*;
4
5use crate::TracerFactory;
6
7impl TracerFactory {
8    #[doc(alias = "gst_tracer_factory_get_list")]
9    #[doc(alias = "get_list")]
10    pub fn factories() -> glib::List<TracerFactory> {
11        assert_initialized_main_thread!();
12        unsafe { FromGlibPtrContainer::from_glib_full(crate::ffi::gst_tracer_factory_get_list()) }
13    }
14}