mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-12-21 23:56:33 +00:00
regenerate
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1585>
This commit is contained in:
parent
c756b73b03
commit
2a1473d69d
60 changed files with 89 additions and 89 deletions
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -62,7 +62,7 @@ pub trait MetaContainerExt: IsA<MetaContainer> + '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,
|
||||
|
@ -76,12 +76,12 @@ pub trait MetaContainerExt: IsA<MetaContainer> + '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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -55,7 +55,7 @@ pub trait GLFilterExt: IsA<GLFilter> + '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,
|
||||
|
@ -67,7 +67,7 @@ pub trait GLFilterExt: IsA<GLFilter> + '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(
|
||||
|
@ -75,7 +75,7 @@ pub trait GLFilterExt: IsA<GLFilter> + '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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -137,7 +137,7 @@ pub trait RTSPClientExt: IsA<RTSPClient> + '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,
|
||||
|
@ -160,14 +160,14 @@ pub trait RTSPClientExt: IsA<RTSPClient> + '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 _,
|
||||
))
|
||||
}
|
||||
}
|
||||
|
|
|
@ -66,7 +66,7 @@ pub trait RTSPServerExt: IsA<RTSPServer> + '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,
|
||||
|
@ -89,14 +89,14 @@ pub trait RTSPServerExt: IsA<RTSPServer> + '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 _,
|
||||
))
|
||||
}
|
||||
}
|
||||
|
|
|
@ -46,7 +46,7 @@ pub trait RTSPSessionExt: IsA<RTSPSession> + '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(
|
||||
|
@ -72,14 +72,14 @@ pub trait RTSPSessionExt: IsA<RTSPSession> + '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 _,
|
||||
))
|
||||
}
|
||||
}
|
||||
|
|
|
@ -60,7 +60,7 @@ pub trait RTSPSessionPoolExt: IsA<RTSPSessionPool> + '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(
|
||||
|
@ -86,14 +86,14 @@ pub trait RTSPSessionPoolExt: IsA<RTSPSessionPool> + '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 _,
|
||||
))
|
||||
}
|
||||
}
|
||||
|
|
|
@ -877,7 +877,7 @@ pub trait RTSPStreamExt: IsA<RTSPStream> + '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(
|
||||
|
@ -903,14 +903,14 @@ pub trait RTSPStreamExt: IsA<RTSPStream> + '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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
|
@ -122,7 +122,7 @@ pub trait ElementExt: IsA<Element> + '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,
|
||||
|
@ -134,19 +134,19 @@ pub trait ElementExt: IsA<Element> + '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,
|
||||
|
@ -158,19 +158,19 @@ pub trait ElementExt: IsA<Element> + '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,
|
||||
|
@ -182,12 +182,12 @@ pub trait ElementExt: IsA<Element> + '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 _,
|
||||
))
|
||||
}
|
||||
}
|
||||
|
|
|
@ -111,7 +111,7 @@ pub trait PadExt: IsA<Pad> + '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,
|
||||
|
@ -121,12 +121,12 @@ pub trait PadExt: IsA<Pad> + '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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
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 @ a172dda2a728)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)
|
||||
|
|
Loading…
Reference in a new issue