mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-21 17:11:04 +00:00
regenerate
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1587>
This commit is contained in:
parent
b019e4f0c3
commit
8df2662745
60 changed files with 89 additions and 89 deletions
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -67,7 +67,7 @@ pub trait MetaContainerExt: IsA<MetaContainer> + sealed::Sealed + 'static {
|
|||
|
||||
#[doc(alias = "ges_meta_container_foreach")]
|
||||
fn foreach<P: FnMut(&MetaContainer, &str, &glib::Value)>(&self, func: P) {
|
||||
let func_data: P = func;
|
||||
let mut func_data: P = func;
|
||||
unsafe extern "C" fn func_func<P: FnMut(&MetaContainer, &str, &glib::Value)>(
|
||||
container: *const ffi::GESMetaContainer,
|
||||
key: *const std::ffi::c_char,
|
||||
|
@ -81,12 +81,12 @@ pub trait MetaContainerExt: IsA<MetaContainer> + sealed::Sealed + 'static {
|
|||
(*callback)(&container, key.as_str(), &value)
|
||||
}
|
||||
let func = Some(func_func::<P> as _);
|
||||
let super_callback0: &P = &func_data;
|
||||
let super_callback0: &mut P = &mut func_data;
|
||||
unsafe {
|
||||
ffi::ges_meta_container_foreach(
|
||||
self.as_ref().to_glib_none().0,
|
||||
func,
|
||||
super_callback0 as *const _ as *mut _,
|
||||
super_callback0 as *mut _ as *mut _,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -60,7 +60,7 @@ pub trait GLFilterExt: IsA<GLFilter> + sealed::Sealed + 'static {
|
|||
output: &GLMemory,
|
||||
func: P,
|
||||
) -> Result<(), glib::error::BoolError> {
|
||||
let func_data: P = func;
|
||||
let mut func_data: P = func;
|
||||
unsafe extern "C" fn func_func<P: FnMut(&GLFilter, &GLMemory) -> bool>(
|
||||
filter: *mut ffi::GstGLFilter,
|
||||
in_tex: *mut ffi::GstGLMemory,
|
||||
|
@ -72,7 +72,7 @@ pub trait GLFilterExt: IsA<GLFilter> + sealed::Sealed + 'static {
|
|||
(*callback)(&filter, &in_tex).into_glib()
|
||||
}
|
||||
let func = Some(func_func::<P> as _);
|
||||
let super_callback0: &P = &func_data;
|
||||
let super_callback0: &mut P = &mut func_data;
|
||||
unsafe {
|
||||
glib::result_from_gboolean!(
|
||||
ffi::gst_gl_filter_render_to_target(
|
||||
|
@ -80,7 +80,7 @@ pub trait GLFilterExt: IsA<GLFilter> + sealed::Sealed + 'static {
|
|||
mut_override(input.to_glib_none().0),
|
||||
mut_override(output.to_glib_none().0),
|
||||
func,
|
||||
super_callback0 as *const _ as *mut _
|
||||
super_callback0 as *mut _ as *mut _
|
||||
),
|
||||
"`func` returned `false`"
|
||||
)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -142,7 +142,7 @@ pub trait RTSPClientExt: IsA<RTSPClient> + sealed::Sealed + 'static {
|
|||
&self,
|
||||
func: Option<&mut dyn (FnMut(&RTSPClient, &RTSPSession) -> RTSPFilterResult)>,
|
||||
) -> Vec<RTSPSession> {
|
||||
let func_data: Option<&mut dyn (FnMut(&RTSPClient, &RTSPSession) -> RTSPFilterResult)> =
|
||||
let mut func_data: Option<&mut dyn (FnMut(&RTSPClient, &RTSPSession) -> RTSPFilterResult)> =
|
||||
func;
|
||||
unsafe extern "C" fn func_func(
|
||||
client: *mut ffi::GstRTSPClient,
|
||||
|
@ -165,14 +165,14 @@ pub trait RTSPClientExt: IsA<RTSPClient> + sealed::Sealed + 'static {
|
|||
} else {
|
||||
None
|
||||
};
|
||||
let super_callback0: &Option<
|
||||
let super_callback0: &mut Option<
|
||||
&mut dyn (FnMut(&RTSPClient, &RTSPSession) -> RTSPFilterResult),
|
||||
> = &func_data;
|
||||
> = &mut func_data;
|
||||
unsafe {
|
||||
FromGlibPtrContainer::from_glib_full(ffi::gst_rtsp_client_session_filter(
|
||||
self.as_ref().to_glib_none().0,
|
||||
func,
|
||||
super_callback0 as *const _ as *mut _,
|
||||
super_callback0 as *mut _ as *mut _,
|
||||
))
|
||||
}
|
||||
}
|
||||
|
|
|
@ -71,7 +71,7 @@ pub trait RTSPServerExt: IsA<RTSPServer> + sealed::Sealed + 'static {
|
|||
&self,
|
||||
func: Option<&mut dyn (FnMut(&RTSPServer, &RTSPClient) -> RTSPFilterResult)>,
|
||||
) -> Vec<RTSPClient> {
|
||||
let func_data: Option<&mut dyn (FnMut(&RTSPServer, &RTSPClient) -> RTSPFilterResult)> =
|
||||
let mut func_data: Option<&mut dyn (FnMut(&RTSPServer, &RTSPClient) -> RTSPFilterResult)> =
|
||||
func;
|
||||
unsafe extern "C" fn func_func(
|
||||
server: *mut ffi::GstRTSPServer,
|
||||
|
@ -94,14 +94,14 @@ pub trait RTSPServerExt: IsA<RTSPServer> + sealed::Sealed + 'static {
|
|||
} else {
|
||||
None
|
||||
};
|
||||
let super_callback0: &Option<
|
||||
let super_callback0: &mut Option<
|
||||
&mut dyn (FnMut(&RTSPServer, &RTSPClient) -> RTSPFilterResult),
|
||||
> = &func_data;
|
||||
> = &mut func_data;
|
||||
unsafe {
|
||||
FromGlibPtrContainer::from_glib_full(ffi::gst_rtsp_server_client_filter(
|
||||
self.as_ref().to_glib_none().0,
|
||||
func,
|
||||
super_callback0 as *const _ as *mut _,
|
||||
super_callback0 as *mut _ as *mut _,
|
||||
))
|
||||
}
|
||||
}
|
||||
|
|
|
@ -51,7 +51,7 @@ pub trait RTSPSessionExt: IsA<RTSPSession> + sealed::Sealed + 'static {
|
|||
&self,
|
||||
func: Option<&mut dyn (FnMut(&RTSPSession, &RTSPSessionMedia) -> RTSPFilterResult)>,
|
||||
) -> Vec<RTSPSessionMedia> {
|
||||
let func_data: Option<
|
||||
let mut func_data: Option<
|
||||
&mut dyn (FnMut(&RTSPSession, &RTSPSessionMedia) -> RTSPFilterResult),
|
||||
> = func;
|
||||
unsafe extern "C" fn func_func(
|
||||
|
@ -77,14 +77,14 @@ pub trait RTSPSessionExt: IsA<RTSPSession> + sealed::Sealed + 'static {
|
|||
} else {
|
||||
None
|
||||
};
|
||||
let super_callback0: &Option<
|
||||
let super_callback0: &mut Option<
|
||||
&mut dyn (FnMut(&RTSPSession, &RTSPSessionMedia) -> RTSPFilterResult),
|
||||
> = &func_data;
|
||||
> = &mut func_data;
|
||||
unsafe {
|
||||
FromGlibPtrContainer::from_glib_full(ffi::gst_rtsp_session_filter(
|
||||
self.as_ref().to_glib_none().0,
|
||||
func,
|
||||
super_callback0 as *const _ as *mut _,
|
||||
super_callback0 as *mut _ as *mut _,
|
||||
))
|
||||
}
|
||||
}
|
||||
|
|
|
@ -65,7 +65,7 @@ pub trait RTSPSessionPoolExt: IsA<RTSPSessionPool> + sealed::Sealed + 'static {
|
|||
&self,
|
||||
func: Option<&mut dyn (FnMut(&RTSPSessionPool, &RTSPSession) -> RTSPFilterResult)>,
|
||||
) -> Vec<RTSPSession> {
|
||||
let func_data: Option<
|
||||
let mut func_data: Option<
|
||||
&mut dyn (FnMut(&RTSPSessionPool, &RTSPSession) -> RTSPFilterResult),
|
||||
> = func;
|
||||
unsafe extern "C" fn func_func(
|
||||
|
@ -91,14 +91,14 @@ pub trait RTSPSessionPoolExt: IsA<RTSPSessionPool> + sealed::Sealed + 'static {
|
|||
} else {
|
||||
None
|
||||
};
|
||||
let super_callback0: &Option<
|
||||
let super_callback0: &mut Option<
|
||||
&mut dyn (FnMut(&RTSPSessionPool, &RTSPSession) -> RTSPFilterResult),
|
||||
> = &func_data;
|
||||
> = &mut func_data;
|
||||
unsafe {
|
||||
FromGlibPtrContainer::from_glib_full(ffi::gst_rtsp_session_pool_filter(
|
||||
self.as_ref().to_glib_none().0,
|
||||
func,
|
||||
super_callback0 as *const _ as *mut _,
|
||||
super_callback0 as *mut _ as *mut _,
|
||||
))
|
||||
}
|
||||
}
|
||||
|
|
|
@ -882,7 +882,7 @@ pub trait RTSPStreamExt: IsA<RTSPStream> + sealed::Sealed + 'static {
|
|||
&self,
|
||||
func: Option<&mut dyn (FnMut(&RTSPStream, &RTSPStreamTransport) -> RTSPFilterResult)>,
|
||||
) -> Vec<RTSPStreamTransport> {
|
||||
let func_data: Option<
|
||||
let mut func_data: Option<
|
||||
&mut dyn (FnMut(&RTSPStream, &RTSPStreamTransport) -> RTSPFilterResult),
|
||||
> = func;
|
||||
unsafe extern "C" fn func_func(
|
||||
|
@ -908,14 +908,14 @@ pub trait RTSPStreamExt: IsA<RTSPStream> + sealed::Sealed + 'static {
|
|||
} else {
|
||||
None
|
||||
};
|
||||
let super_callback0: &Option<
|
||||
let super_callback0: &mut Option<
|
||||
&mut dyn (FnMut(&RTSPStream, &RTSPStreamTransport) -> RTSPFilterResult),
|
||||
> = &func_data;
|
||||
> = &mut func_data;
|
||||
unsafe {
|
||||
FromGlibPtrContainer::from_glib_full(ffi::gst_rtsp_stream_transport_filter(
|
||||
self.as_ref().to_glib_none().0,
|
||||
func,
|
||||
super_callback0 as *const _ as *mut _,
|
||||
super_callback0 as *mut _ as *mut _,
|
||||
))
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -127,7 +127,7 @@ pub trait ElementExt: IsA<Element> + sealed::Sealed + 'static {
|
|||
|
||||
#[doc(alias = "gst_element_foreach_pad")]
|
||||
fn foreach_pad<P: FnMut(&Element, &Pad) -> bool>(&self, func: P) -> bool {
|
||||
let func_data: P = func;
|
||||
let mut func_data: P = func;
|
||||
unsafe extern "C" fn func_func<P: FnMut(&Element, &Pad) -> bool>(
|
||||
element: *mut ffi::GstElement,
|
||||
pad: *mut ffi::GstPad,
|
||||
|
@ -139,19 +139,19 @@ pub trait ElementExt: IsA<Element> + sealed::Sealed + 'static {
|
|||
(*callback)(&element, &pad).into_glib()
|
||||
}
|
||||
let func = Some(func_func::<P> as _);
|
||||
let super_callback0: &P = &func_data;
|
||||
let super_callback0: &mut P = &mut func_data;
|
||||
unsafe {
|
||||
from_glib(ffi::gst_element_foreach_pad(
|
||||
self.as_ref().to_glib_none().0,
|
||||
func,
|
||||
super_callback0 as *const _ as *mut _,
|
||||
super_callback0 as *mut _ as *mut _,
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
#[doc(alias = "gst_element_foreach_sink_pad")]
|
||||
fn foreach_sink_pad<P: FnMut(&Element, &Pad) -> bool>(&self, func: P) -> bool {
|
||||
let func_data: P = func;
|
||||
let mut func_data: P = func;
|
||||
unsafe extern "C" fn func_func<P: FnMut(&Element, &Pad) -> bool>(
|
||||
element: *mut ffi::GstElement,
|
||||
pad: *mut ffi::GstPad,
|
||||
|
@ -163,19 +163,19 @@ pub trait ElementExt: IsA<Element> + sealed::Sealed + 'static {
|
|||
(*callback)(&element, &pad).into_glib()
|
||||
}
|
||||
let func = Some(func_func::<P> as _);
|
||||
let super_callback0: &P = &func_data;
|
||||
let super_callback0: &mut P = &mut func_data;
|
||||
unsafe {
|
||||
from_glib(ffi::gst_element_foreach_sink_pad(
|
||||
self.as_ref().to_glib_none().0,
|
||||
func,
|
||||
super_callback0 as *const _ as *mut _,
|
||||
super_callback0 as *mut _ as *mut _,
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
#[doc(alias = "gst_element_foreach_src_pad")]
|
||||
fn foreach_src_pad<P: FnMut(&Element, &Pad) -> bool>(&self, func: P) -> bool {
|
||||
let func_data: P = func;
|
||||
let mut func_data: P = func;
|
||||
unsafe extern "C" fn func_func<P: FnMut(&Element, &Pad) -> bool>(
|
||||
element: *mut ffi::GstElement,
|
||||
pad: *mut ffi::GstPad,
|
||||
|
@ -187,12 +187,12 @@ pub trait ElementExt: IsA<Element> + sealed::Sealed + 'static {
|
|||
(*callback)(&element, &pad).into_glib()
|
||||
}
|
||||
let func = Some(func_func::<P> as _);
|
||||
let super_callback0: &P = &func_data;
|
||||
let super_callback0: &mut P = &mut func_data;
|
||||
unsafe {
|
||||
from_glib(ffi::gst_element_foreach_src_pad(
|
||||
self.as_ref().to_glib_none().0,
|
||||
func,
|
||||
super_callback0 as *const _ as *mut _,
|
||||
super_callback0 as *mut _ as *mut _,
|
||||
))
|
||||
}
|
||||
}
|
||||
|
|
|
@ -116,7 +116,7 @@ pub trait PadExt: IsA<Pad> + sealed::Sealed + 'static {
|
|||
|
||||
#[doc(alias = "gst_pad_forward")]
|
||||
fn forward<P: FnMut(&Pad) -> bool>(&self, forward: P) -> bool {
|
||||
let forward_data: P = forward;
|
||||
let mut forward_data: P = forward;
|
||||
unsafe extern "C" fn forward_func<P: FnMut(&Pad) -> bool>(
|
||||
pad: *mut ffi::GstPad,
|
||||
user_data: glib::ffi::gpointer,
|
||||
|
@ -126,12 +126,12 @@ pub trait PadExt: IsA<Pad> + sealed::Sealed + 'static {
|
|||
(*callback)(&pad).into_glib()
|
||||
}
|
||||
let forward = Some(forward_func::<P> as _);
|
||||
let super_callback0: &P = &forward_data;
|
||||
let super_callback0: &mut P = &mut forward_data;
|
||||
unsafe {
|
||||
from_glib(ffi::gst_pad_forward(
|
||||
self.as_ref().to_glib_none().0,
|
||||
forward,
|
||||
super_callback0 as *const _ as *mut _,
|
||||
super_callback0 as *mut _ as *mut _,
|
||||
))
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e9ef1f366af2)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
Loading…
Reference in a new issue