From 2a1473d69dbdc3762d02b09a41b9f1ae686425a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Laignel?= Date: Wed, 6 Nov 2024 17:31:29 +0100 Subject: [PATCH] regenerate Part-of: --- gstreamer-allocators/src/auto/versions.txt | 2 +- gstreamer-allocators/sys/src/auto/versions.txt | 2 +- gstreamer-analytics/src/auto/versions.txt | 2 +- gstreamer-analytics/sys/src/auto/versions.txt | 2 +- gstreamer-app/src/auto/versions.txt | 2 +- gstreamer-app/sys/src/auto/versions.txt | 2 +- gstreamer-audio/src/auto/versions.txt | 2 +- gstreamer-audio/sys/src/auto/versions.txt | 2 +- gstreamer-base/src/auto/versions.txt | 2 +- gstreamer-base/sys/src/auto/versions.txt | 2 +- gstreamer-check/src/auto/versions.txt | 2 +- gstreamer-check/sys/src/auto/versions.txt | 2 +- gstreamer-controller/src/auto/versions.txt | 2 +- gstreamer-controller/sys/src/auto/versions.txt | 2 +- .../src/auto/meta_container.rs | 6 +++--- .../src/auto/versions.txt | 2 +- .../sys/src/auto/versions.txt | 2 +- gstreamer-gl/egl/src/auto/versions.txt | 2 +- gstreamer-gl/egl/sys/src/auto/versions.txt | 2 +- gstreamer-gl/src/auto/gl_filter.rs | 6 +++--- gstreamer-gl/src/auto/versions.txt | 2 +- gstreamer-gl/sys/src/auto/versions.txt | 2 +- gstreamer-gl/wayland/src/auto/versions.txt | 2 +- gstreamer-gl/wayland/sys/src/auto/versions.txt | 2 +- gstreamer-gl/x11/src/auto/versions.txt | 2 +- gstreamer-gl/x11/sys/src/auto/versions.txt | 2 +- gstreamer-mpegts/src/auto/versions.txt | 2 +- gstreamer-mpegts/sys/src/auto/versions.txt | 2 +- gstreamer-net/src/auto/versions.txt | 2 +- gstreamer-net/sys/src/auto/versions.txt | 2 +- gstreamer-pbutils/src/auto/versions.txt | 2 +- gstreamer-pbutils/sys/src/auto/versions.txt | 2 +- gstreamer-play/src/auto/versions.txt | 2 +- gstreamer-play/sys/src/auto/versions.txt | 2 +- gstreamer-player/src/auto/versions.txt | 2 +- gstreamer-player/sys/src/auto/versions.txt | 2 +- gstreamer-rtp/src/auto/versions.txt | 2 +- gstreamer-rtp/sys/src/auto/versions.txt | 2 +- gstreamer-rtsp-server/src/auto/rtsp_client.rs | 8 ++++---- gstreamer-rtsp-server/src/auto/rtsp_server.rs | 8 ++++---- gstreamer-rtsp-server/src/auto/rtsp_session.rs | 8 ++++---- .../src/auto/rtsp_session_pool.rs | 8 ++++---- gstreamer-rtsp-server/src/auto/rtsp_stream.rs | 8 ++++---- gstreamer-rtsp-server/src/auto/versions.txt | 2 +- .../sys/src/auto/versions.txt | 2 +- gstreamer-rtsp/src/auto/versions.txt | 2 +- gstreamer-rtsp/sys/src/auto/versions.txt | 2 +- gstreamer-sdp/src/auto/versions.txt | 2 +- gstreamer-sdp/sys/src/auto/versions.txt | 2 +- gstreamer-tag/sys/src/auto/versions.txt | 2 +- gstreamer-validate/src/auto/versions.txt | 2 +- gstreamer-validate/sys/src/auto/versions.txt | 2 +- gstreamer-video/src/auto/versions.txt | 2 +- gstreamer-video/sys/src/auto/versions.txt | 2 +- gstreamer-webrtc/src/auto/versions.txt | 2 +- gstreamer-webrtc/sys/src/auto/versions.txt | 2 +- gstreamer/src/auto/element.rs | 18 +++++++++--------- gstreamer/src/auto/pad.rs | 6 +++--- gstreamer/src/auto/versions.txt | 2 +- gstreamer/sys/src/auto/versions.txt | 2 +- 60 files changed, 89 insertions(+), 89 deletions(-) diff --git a/gstreamer-allocators/src/auto/versions.txt b/gstreamer-allocators/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-allocators/src/auto/versions.txt +++ b/gstreamer-allocators/src/auto/versions.txt @@ -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) diff --git a/gstreamer-allocators/sys/src/auto/versions.txt b/gstreamer-allocators/sys/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-allocators/sys/src/auto/versions.txt +++ b/gstreamer-allocators/sys/src/auto/versions.txt @@ -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) diff --git a/gstreamer-analytics/src/auto/versions.txt b/gstreamer-analytics/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-analytics/src/auto/versions.txt +++ b/gstreamer-analytics/src/auto/versions.txt @@ -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) diff --git a/gstreamer-analytics/sys/src/auto/versions.txt b/gstreamer-analytics/sys/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-analytics/sys/src/auto/versions.txt +++ b/gstreamer-analytics/sys/src/auto/versions.txt @@ -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) diff --git a/gstreamer-app/src/auto/versions.txt b/gstreamer-app/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-app/src/auto/versions.txt +++ b/gstreamer-app/src/auto/versions.txt @@ -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) diff --git a/gstreamer-app/sys/src/auto/versions.txt b/gstreamer-app/sys/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-app/sys/src/auto/versions.txt +++ b/gstreamer-app/sys/src/auto/versions.txt @@ -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) diff --git a/gstreamer-audio/src/auto/versions.txt b/gstreamer-audio/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-audio/src/auto/versions.txt +++ b/gstreamer-audio/src/auto/versions.txt @@ -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) diff --git a/gstreamer-audio/sys/src/auto/versions.txt b/gstreamer-audio/sys/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-audio/sys/src/auto/versions.txt +++ b/gstreamer-audio/sys/src/auto/versions.txt @@ -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) diff --git a/gstreamer-base/src/auto/versions.txt b/gstreamer-base/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-base/src/auto/versions.txt +++ b/gstreamer-base/src/auto/versions.txt @@ -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) diff --git a/gstreamer-base/sys/src/auto/versions.txt b/gstreamer-base/sys/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-base/sys/src/auto/versions.txt +++ b/gstreamer-base/sys/src/auto/versions.txt @@ -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) diff --git a/gstreamer-check/src/auto/versions.txt b/gstreamer-check/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-check/src/auto/versions.txt +++ b/gstreamer-check/src/auto/versions.txt @@ -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) diff --git a/gstreamer-check/sys/src/auto/versions.txt b/gstreamer-check/sys/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-check/sys/src/auto/versions.txt +++ b/gstreamer-check/sys/src/auto/versions.txt @@ -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) diff --git a/gstreamer-controller/src/auto/versions.txt b/gstreamer-controller/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-controller/src/auto/versions.txt +++ b/gstreamer-controller/src/auto/versions.txt @@ -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) diff --git a/gstreamer-controller/sys/src/auto/versions.txt b/gstreamer-controller/sys/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-controller/sys/src/auto/versions.txt +++ b/gstreamer-controller/sys/src/auto/versions.txt @@ -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) diff --git a/gstreamer-editing-services/src/auto/meta_container.rs b/gstreamer-editing-services/src/auto/meta_container.rs index 7fe327a6d..ec2d85900 100644 --- a/gstreamer-editing-services/src/auto/meta_container.rs +++ b/gstreamer-editing-services/src/auto/meta_container.rs @@ -62,7 +62,7 @@ pub trait MetaContainerExt: IsA + 'static { #[doc(alias = "ges_meta_container_foreach")] fn foreach(&self, func: P) { - let func_data: P = func; + let mut func_data: P = func; unsafe extern "C" fn func_func( container: *const ffi::GESMetaContainer, key: *const std::ffi::c_char, @@ -76,12 +76,12 @@ pub trait MetaContainerExt: IsA + 'static { (*callback)(&container, key.as_str(), &value) } let func = Some(func_func::

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 _, ); } } diff --git a/gstreamer-editing-services/src/auto/versions.txt b/gstreamer-editing-services/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-editing-services/src/auto/versions.txt +++ b/gstreamer-editing-services/src/auto/versions.txt @@ -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) diff --git a/gstreamer-editing-services/sys/src/auto/versions.txt b/gstreamer-editing-services/sys/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-editing-services/sys/src/auto/versions.txt +++ b/gstreamer-editing-services/sys/src/auto/versions.txt @@ -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) diff --git a/gstreamer-gl/egl/src/auto/versions.txt b/gstreamer-gl/egl/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-gl/egl/src/auto/versions.txt +++ b/gstreamer-gl/egl/src/auto/versions.txt @@ -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) diff --git a/gstreamer-gl/egl/sys/src/auto/versions.txt b/gstreamer-gl/egl/sys/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-gl/egl/sys/src/auto/versions.txt +++ b/gstreamer-gl/egl/sys/src/auto/versions.txt @@ -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) diff --git a/gstreamer-gl/src/auto/gl_filter.rs b/gstreamer-gl/src/auto/gl_filter.rs index 72bf85e85..30cb0f5d0 100644 --- a/gstreamer-gl/src/auto/gl_filter.rs +++ b/gstreamer-gl/src/auto/gl_filter.rs @@ -55,7 +55,7 @@ pub trait GLFilterExt: IsA + '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 bool>( filter: *mut ffi::GstGLFilter, in_tex: *mut ffi::GstGLMemory, @@ -67,7 +67,7 @@ pub trait GLFilterExt: IsA + 'static { (*callback)(&filter, &in_tex).into_glib() } let func = Some(func_func::

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 + '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`" ) diff --git a/gstreamer-gl/src/auto/versions.txt b/gstreamer-gl/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-gl/src/auto/versions.txt +++ b/gstreamer-gl/src/auto/versions.txt @@ -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) diff --git a/gstreamer-gl/sys/src/auto/versions.txt b/gstreamer-gl/sys/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-gl/sys/src/auto/versions.txt +++ b/gstreamer-gl/sys/src/auto/versions.txt @@ -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) diff --git a/gstreamer-gl/wayland/src/auto/versions.txt b/gstreamer-gl/wayland/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-gl/wayland/src/auto/versions.txt +++ b/gstreamer-gl/wayland/src/auto/versions.txt @@ -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) diff --git a/gstreamer-gl/wayland/sys/src/auto/versions.txt b/gstreamer-gl/wayland/sys/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-gl/wayland/sys/src/auto/versions.txt +++ b/gstreamer-gl/wayland/sys/src/auto/versions.txt @@ -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) diff --git a/gstreamer-gl/x11/src/auto/versions.txt b/gstreamer-gl/x11/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-gl/x11/src/auto/versions.txt +++ b/gstreamer-gl/x11/src/auto/versions.txt @@ -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) diff --git a/gstreamer-gl/x11/sys/src/auto/versions.txt b/gstreamer-gl/x11/sys/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-gl/x11/sys/src/auto/versions.txt +++ b/gstreamer-gl/x11/sys/src/auto/versions.txt @@ -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) diff --git a/gstreamer-mpegts/src/auto/versions.txt b/gstreamer-mpegts/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-mpegts/src/auto/versions.txt +++ b/gstreamer-mpegts/src/auto/versions.txt @@ -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) diff --git a/gstreamer-mpegts/sys/src/auto/versions.txt b/gstreamer-mpegts/sys/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-mpegts/sys/src/auto/versions.txt +++ b/gstreamer-mpegts/sys/src/auto/versions.txt @@ -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) diff --git a/gstreamer-net/src/auto/versions.txt b/gstreamer-net/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-net/src/auto/versions.txt +++ b/gstreamer-net/src/auto/versions.txt @@ -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) diff --git a/gstreamer-net/sys/src/auto/versions.txt b/gstreamer-net/sys/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-net/sys/src/auto/versions.txt +++ b/gstreamer-net/sys/src/auto/versions.txt @@ -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) diff --git a/gstreamer-pbutils/src/auto/versions.txt b/gstreamer-pbutils/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-pbutils/src/auto/versions.txt +++ b/gstreamer-pbutils/src/auto/versions.txt @@ -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) diff --git a/gstreamer-pbutils/sys/src/auto/versions.txt b/gstreamer-pbutils/sys/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-pbutils/sys/src/auto/versions.txt +++ b/gstreamer-pbutils/sys/src/auto/versions.txt @@ -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) diff --git a/gstreamer-play/src/auto/versions.txt b/gstreamer-play/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-play/src/auto/versions.txt +++ b/gstreamer-play/src/auto/versions.txt @@ -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) diff --git a/gstreamer-play/sys/src/auto/versions.txt b/gstreamer-play/sys/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-play/sys/src/auto/versions.txt +++ b/gstreamer-play/sys/src/auto/versions.txt @@ -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) diff --git a/gstreamer-player/src/auto/versions.txt b/gstreamer-player/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-player/src/auto/versions.txt +++ b/gstreamer-player/src/auto/versions.txt @@ -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) diff --git a/gstreamer-player/sys/src/auto/versions.txt b/gstreamer-player/sys/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-player/sys/src/auto/versions.txt +++ b/gstreamer-player/sys/src/auto/versions.txt @@ -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) diff --git a/gstreamer-rtp/src/auto/versions.txt b/gstreamer-rtp/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-rtp/src/auto/versions.txt +++ b/gstreamer-rtp/src/auto/versions.txt @@ -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) diff --git a/gstreamer-rtp/sys/src/auto/versions.txt b/gstreamer-rtp/sys/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-rtp/sys/src/auto/versions.txt +++ b/gstreamer-rtp/sys/src/auto/versions.txt @@ -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) diff --git a/gstreamer-rtsp-server/src/auto/rtsp_client.rs b/gstreamer-rtsp-server/src/auto/rtsp_client.rs index 2b33a1f9e..a7cb76ddc 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_client.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_client.rs @@ -137,7 +137,7 @@ pub trait RTSPClientExt: IsA + 'static { &self, func: Option<&mut dyn (FnMut(&RTSPClient, &RTSPSession) -> RTSPFilterResult)>, ) -> Vec { - 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 + '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 _, )) } } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_server.rs b/gstreamer-rtsp-server/src/auto/rtsp_server.rs index 22ddafe9d..5b1aa76b5 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_server.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_server.rs @@ -66,7 +66,7 @@ pub trait RTSPServerExt: IsA + 'static { &self, func: Option<&mut dyn (FnMut(&RTSPServer, &RTSPClient) -> RTSPFilterResult)>, ) -> Vec { - 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 + '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 _, )) } } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_session.rs b/gstreamer-rtsp-server/src/auto/rtsp_session.rs index 7300795e7..e7542f5da 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_session.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_session.rs @@ -46,7 +46,7 @@ pub trait RTSPSessionExt: IsA + 'static { &self, func: Option<&mut dyn (FnMut(&RTSPSession, &RTSPSessionMedia) -> RTSPFilterResult)>, ) -> Vec { - 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 + '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 _, )) } } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs b/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs index d39bf0768..32d4a6406 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs @@ -60,7 +60,7 @@ pub trait RTSPSessionPoolExt: IsA + 'static { &self, func: Option<&mut dyn (FnMut(&RTSPSessionPool, &RTSPSession) -> RTSPFilterResult)>, ) -> Vec { - 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 + '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 _, )) } } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_stream.rs b/gstreamer-rtsp-server/src/auto/rtsp_stream.rs index e910d5412..6e177b6ec 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_stream.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_stream.rs @@ -877,7 +877,7 @@ pub trait RTSPStreamExt: IsA + 'static { &self, func: Option<&mut dyn (FnMut(&RTSPStream, &RTSPStreamTransport) -> RTSPFilterResult)>, ) -> Vec { - 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 + '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 _, )) } } diff --git a/gstreamer-rtsp-server/src/auto/versions.txt b/gstreamer-rtsp-server/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-rtsp-server/src/auto/versions.txt +++ b/gstreamer-rtsp-server/src/auto/versions.txt @@ -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) diff --git a/gstreamer-rtsp-server/sys/src/auto/versions.txt b/gstreamer-rtsp-server/sys/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-rtsp-server/sys/src/auto/versions.txt +++ b/gstreamer-rtsp-server/sys/src/auto/versions.txt @@ -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) diff --git a/gstreamer-rtsp/src/auto/versions.txt b/gstreamer-rtsp/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-rtsp/src/auto/versions.txt +++ b/gstreamer-rtsp/src/auto/versions.txt @@ -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) diff --git a/gstreamer-rtsp/sys/src/auto/versions.txt b/gstreamer-rtsp/sys/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-rtsp/sys/src/auto/versions.txt +++ b/gstreamer-rtsp/sys/src/auto/versions.txt @@ -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) diff --git a/gstreamer-sdp/src/auto/versions.txt b/gstreamer-sdp/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-sdp/src/auto/versions.txt +++ b/gstreamer-sdp/src/auto/versions.txt @@ -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) diff --git a/gstreamer-sdp/sys/src/auto/versions.txt b/gstreamer-sdp/sys/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-sdp/sys/src/auto/versions.txt +++ b/gstreamer-sdp/sys/src/auto/versions.txt @@ -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) diff --git a/gstreamer-tag/sys/src/auto/versions.txt b/gstreamer-tag/sys/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-tag/sys/src/auto/versions.txt +++ b/gstreamer-tag/sys/src/auto/versions.txt @@ -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) diff --git a/gstreamer-validate/src/auto/versions.txt b/gstreamer-validate/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-validate/src/auto/versions.txt +++ b/gstreamer-validate/src/auto/versions.txt @@ -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) diff --git a/gstreamer-validate/sys/src/auto/versions.txt b/gstreamer-validate/sys/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-validate/sys/src/auto/versions.txt +++ b/gstreamer-validate/sys/src/auto/versions.txt @@ -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) diff --git a/gstreamer-video/src/auto/versions.txt b/gstreamer-video/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-video/src/auto/versions.txt +++ b/gstreamer-video/src/auto/versions.txt @@ -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) diff --git a/gstreamer-video/sys/src/auto/versions.txt b/gstreamer-video/sys/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-video/sys/src/auto/versions.txt +++ b/gstreamer-video/sys/src/auto/versions.txt @@ -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) diff --git a/gstreamer-webrtc/src/auto/versions.txt b/gstreamer-webrtc/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-webrtc/src/auto/versions.txt +++ b/gstreamer-webrtc/src/auto/versions.txt @@ -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) diff --git a/gstreamer-webrtc/sys/src/auto/versions.txt b/gstreamer-webrtc/sys/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer-webrtc/sys/src/auto/versions.txt +++ b/gstreamer-webrtc/sys/src/auto/versions.txt @@ -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) diff --git a/gstreamer/src/auto/element.rs b/gstreamer/src/auto/element.rs index 484c7bee7..221f4f5f0 100644 --- a/gstreamer/src/auto/element.rs +++ b/gstreamer/src/auto/element.rs @@ -122,7 +122,7 @@ pub trait ElementExt: IsA + 'static { #[doc(alias = "gst_element_foreach_pad")] fn foreach_pad bool>(&self, func: P) -> bool { - let func_data: P = func; + let mut func_data: P = func; unsafe extern "C" fn func_func bool>( element: *mut ffi::GstElement, pad: *mut ffi::GstPad, @@ -134,19 +134,19 @@ pub trait ElementExt: IsA + 'static { (*callback)(&element, &pad).into_glib() } let func = Some(func_func::

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 bool>(&self, func: P) -> bool { - let func_data: P = func; + let mut func_data: P = func; unsafe extern "C" fn func_func bool>( element: *mut ffi::GstElement, pad: *mut ffi::GstPad, @@ -158,19 +158,19 @@ pub trait ElementExt: IsA + 'static { (*callback)(&element, &pad).into_glib() } let func = Some(func_func::

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 bool>(&self, func: P) -> bool { - let func_data: P = func; + let mut func_data: P = func; unsafe extern "C" fn func_func bool>( element: *mut ffi::GstElement, pad: *mut ffi::GstPad, @@ -182,12 +182,12 @@ pub trait ElementExt: IsA + 'static { (*callback)(&element, &pad).into_glib() } let func = Some(func_func::

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 _, )) } } diff --git a/gstreamer/src/auto/pad.rs b/gstreamer/src/auto/pad.rs index 3c49bbe80..f18bf82df 100644 --- a/gstreamer/src/auto/pad.rs +++ b/gstreamer/src/auto/pad.rs @@ -111,7 +111,7 @@ pub trait PadExt: IsA + 'static { #[doc(alias = "gst_pad_forward")] fn forward bool>(&self, forward: P) -> bool { - let forward_data: P = forward; + let mut forward_data: P = forward; unsafe extern "C" fn forward_func bool>( pad: *mut ffi::GstPad, user_data: glib::ffi::gpointer, @@ -121,12 +121,12 @@ pub trait PadExt: IsA + 'static { (*callback)(&pad).into_glib() } let forward = Some(forward_func::

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 _, )) } } diff --git a/gstreamer/src/auto/versions.txt b/gstreamer/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer/src/auto/versions.txt +++ b/gstreamer/src/auto/versions.txt @@ -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) diff --git a/gstreamer/sys/src/auto/versions.txt b/gstreamer/sys/src/auto/versions.txt index de34c6a08..4e9bd1482 100644 --- a/gstreamer/sys/src/auto/versions.txt +++ b/gstreamer/sys/src/auto/versions.txt @@ -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)