gstreamer/typefind_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::TypeFindFactory;
6
7impl TypeFindFactory {
8 #[doc(alias = "gst_type_find_factory_get_list")]
9 #[doc(alias = "get_list")]
10 pub fn factories() -> glib::List<TypeFindFactory> {
11 assert_initialized_main_thread!();
12 unsafe {
13 FromGlibPtrContainer::from_glib_full(crate::ffi::gst_type_find_factory_get_list())
14 }
15 }
16}