// This file was generated by gir (https://github.com/gtk-rs/gir) // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT use DiscovererStreamInfo; use ffi; use glib::translate::*; glib_wrapper! { pub struct DiscovererContainerInfo(Object): DiscovererStreamInfo; match fn { get_type => || ffi::gst_discoverer_container_info_get_type(), } } impl DiscovererContainerInfo { pub fn get_streams(&self) -> Vec { unsafe { FromGlibPtrContainer::from_glib_full(ffi::gst_discoverer_container_info_get_streams(self.to_glib_none().0)) } } } unsafe impl Send for DiscovererContainerInfo {} unsafe impl Sync for DiscovererContainerInfo {}