François Laignel 2024-11-06 17:31:29 +01:00
parent c756b73b03
commit 2a1473d69d
60 changed files with 89 additions and 89 deletions

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -62,7 +62,7 @@ pub trait MetaContainerExt: IsA<MetaContainer> + 'static {
#[doc(alias = "ges_meta_container_foreach")] #[doc(alias = "ges_meta_container_foreach")]
fn foreach<P: FnMut(&MetaContainer, &str, &glib::Value)>(&self, func: P) { 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)>( unsafe extern "C" fn func_func<P: FnMut(&MetaContainer, &str, &glib::Value)>(
container: *const ffi::GESMetaContainer, container: *const ffi::GESMetaContainer,
key: *const std::ffi::c_char, key: *const std::ffi::c_char,
@ -76,12 +76,12 @@ pub trait MetaContainerExt: IsA<MetaContainer> + 'static {
(*callback)(&container, key.as_str(), &value) (*callback)(&container, key.as_str(), &value)
} }
let func = Some(func_func::<P> as _); let func = Some(func_func::<P> as _);
let super_callback0: &P = &func_data; let super_callback0: &mut P = &mut func_data;
unsafe { unsafe {
ffi::ges_meta_container_foreach( ffi::ges_meta_container_foreach(
self.as_ref().to_glib_none().0, self.as_ref().to_glib_none().0,
func, func,
super_callback0 as *const _ as *mut _, super_callback0 as *mut _ as *mut _,
); );
} }
} }

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -55,7 +55,7 @@ pub trait GLFilterExt: IsA<GLFilter> + 'static {
output: &GLMemory, output: &GLMemory,
func: P, func: P,
) -> Result<(), glib::error::BoolError> { ) -> 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>( unsafe extern "C" fn func_func<P: FnMut(&GLFilter, &GLMemory) -> bool>(
filter: *mut ffi::GstGLFilter, filter: *mut ffi::GstGLFilter,
in_tex: *mut ffi::GstGLMemory, in_tex: *mut ffi::GstGLMemory,
@ -67,7 +67,7 @@ pub trait GLFilterExt: IsA<GLFilter> + 'static {
(*callback)(&filter, &in_tex).into_glib() (*callback)(&filter, &in_tex).into_glib()
} }
let func = Some(func_func::<P> as _); let func = Some(func_func::<P> as _);
let super_callback0: &P = &func_data; let super_callback0: &mut P = &mut func_data;
unsafe { unsafe {
glib::result_from_gboolean!( glib::result_from_gboolean!(
ffi::gst_gl_filter_render_to_target( 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(input.to_glib_none().0),
mut_override(output.to_glib_none().0), mut_override(output.to_glib_none().0),
func, func,
super_callback0 as *const _ as *mut _ super_callback0 as *mut _ as *mut _
), ),
"`func` returned `false`" "`func` returned `false`"
) )

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -137,7 +137,7 @@ pub trait RTSPClientExt: IsA<RTSPClient> + 'static {
&self, &self,
func: Option<&mut dyn (FnMut(&RTSPClient, &RTSPSession) -> RTSPFilterResult)>, func: Option<&mut dyn (FnMut(&RTSPClient, &RTSPSession) -> RTSPFilterResult)>,
) -> Vec<RTSPSession> { ) -> Vec<RTSPSession> {
let func_data: Option<&mut dyn (FnMut(&RTSPClient, &RTSPSession) -> RTSPFilterResult)> = let mut func_data: Option<&mut dyn (FnMut(&RTSPClient, &RTSPSession) -> RTSPFilterResult)> =
func; func;
unsafe extern "C" fn func_func( unsafe extern "C" fn func_func(
client: *mut ffi::GstRTSPClient, client: *mut ffi::GstRTSPClient,
@ -160,14 +160,14 @@ pub trait RTSPClientExt: IsA<RTSPClient> + 'static {
} else { } else {
None None
}; };
let super_callback0: &Option< let super_callback0: &mut Option<
&mut dyn (FnMut(&RTSPClient, &RTSPSession) -> RTSPFilterResult), &mut dyn (FnMut(&RTSPClient, &RTSPSession) -> RTSPFilterResult),
> = &func_data; > = &mut func_data;
unsafe { unsafe {
FromGlibPtrContainer::from_glib_full(ffi::gst_rtsp_client_session_filter( FromGlibPtrContainer::from_glib_full(ffi::gst_rtsp_client_session_filter(
self.as_ref().to_glib_none().0, self.as_ref().to_glib_none().0,
func, func,
super_callback0 as *const _ as *mut _, super_callback0 as *mut _ as *mut _,
)) ))
} }
} }

View file

@ -66,7 +66,7 @@ pub trait RTSPServerExt: IsA<RTSPServer> + 'static {
&self, &self,
func: Option<&mut dyn (FnMut(&RTSPServer, &RTSPClient) -> RTSPFilterResult)>, func: Option<&mut dyn (FnMut(&RTSPServer, &RTSPClient) -> RTSPFilterResult)>,
) -> Vec<RTSPClient> { ) -> Vec<RTSPClient> {
let func_data: Option<&mut dyn (FnMut(&RTSPServer, &RTSPClient) -> RTSPFilterResult)> = let mut func_data: Option<&mut dyn (FnMut(&RTSPServer, &RTSPClient) -> RTSPFilterResult)> =
func; func;
unsafe extern "C" fn func_func( unsafe extern "C" fn func_func(
server: *mut ffi::GstRTSPServer, server: *mut ffi::GstRTSPServer,
@ -89,14 +89,14 @@ pub trait RTSPServerExt: IsA<RTSPServer> + 'static {
} else { } else {
None None
}; };
let super_callback0: &Option< let super_callback0: &mut Option<
&mut dyn (FnMut(&RTSPServer, &RTSPClient) -> RTSPFilterResult), &mut dyn (FnMut(&RTSPServer, &RTSPClient) -> RTSPFilterResult),
> = &func_data; > = &mut func_data;
unsafe { unsafe {
FromGlibPtrContainer::from_glib_full(ffi::gst_rtsp_server_client_filter( FromGlibPtrContainer::from_glib_full(ffi::gst_rtsp_server_client_filter(
self.as_ref().to_glib_none().0, self.as_ref().to_glib_none().0,
func, func,
super_callback0 as *const _ as *mut _, super_callback0 as *mut _ as *mut _,
)) ))
} }
} }

View file

@ -46,7 +46,7 @@ pub trait RTSPSessionExt: IsA<RTSPSession> + 'static {
&self, &self,
func: Option<&mut dyn (FnMut(&RTSPSession, &RTSPSessionMedia) -> RTSPFilterResult)>, func: Option<&mut dyn (FnMut(&RTSPSession, &RTSPSessionMedia) -> RTSPFilterResult)>,
) -> Vec<RTSPSessionMedia> { ) -> Vec<RTSPSessionMedia> {
let func_data: Option< let mut func_data: Option<
&mut dyn (FnMut(&RTSPSession, &RTSPSessionMedia) -> RTSPFilterResult), &mut dyn (FnMut(&RTSPSession, &RTSPSessionMedia) -> RTSPFilterResult),
> = func; > = func;
unsafe extern "C" fn func_func( unsafe extern "C" fn func_func(
@ -72,14 +72,14 @@ pub trait RTSPSessionExt: IsA<RTSPSession> + 'static {
} else { } else {
None None
}; };
let super_callback0: &Option< let super_callback0: &mut Option<
&mut dyn (FnMut(&RTSPSession, &RTSPSessionMedia) -> RTSPFilterResult), &mut dyn (FnMut(&RTSPSession, &RTSPSessionMedia) -> RTSPFilterResult),
> = &func_data; > = &mut func_data;
unsafe { unsafe {
FromGlibPtrContainer::from_glib_full(ffi::gst_rtsp_session_filter( FromGlibPtrContainer::from_glib_full(ffi::gst_rtsp_session_filter(
self.as_ref().to_glib_none().0, self.as_ref().to_glib_none().0,
func, func,
super_callback0 as *const _ as *mut _, super_callback0 as *mut _ as *mut _,
)) ))
} }
} }

View file

@ -60,7 +60,7 @@ pub trait RTSPSessionPoolExt: IsA<RTSPSessionPool> + 'static {
&self, &self,
func: Option<&mut dyn (FnMut(&RTSPSessionPool, &RTSPSession) -> RTSPFilterResult)>, func: Option<&mut dyn (FnMut(&RTSPSessionPool, &RTSPSession) -> RTSPFilterResult)>,
) -> Vec<RTSPSession> { ) -> Vec<RTSPSession> {
let func_data: Option< let mut func_data: Option<
&mut dyn (FnMut(&RTSPSessionPool, &RTSPSession) -> RTSPFilterResult), &mut dyn (FnMut(&RTSPSessionPool, &RTSPSession) -> RTSPFilterResult),
> = func; > = func;
unsafe extern "C" fn func_func( unsafe extern "C" fn func_func(
@ -86,14 +86,14 @@ pub trait RTSPSessionPoolExt: IsA<RTSPSessionPool> + 'static {
} else { } else {
None None
}; };
let super_callback0: &Option< let super_callback0: &mut Option<
&mut dyn (FnMut(&RTSPSessionPool, &RTSPSession) -> RTSPFilterResult), &mut dyn (FnMut(&RTSPSessionPool, &RTSPSession) -> RTSPFilterResult),
> = &func_data; > = &mut func_data;
unsafe { unsafe {
FromGlibPtrContainer::from_glib_full(ffi::gst_rtsp_session_pool_filter( FromGlibPtrContainer::from_glib_full(ffi::gst_rtsp_session_pool_filter(
self.as_ref().to_glib_none().0, self.as_ref().to_glib_none().0,
func, func,
super_callback0 as *const _ as *mut _, super_callback0 as *mut _ as *mut _,
)) ))
} }
} }

View file

@ -877,7 +877,7 @@ pub trait RTSPStreamExt: IsA<RTSPStream> + 'static {
&self, &self,
func: Option<&mut dyn (FnMut(&RTSPStream, &RTSPStreamTransport) -> RTSPFilterResult)>, func: Option<&mut dyn (FnMut(&RTSPStream, &RTSPStreamTransport) -> RTSPFilterResult)>,
) -> Vec<RTSPStreamTransport> { ) -> Vec<RTSPStreamTransport> {
let func_data: Option< let mut func_data: Option<
&mut dyn (FnMut(&RTSPStream, &RTSPStreamTransport) -> RTSPFilterResult), &mut dyn (FnMut(&RTSPStream, &RTSPStreamTransport) -> RTSPFilterResult),
> = func; > = func;
unsafe extern "C" fn func_func( unsafe extern "C" fn func_func(
@ -903,14 +903,14 @@ pub trait RTSPStreamExt: IsA<RTSPStream> + 'static {
} else { } else {
None None
}; };
let super_callback0: &Option< let super_callback0: &mut Option<
&mut dyn (FnMut(&RTSPStream, &RTSPStreamTransport) -> RTSPFilterResult), &mut dyn (FnMut(&RTSPStream, &RTSPStreamTransport) -> RTSPFilterResult),
> = &func_data; > = &mut func_data;
unsafe { unsafe {
FromGlibPtrContainer::from_glib_full(ffi::gst_rtsp_stream_transport_filter( FromGlibPtrContainer::from_glib_full(ffi::gst_rtsp_stream_transport_filter(
self.as_ref().to_glib_none().0, self.as_ref().to_glib_none().0,
func, func,
super_callback0 as *const _ as *mut _, super_callback0 as *mut _ as *mut _,
)) ))
} }
} }

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -122,7 +122,7 @@ pub trait ElementExt: IsA<Element> + 'static {
#[doc(alias = "gst_element_foreach_pad")] #[doc(alias = "gst_element_foreach_pad")]
fn foreach_pad<P: FnMut(&Element, &Pad) -> bool>(&self, func: P) -> bool { 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>( unsafe extern "C" fn func_func<P: FnMut(&Element, &Pad) -> bool>(
element: *mut ffi::GstElement, element: *mut ffi::GstElement,
pad: *mut ffi::GstPad, pad: *mut ffi::GstPad,
@ -134,19 +134,19 @@ pub trait ElementExt: IsA<Element> + 'static {
(*callback)(&element, &pad).into_glib() (*callback)(&element, &pad).into_glib()
} }
let func = Some(func_func::<P> as _); let func = Some(func_func::<P> as _);
let super_callback0: &P = &func_data; let super_callback0: &mut P = &mut func_data;
unsafe { unsafe {
from_glib(ffi::gst_element_foreach_pad( from_glib(ffi::gst_element_foreach_pad(
self.as_ref().to_glib_none().0, self.as_ref().to_glib_none().0,
func, func,
super_callback0 as *const _ as *mut _, super_callback0 as *mut _ as *mut _,
)) ))
} }
} }
#[doc(alias = "gst_element_foreach_sink_pad")] #[doc(alias = "gst_element_foreach_sink_pad")]
fn foreach_sink_pad<P: FnMut(&Element, &Pad) -> bool>(&self, func: P) -> bool { 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>( unsafe extern "C" fn func_func<P: FnMut(&Element, &Pad) -> bool>(
element: *mut ffi::GstElement, element: *mut ffi::GstElement,
pad: *mut ffi::GstPad, pad: *mut ffi::GstPad,
@ -158,19 +158,19 @@ pub trait ElementExt: IsA<Element> + 'static {
(*callback)(&element, &pad).into_glib() (*callback)(&element, &pad).into_glib()
} }
let func = Some(func_func::<P> as _); let func = Some(func_func::<P> as _);
let super_callback0: &P = &func_data; let super_callback0: &mut P = &mut func_data;
unsafe { unsafe {
from_glib(ffi::gst_element_foreach_sink_pad( from_glib(ffi::gst_element_foreach_sink_pad(
self.as_ref().to_glib_none().0, self.as_ref().to_glib_none().0,
func, func,
super_callback0 as *const _ as *mut _, super_callback0 as *mut _ as *mut _,
)) ))
} }
} }
#[doc(alias = "gst_element_foreach_src_pad")] #[doc(alias = "gst_element_foreach_src_pad")]
fn foreach_src_pad<P: FnMut(&Element, &Pad) -> bool>(&self, func: P) -> bool { 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>( unsafe extern "C" fn func_func<P: FnMut(&Element, &Pad) -> bool>(
element: *mut ffi::GstElement, element: *mut ffi::GstElement,
pad: *mut ffi::GstPad, pad: *mut ffi::GstPad,
@ -182,12 +182,12 @@ pub trait ElementExt: IsA<Element> + 'static {
(*callback)(&element, &pad).into_glib() (*callback)(&element, &pad).into_glib()
} }
let func = Some(func_func::<P> as _); let func = Some(func_func::<P> as _);
let super_callback0: &P = &func_data; let super_callback0: &mut P = &mut func_data;
unsafe { unsafe {
from_glib(ffi::gst_element_foreach_src_pad( from_glib(ffi::gst_element_foreach_src_pad(
self.as_ref().to_glib_none().0, self.as_ref().to_glib_none().0,
func, func,
super_callback0 as *const _ as *mut _, super_callback0 as *mut _ as *mut _,
)) ))
} }
} }

View file

@ -111,7 +111,7 @@ pub trait PadExt: IsA<Pad> + 'static {
#[doc(alias = "gst_pad_forward")] #[doc(alias = "gst_pad_forward")]
fn forward<P: FnMut(&Pad) -> bool>(&self, forward: P) -> bool { 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>( unsafe extern "C" fn forward_func<P: FnMut(&Pad) -> bool>(
pad: *mut ffi::GstPad, pad: *mut ffi::GstPad,
user_data: glib::ffi::gpointer, user_data: glib::ffi::gpointer,
@ -121,12 +121,12 @@ pub trait PadExt: IsA<Pad> + 'static {
(*callback)(&pad).into_glib() (*callback)(&pad).into_glib()
} }
let forward = Some(forward_func::<P> as _); let forward = Some(forward_func::<P> as _);
let super_callback0: &P = &forward_data; let super_callback0: &mut P = &mut forward_data;
unsafe { unsafe {
from_glib(ffi::gst_pad_forward( from_glib(ffi::gst_pad_forward(
self.as_ref().to_glib_none().0, self.as_ref().to_glib_none().0,
forward, forward,
super_callback0 as *const _ as *mut _, super_callback0 as *mut _ as *mut _,
)) ))
} }
} }

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)

View file

@ -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 gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f)