From 8f1c94f45d51a132ad3f8fd4283a4930b6f8efe1 Mon Sep 17 00:00:00 2001 From: Philippe Renon Date: Wed, 18 May 2022 22:27:53 +0200 Subject: [PATCH] Regenerate with latest gir --- gstreamer-allocators/src/auto/versions.txt | 2 +- gstreamer-allocators/sys/build.rs | 2 +- gstreamer-allocators/sys/src/lib.rs | 2 +- gstreamer-allocators/sys/tests/abi.rs | 2 +- gstreamer-allocators/sys/tests/constant.c | 2 +- gstreamer-allocators/sys/tests/layout.c | 2 +- gstreamer-app/src/auto/versions.txt | 2 +- gstreamer-app/sys/build.rs | 2 +- gstreamer-app/sys/src/lib.rs | 2 +- gstreamer-app/sys/tests/abi.rs | 2 +- gstreamer-app/sys/tests/constant.c | 2 +- gstreamer-app/sys/tests/layout.c | 2 +- gstreamer-audio/src/auto/audio_decoder.rs | 10 ++----- gstreamer-audio/src/auto/audio_encoder.rs | 6 ++-- gstreamer-audio/src/auto/versions.txt | 2 +- gstreamer-audio/sys/build.rs | 2 +- gstreamer-audio/sys/src/lib.rs | 2 +- gstreamer-audio/sys/tests/abi.rs | 2 +- gstreamer-audio/sys/tests/constant.c | 2 +- gstreamer-audio/sys/tests/layout.c | 2 +- gstreamer-base/src/auto/adapter.rs | 15 ++++------ gstreamer-base/src/auto/base_sink.rs | 6 ++-- gstreamer-base/src/auto/versions.txt | 2 +- gstreamer-base/sys/build.rs | 2 +- gstreamer-base/sys/src/lib.rs | 2 +- gstreamer-base/sys/tests/abi.rs | 2 +- gstreamer-base/sys/tests/constant.c | 2 +- gstreamer-base/sys/tests/layout.c | 2 +- gstreamer-check/src/auto/versions.txt | 2 +- gstreamer-check/sys/build.rs | 2 +- gstreamer-check/sys/src/lib.rs | 2 +- gstreamer-check/sys/tests/abi.rs | 2 +- gstreamer-check/sys/tests/constant.c | 2 +- gstreamer-check/sys/tests/layout.c | 2 +- gstreamer-controller/src/auto/versions.txt | 2 +- gstreamer-controller/sys/build.rs | 2 +- gstreamer-controller/sys/src/lib.rs | 2 +- gstreamer-controller/sys/tests/abi.rs | 2 +- gstreamer-controller/sys/tests/constant.c | 2 +- gstreamer-controller/sys/tests/layout.c | 2 +- .../src/auto/clip_asset.rs | 4 +-- .../src/auto/meta_container.rs | 28 +++++++---------- .../src/auto/timeline_element.rs | 4 +-- .../src/auto/track_element_asset.rs | 4 +-- .../src/auto/versions.txt | 2 +- .../src/auto/video_source.rs | 4 +-- gstreamer-editing-services/sys/build.rs | 2 +- gstreamer-editing-services/sys/src/lib.rs | 2 +- gstreamer-editing-services/sys/tests/abi.rs | 2 +- .../sys/tests/constant.c | 2 +- gstreamer-editing-services/sys/tests/layout.c | 2 +- gstreamer-gl/egl/src/auto/versions.txt | 2 +- gstreamer-gl/egl/sys/build.rs | 2 +- gstreamer-gl/egl/sys/src/lib.rs | 2 +- gstreamer-gl/egl/sys/tests/abi.rs | 2 +- gstreamer-gl/egl/sys/tests/constant.c | 2 +- gstreamer-gl/egl/sys/tests/layout.c | 2 +- gstreamer-gl/src/auto/enums.rs | 14 +++++---- gstreamer-gl/src/auto/functions.rs | 7 +++-- gstreamer-gl/src/auto/gl_context.rs | 12 ++------ gstreamer-gl/src/auto/gl_framebuffer.rs | 4 +-- gstreamer-gl/src/auto/gl_window.rs | 4 +-- gstreamer-gl/src/auto/versions.txt | 2 +- gstreamer-gl/sys/build.rs | 2 +- gstreamer-gl/sys/src/lib.rs | 2 +- gstreamer-gl/sys/tests/abi.rs | 2 +- gstreamer-gl/sys/tests/constant.c | 2 +- gstreamer-gl/sys/tests/layout.c | 2 +- gstreamer-gl/wayland/src/auto/versions.txt | 2 +- gstreamer-gl/wayland/sys/build.rs | 2 +- gstreamer-gl/wayland/sys/src/lib.rs | 2 +- gstreamer-gl/wayland/sys/tests/abi.rs | 2 +- gstreamer-gl/wayland/sys/tests/constant.c | 2 +- gstreamer-gl/wayland/sys/tests/layout.c | 2 +- gstreamer-gl/x11/src/auto/versions.txt | 2 +- gstreamer-gl/x11/sys/build.rs | 2 +- gstreamer-gl/x11/sys/src/lib.rs | 2 +- gstreamer-gl/x11/sys/tests/abi.rs | 2 +- gstreamer-gl/x11/sys/tests/constant.c | 2 +- gstreamer-gl/x11/sys/tests/layout.c | 2 +- gstreamer-mpegts/sys/build.rs | 2 +- gstreamer-mpegts/sys/src/lib.rs | 2 +- gstreamer-mpegts/sys/tests/abi.rs | 2 +- gstreamer-mpegts/sys/tests/constant.c | 2 +- gstreamer-mpegts/sys/tests/layout.c | 2 +- gstreamer-net/src/auto/versions.txt | 2 +- gstreamer-net/sys/build.rs | 2 +- gstreamer-net/sys/src/lib.rs | 2 +- gstreamer-net/sys/tests/abi.rs | 2 +- gstreamer-net/sys/tests/constant.c | 2 +- gstreamer-net/sys/tests/layout.c | 2 +- gstreamer-pbutils/src/auto/functions.rs | 11 +++---- gstreamer-pbutils/src/auto/versions.txt | 2 +- gstreamer-pbutils/sys/build.rs | 2 +- gstreamer-pbutils/sys/src/lib.rs | 2 +- gstreamer-pbutils/sys/tests/abi.rs | 2 +- gstreamer-pbutils/sys/tests/constant.c | 2 +- gstreamer-pbutils/sys/tests/layout.c | 2 +- .../player_video_overlay_video_renderer.rs | 11 +++---- gstreamer-player/src/auto/versions.txt | 2 +- gstreamer-player/sys/build.rs | 2 +- gstreamer-player/sys/src/lib.rs | 2 +- gstreamer-player/sys/tests/abi.rs | 2 +- gstreamer-player/sys/tests/constant.c | 2 +- gstreamer-player/sys/tests/layout.c | 2 +- gstreamer-rtp/src/auto/versions.txt | 2 +- gstreamer-rtp/sys/build.rs | 2 +- gstreamer-rtp/sys/src/lib.rs | 2 +- gstreamer-rtp/sys/tests/abi.rs | 2 +- gstreamer-rtp/sys/tests/constant.c | 2 +- gstreamer-rtp/sys/tests/layout.c | 2 +- gstreamer-rtsp-server/src/auto/rtsp_media.rs | 4 +-- .../src/auto/rtsp_mount_points.rs | 3 +- .../src/auto/rtsp_session.rs | 3 +- .../src/auto/rtsp_session_media.rs | 3 +- gstreamer-rtsp-server/src/auto/rtsp_stream.rs | 18 +++++------ gstreamer-rtsp-server/src/auto/versions.txt | 2 +- gstreamer-rtsp-server/sys/build.rs | 2 +- gstreamer-rtsp-server/sys/src/lib.rs | 2 +- gstreamer-rtsp-server/sys/tests/abi.rs | 2 +- gstreamer-rtsp-server/sys/tests/constant.c | 2 +- gstreamer-rtsp-server/sys/tests/layout.c | 2 +- gstreamer-rtsp/src/auto/versions.txt | 2 +- gstreamer-rtsp/sys/build.rs | 2 +- gstreamer-rtsp/sys/src/lib.rs | 2 +- gstreamer-rtsp/sys/tests/abi.rs | 2 +- gstreamer-rtsp/sys/tests/constant.c | 2 +- gstreamer-rtsp/sys/tests/layout.c | 2 +- gstreamer-sdp/src/auto/versions.txt | 2 +- gstreamer-sdp/sys/build.rs | 2 +- gstreamer-sdp/sys/src/lib.rs | 2 +- gstreamer-sdp/sys/tests/abi.rs | 2 +- gstreamer-sdp/sys/tests/constant.c | 2 +- gstreamer-sdp/sys/tests/layout.c | 2 +- gstreamer-tag/sys/build.rs | 2 +- gstreamer-tag/sys/src/lib.rs | 2 +- gstreamer-tag/sys/tests/abi.rs | 2 +- gstreamer-tag/sys/tests/constant.c | 2 +- gstreamer-tag/sys/tests/layout.c | 2 +- gstreamer-video/src/auto/versions.txt | 2 +- gstreamer-video/src/auto/video_orientation.rs | 15 ++++------ gstreamer-video/sys/build.rs | 2 +- gstreamer-video/sys/src/lib.rs | 2 +- gstreamer-video/sys/tests/abi.rs | 2 +- gstreamer-video/sys/tests/constant.c | 2 +- gstreamer-video/sys/tests/layout.c | 2 +- gstreamer-webrtc/src/auto/versions.txt | 2 +- gstreamer-webrtc/sys/build.rs | 2 +- gstreamer-webrtc/sys/src/lib.rs | 2 +- gstreamer-webrtc/sys/tests/abi.rs | 2 +- gstreamer-webrtc/sys/tests/constant.c | 2 +- gstreamer-webrtc/sys/tests/layout.c | 2 +- gstreamer/src/auto/clock.rs | 30 +++++++------------ gstreamer/src/auto/control_source.rs | 3 +- gstreamer/src/auto/element.rs | 8 +++-- gstreamer/src/auto/functions.rs | 11 +++---- gstreamer/src/auto/versions.txt | 2 +- gstreamer/sys/build.rs | 2 +- gstreamer/sys/src/lib.rs | 2 +- gstreamer/sys/tests/abi.rs | 2 +- gstreamer/sys/tests/constant.c | 2 +- gstreamer/sys/tests/layout.c | 2 +- 162 files changed, 231 insertions(+), 283 deletions(-) diff --git a/gstreamer-allocators/src/auto/versions.txt b/gstreamer-allocators/src/auto/versions.txt index d36e48def..121b1a165 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 @ 6fbc68a47551) +Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) diff --git a/gstreamer-allocators/sys/build.rs b/gstreamer-allocators/sys/build.rs index c8f5678b2..209ad78ec 100644 --- a/gstreamer-allocators/sys/build.rs +++ b/gstreamer-allocators/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-allocators/sys/src/lib.rs b/gstreamer-allocators/sys/src/lib.rs index 4cd23797d..268eb33a3 100644 --- a/gstreamer-allocators/sys/src/lib.rs +++ b/gstreamer-allocators/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-allocators/sys/tests/abi.rs b/gstreamer-allocators/sys/tests/abi.rs index 1b60ffcb6..16a34c315 100644 --- a/gstreamer-allocators/sys/tests/abi.rs +++ b/gstreamer-allocators/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-allocators/sys/tests/constant.c b/gstreamer-allocators/sys/tests/constant.c index cd54aa373..56af22681 100644 --- a/gstreamer-allocators/sys/tests/constant.c +++ b/gstreamer-allocators/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-allocators/sys/tests/layout.c b/gstreamer-allocators/sys/tests/layout.c index 64ab64a92..6e427d8a7 100644 --- a/gstreamer-allocators/sys/tests/layout.c +++ b/gstreamer-allocators/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-app/src/auto/versions.txt b/gstreamer-app/src/auto/versions.txt index d36e48def..121b1a165 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 @ 6fbc68a47551) +Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) diff --git a/gstreamer-app/sys/build.rs b/gstreamer-app/sys/build.rs index c8f5678b2..209ad78ec 100644 --- a/gstreamer-app/sys/build.rs +++ b/gstreamer-app/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-app/sys/src/lib.rs b/gstreamer-app/sys/src/lib.rs index bd6ace13c..626b6985d 100644 --- a/gstreamer-app/sys/src/lib.rs +++ b/gstreamer-app/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-app/sys/tests/abi.rs b/gstreamer-app/sys/tests/abi.rs index 3309de5cd..721c9d1d0 100644 --- a/gstreamer-app/sys/tests/abi.rs +++ b/gstreamer-app/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-app/sys/tests/constant.c b/gstreamer-app/sys/tests/constant.c index 297430489..eb85bccad 100644 --- a/gstreamer-app/sys/tests/constant.c +++ b/gstreamer-app/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-app/sys/tests/layout.c b/gstreamer-app/sys/tests/layout.c index 37df891b3..3a8ba7902 100644 --- a/gstreamer-app/sys/tests/layout.c +++ b/gstreamer-app/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-audio/src/auto/audio_decoder.rs b/gstreamer-audio/src/auto/audio_decoder.rs index c14572c85..5e41b6fa3 100644 --- a/gstreamer-audio/src/auto/audio_decoder.rs +++ b/gstreamer-audio/src/auto/audio_decoder.rs @@ -188,11 +188,9 @@ impl> AudioDecoderExt for O { min.as_mut_ptr(), max.as_mut_ptr(), ); - let min = min.assume_init(); - let max = max.assume_init(); ( - try_from_glib(min).expect("mandatory glib value is None"), - from_glib(max), + try_from_glib(min.assume_init()).expect("mandatory glib value is None"), + from_glib(max.assume_init()), ) } } @@ -227,9 +225,7 @@ impl> AudioDecoderExt for O { sync.as_mut_ptr(), eos.as_mut_ptr(), ); - let sync = sync.assume_init(); - let eos = eos.assume_init(); - (from_glib(sync), from_glib(eos)) + (from_glib(sync.assume_init()), from_glib(eos.assume_init())) } } diff --git a/gstreamer-audio/src/auto/audio_encoder.rs b/gstreamer-audio/src/auto/audio_encoder.rs index 0989eaef6..382db74ed 100644 --- a/gstreamer-audio/src/auto/audio_encoder.rs +++ b/gstreamer-audio/src/auto/audio_encoder.rs @@ -215,11 +215,9 @@ impl> AudioEncoderExt for O { min.as_mut_ptr(), max.as_mut_ptr(), ); - let min = min.assume_init(); - let max = max.assume_init(); ( - try_from_glib(min).expect("mandatory glib value is None"), - from_glib(max), + try_from_glib(min.assume_init()).expect("mandatory glib value is None"), + from_glib(max.assume_init()), ) } } diff --git a/gstreamer-audio/src/auto/versions.txt b/gstreamer-audio/src/auto/versions.txt index d36e48def..121b1a165 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 @ 6fbc68a47551) +Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) diff --git a/gstreamer-audio/sys/build.rs b/gstreamer-audio/sys/build.rs index c8f5678b2..209ad78ec 100644 --- a/gstreamer-audio/sys/build.rs +++ b/gstreamer-audio/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-audio/sys/src/lib.rs b/gstreamer-audio/sys/src/lib.rs index 1cc0391dc..37f03a4d2 100644 --- a/gstreamer-audio/sys/src/lib.rs +++ b/gstreamer-audio/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-audio/sys/tests/abi.rs b/gstreamer-audio/sys/tests/abi.rs index 15c547a00..346226a53 100644 --- a/gstreamer-audio/sys/tests/abi.rs +++ b/gstreamer-audio/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-audio/sys/tests/constant.c b/gstreamer-audio/sys/tests/constant.c index 30e7c692c..6e0ab8445 100644 --- a/gstreamer-audio/sys/tests/constant.c +++ b/gstreamer-audio/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-audio/sys/tests/layout.c b/gstreamer-audio/sys/tests/layout.c index 02de32f79..8904b6907 100644 --- a/gstreamer-audio/sys/tests/layout.c +++ b/gstreamer-audio/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-base/src/auto/adapter.rs b/gstreamer-base/src/auto/adapter.rs index 139157b8b..5816f2a50 100644 --- a/gstreamer-base/src/auto/adapter.rs +++ b/gstreamer-base/src/auto/adapter.rs @@ -62,8 +62,7 @@ impl Adapter { self.to_glib_none().0, distance.as_mut_ptr(), )); - let distance = distance.assume_init(); - (ret, distance) + (ret, distance.assume_init()) } } @@ -76,8 +75,7 @@ impl Adapter { offset, distance.as_mut_ptr(), )); - let distance = distance.assume_init(); - (ret, distance) + (ret, distance.assume_init()) } } @@ -86,8 +84,7 @@ impl Adapter { unsafe { let mut distance = mem::MaybeUninit::uninit(); let ret = ffi::gst_adapter_prev_offset(self.to_glib_none().0, distance.as_mut_ptr()); - let distance = distance.assume_init(); - (ret, distance) + (ret, distance.assume_init()) } } @@ -99,8 +96,7 @@ impl Adapter { self.to_glib_none().0, distance.as_mut_ptr(), )); - let distance = distance.assume_init(); - (ret, distance) + (ret, distance.assume_init()) } } @@ -113,8 +109,7 @@ impl Adapter { offset, distance.as_mut_ptr(), )); - let distance = distance.assume_init(); - (ret, distance) + (ret, distance.assume_init()) } } diff --git a/gstreamer-base/src/auto/base_sink.rs b/gstreamer-base/src/auto/base_sink.rs index 39a4ad22d..a9ebc9d0c 100644 --- a/gstreamer-base/src/auto/base_sink.rs +++ b/gstreamer-base/src/auto/base_sink.rs @@ -373,8 +373,7 @@ impl> BaseSinkExt for O { time.into().into_glib(), jitter.as_mut_ptr(), )); - let jitter = jitter.assume_init(); - (ret, jitter) + (ret, jitter.assume_init()) } } @@ -392,8 +391,7 @@ impl> BaseSinkExt for O { time.into_glib(), jitter.as_mut_ptr(), )); - let jitter = jitter.assume_init(); - (ret, jitter) + (ret, jitter.assume_init()) } } diff --git a/gstreamer-base/src/auto/versions.txt b/gstreamer-base/src/auto/versions.txt index d36e48def..121b1a165 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 @ 6fbc68a47551) +Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) diff --git a/gstreamer-base/sys/build.rs b/gstreamer-base/sys/build.rs index c8f5678b2..209ad78ec 100644 --- a/gstreamer-base/sys/build.rs +++ b/gstreamer-base/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-base/sys/src/lib.rs b/gstreamer-base/sys/src/lib.rs index 8aa181b93..191c09673 100644 --- a/gstreamer-base/sys/src/lib.rs +++ b/gstreamer-base/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-base/sys/tests/abi.rs b/gstreamer-base/sys/tests/abi.rs index 581690850..d8dccf980 100644 --- a/gstreamer-base/sys/tests/abi.rs +++ b/gstreamer-base/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-base/sys/tests/constant.c b/gstreamer-base/sys/tests/constant.c index 088d363e8..ee22d1af3 100644 --- a/gstreamer-base/sys/tests/constant.c +++ b/gstreamer-base/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-base/sys/tests/layout.c b/gstreamer-base/sys/tests/layout.c index 7e8ff9513..a05a010be 100644 --- a/gstreamer-base/sys/tests/layout.c +++ b/gstreamer-base/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-check/src/auto/versions.txt b/gstreamer-check/src/auto/versions.txt index d36e48def..121b1a165 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 @ 6fbc68a47551) +Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) diff --git a/gstreamer-check/sys/build.rs b/gstreamer-check/sys/build.rs index c8f5678b2..209ad78ec 100644 --- a/gstreamer-check/sys/build.rs +++ b/gstreamer-check/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-check/sys/src/lib.rs b/gstreamer-check/sys/src/lib.rs index c1c6cb66b..35248b9e3 100644 --- a/gstreamer-check/sys/src/lib.rs +++ b/gstreamer-check/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-check/sys/tests/abi.rs b/gstreamer-check/sys/tests/abi.rs index 2fb06772a..1d7257205 100644 --- a/gstreamer-check/sys/tests/abi.rs +++ b/gstreamer-check/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-check/sys/tests/constant.c b/gstreamer-check/sys/tests/constant.c index 06794c05e..794676262 100644 --- a/gstreamer-check/sys/tests/constant.c +++ b/gstreamer-check/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-check/sys/tests/layout.c b/gstreamer-check/sys/tests/layout.c index 8d6d3a3f4..97d900b79 100644 --- a/gstreamer-check/sys/tests/layout.c +++ b/gstreamer-check/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-controller/src/auto/versions.txt b/gstreamer-controller/src/auto/versions.txt index d36e48def..121b1a165 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 @ 6fbc68a47551) +Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) diff --git a/gstreamer-controller/sys/build.rs b/gstreamer-controller/sys/build.rs index c8f5678b2..209ad78ec 100644 --- a/gstreamer-controller/sys/build.rs +++ b/gstreamer-controller/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-controller/sys/src/lib.rs b/gstreamer-controller/sys/src/lib.rs index 7f0e8fa02..0989b0a98 100644 --- a/gstreamer-controller/sys/src/lib.rs +++ b/gstreamer-controller/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-controller/sys/tests/abi.rs b/gstreamer-controller/sys/tests/abi.rs index a092e2d42..d63d96529 100644 --- a/gstreamer-controller/sys/tests/abi.rs +++ b/gstreamer-controller/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-controller/sys/tests/constant.c b/gstreamer-controller/sys/tests/constant.c index 3563ef4ed..077745be8 100644 --- a/gstreamer-controller/sys/tests/constant.c +++ b/gstreamer-controller/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-controller/sys/tests/layout.c b/gstreamer-controller/sys/tests/layout.c index f3e9a7c86..3702f706e 100644 --- a/gstreamer-controller/sys/tests/layout.c +++ b/gstreamer-controller/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-editing-services/src/auto/clip_asset.rs b/gstreamer-editing-services/src/auto/clip_asset.rs index 51c383475..d15ce2d03 100644 --- a/gstreamer-editing-services/src/auto/clip_asset.rs +++ b/gstreamer-editing-services/src/auto/clip_asset.rs @@ -80,10 +80,8 @@ impl> ClipAssetExt for O { framerate_n.as_mut_ptr(), framerate_d.as_mut_ptr(), )); - let framerate_n = framerate_n.assume_init(); - let framerate_d = framerate_d.assume_init(); if ret { - Some((framerate_n, framerate_d)) + Some((framerate_n.assume_init(), framerate_d.assume_init())) } else { None } diff --git a/gstreamer-editing-services/src/auto/meta_container.rs b/gstreamer-editing-services/src/auto/meta_container.rs index 8dbbdb718..d19c190cb 100644 --- a/gstreamer-editing-services/src/auto/meta_container.rs +++ b/gstreamer-editing-services/src/auto/meta_container.rs @@ -207,10 +207,11 @@ impl> MetaContainerExt for O { flags.as_mut_ptr(), type_.as_mut_ptr(), )); - let flags = flags.assume_init(); - let type_ = type_.assume_init(); if ret { - Some((from_glib(flags), from_glib(type_))) + Some(( + from_glib(flags.assume_init()), + from_glib(type_.assume_init()), + )) } else { None } @@ -250,9 +251,8 @@ impl> MetaContainerExt for O { meta_item.to_glib_none().0, dest.as_mut_ptr(), )); - let dest = dest.assume_init(); if ret { - Some(from_glib(dest)) + Some(from_glib(dest.assume_init())) } else { None } @@ -299,9 +299,8 @@ impl> MetaContainerExt for O { meta_item.to_glib_none().0, dest.as_mut_ptr(), )); - let dest = dest.assume_init(); if ret { - Some(dest) + Some(dest.assume_init()) } else { None } @@ -316,9 +315,8 @@ impl> MetaContainerExt for O { meta_item.to_glib_none().0, dest.as_mut_ptr(), )); - let dest = dest.assume_init(); if ret { - Some(dest) + Some(dest.assume_init()) } else { None } @@ -333,9 +331,8 @@ impl> MetaContainerExt for O { meta_item.to_glib_none().0, dest.as_mut_ptr(), )); - let dest = dest.assume_init(); if ret { - Some(dest) + Some(dest.assume_init()) } else { None } @@ -350,9 +347,8 @@ impl> MetaContainerExt for O { meta_item.to_glib_none().0, dest.as_mut_ptr(), )); - let dest = dest.assume_init(); if ret { - Some(dest) + Some(dest.assume_init()) } else { None } @@ -396,9 +392,8 @@ impl> MetaContainerExt for O { meta_item.to_glib_none().0, dest.as_mut_ptr(), )); - let dest = dest.assume_init(); if ret { - Some(dest) + Some(dest.assume_init()) } else { None } @@ -413,9 +408,8 @@ impl> MetaContainerExt for O { meta_item.to_glib_none().0, dest.as_mut_ptr(), )); - let dest = dest.assume_init(); if ret { - Some(dest) + Some(dest.assume_init()) } else { None } diff --git a/gstreamer-editing-services/src/auto/timeline_element.rs b/gstreamer-editing-services/src/auto/timeline_element.rs index e3a49810e..aff1a31a5 100644 --- a/gstreamer-editing-services/src/auto/timeline_element.rs +++ b/gstreamer-editing-services/src/auto/timeline_element.rs @@ -418,10 +418,8 @@ impl> TimelineElementExt for O { framerate_n.as_mut_ptr(), framerate_d.as_mut_ptr(), )); - let framerate_n = framerate_n.assume_init(); - let framerate_d = framerate_d.assume_init(); if ret { - Some((framerate_n, framerate_d)) + Some((framerate_n.assume_init(), framerate_d.assume_init())) } else { None } diff --git a/gstreamer-editing-services/src/auto/track_element_asset.rs b/gstreamer-editing-services/src/auto/track_element_asset.rs index 8b38389cb..68d0d0c82 100644 --- a/gstreamer-editing-services/src/auto/track_element_asset.rs +++ b/gstreamer-editing-services/src/auto/track_element_asset.rs @@ -60,10 +60,8 @@ impl> TrackElementAssetExt for O { framerate_n.as_mut_ptr(), framerate_d.as_mut_ptr(), )); - let framerate_n = framerate_n.assume_init(); - let framerate_d = framerate_d.assume_init(); if ret { - Some((framerate_n, framerate_d)) + Some((framerate_n.assume_init(), framerate_d.assume_init())) } else { None } diff --git a/gstreamer-editing-services/src/auto/versions.txt b/gstreamer-editing-services/src/auto/versions.txt index d36e48def..121b1a165 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 @ 6fbc68a47551) +Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) diff --git a/gstreamer-editing-services/src/auto/video_source.rs b/gstreamer-editing-services/src/auto/video_source.rs index 472f13ffe..dd20b33b5 100644 --- a/gstreamer-editing-services/src/auto/video_source.rs +++ b/gstreamer-editing-services/src/auto/video_source.rs @@ -49,10 +49,8 @@ impl> VideoSourceExt for O { width.as_mut_ptr(), height.as_mut_ptr(), )); - let width = width.assume_init(); - let height = height.assume_init(); if ret { - Some((width, height)) + Some((width.assume_init(), height.assume_init())) } else { None } diff --git a/gstreamer-editing-services/sys/build.rs b/gstreamer-editing-services/sys/build.rs index c8f5678b2..209ad78ec 100644 --- a/gstreamer-editing-services/sys/build.rs +++ b/gstreamer-editing-services/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-editing-services/sys/src/lib.rs b/gstreamer-editing-services/sys/src/lib.rs index 229af926f..28b3d4ba7 100644 --- a/gstreamer-editing-services/sys/src/lib.rs +++ b/gstreamer-editing-services/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-editing-services/sys/tests/abi.rs b/gstreamer-editing-services/sys/tests/abi.rs index 57dfdc9a1..3ca46b10e 100644 --- a/gstreamer-editing-services/sys/tests/abi.rs +++ b/gstreamer-editing-services/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-editing-services/sys/tests/constant.c b/gstreamer-editing-services/sys/tests/constant.c index ae3e74c2a..aac8de2fd 100644 --- a/gstreamer-editing-services/sys/tests/constant.c +++ b/gstreamer-editing-services/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-editing-services/sys/tests/layout.c b/gstreamer-editing-services/sys/tests/layout.c index 27b953466..4f83d0225 100644 --- a/gstreamer-editing-services/sys/tests/layout.c +++ b/gstreamer-editing-services/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-gl/egl/src/auto/versions.txt b/gstreamer-gl/egl/src/auto/versions.txt index d36e48def..121b1a165 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 @ 6fbc68a47551) +Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) diff --git a/gstreamer-gl/egl/sys/build.rs b/gstreamer-gl/egl/sys/build.rs index c8f5678b2..209ad78ec 100644 --- a/gstreamer-gl/egl/sys/build.rs +++ b/gstreamer-gl/egl/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-gl/egl/sys/src/lib.rs b/gstreamer-gl/egl/sys/src/lib.rs index 5b994473b..1fa363fb4 100644 --- a/gstreamer-gl/egl/sys/src/lib.rs +++ b/gstreamer-gl/egl/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-gl/egl/sys/tests/abi.rs b/gstreamer-gl/egl/sys/tests/abi.rs index 91272fe34..1b2c088c7 100644 --- a/gstreamer-gl/egl/sys/tests/abi.rs +++ b/gstreamer-gl/egl/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-gl/egl/sys/tests/constant.c b/gstreamer-gl/egl/sys/tests/constant.c index 9dbef8cf1..aa108c414 100644 --- a/gstreamer-gl/egl/sys/tests/constant.c +++ b/gstreamer-gl/egl/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-gl/egl/sys/tests/layout.c b/gstreamer-gl/egl/sys/tests/layout.c index a3c8de48c..fc310e52d 100644 --- a/gstreamer-gl/egl/sys/tests/layout.c +++ b/gstreamer-gl/egl/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-gl/src/auto/enums.rs b/gstreamer-gl/src/auto/enums.rs index ead0f241b..b1e961a5f 100644 --- a/gstreamer-gl/src/auto/enums.rs +++ b/gstreamer-gl/src/auto/enums.rs @@ -314,9 +314,10 @@ impl GLFormat { unsized_format.as_mut_ptr(), gl_type.as_mut_ptr(), ); - let unsized_format = unsized_format.assume_init(); - let gl_type = gl_type.assume_init(); - (from_glib(unsized_format), gl_type) + ( + from_glib(unsized_format.assume_init()), + gl_type.assume_init(), + ) } } @@ -649,10 +650,11 @@ impl GLSLVersion { version_ret.as_mut_ptr(), profile_ret.as_mut_ptr(), )); - let version_ret = version_ret.assume_init(); - let profile_ret = profile_ret.assume_init(); if ret { - Some((from_glib(version_ret), from_glib(profile_ret))) + Some(( + from_glib(version_ret.assume_init()), + from_glib(profile_ret.assume_init()), + )) } else { None } diff --git a/gstreamer-gl/src/auto/functions.rs b/gstreamer-gl/src/auto/functions.rs index 94a928428..a613bed99 100644 --- a/gstreamer-gl/src/auto/functions.rs +++ b/gstreamer-gl/src/auto/functions.rs @@ -46,10 +46,11 @@ pub fn glsl_string_get_version_profile(s: &str) -> Option<(GLSLVersion, GLSLProf version.as_mut_ptr(), profile.as_mut_ptr(), )); - let version = version.assume_init(); - let profile = profile.assume_init(); if ret { - Some((from_glib(version), from_glib(profile))) + Some(( + from_glib(version.assume_init()), + from_glib(profile.assume_init()), + )) } else { None } diff --git a/gstreamer-gl/src/auto/gl_context.rs b/gstreamer-gl/src/auto/gl_context.rs index 6f8d941f7..2ba417b45 100644 --- a/gstreamer-gl/src/auto/gl_context.rs +++ b/gstreamer-gl/src/auto/gl_context.rs @@ -51,9 +51,7 @@ impl GLContext { major.as_mut_ptr(), minor.as_mut_ptr(), )); - let major = major.assume_init(); - let minor = minor.assume_init(); - (ret, major, minor) + (ret, major.assume_init(), minor.assume_init()) } } } @@ -292,9 +290,7 @@ impl> GLContextExt for O { major.as_mut_ptr(), minor.as_mut_ptr(), ); - let major = major.assume_init(); - let minor = minor.assume_init(); - (major, minor) + (major.assume_init(), minor.assume_init()) } } @@ -307,9 +303,7 @@ impl> GLContextExt for O { maj.as_mut_ptr(), min.as_mut_ptr(), ); - let maj = maj.assume_init(); - let min = min.assume_init(); - (maj, min) + (maj.assume_init(), min.assume_init()) } } diff --git a/gstreamer-gl/src/auto/gl_framebuffer.rs b/gstreamer-gl/src/auto/gl_framebuffer.rs index 57a9f9187..d745a6219 100644 --- a/gstreamer-gl/src/auto/gl_framebuffer.rs +++ b/gstreamer-gl/src/auto/gl_framebuffer.rs @@ -99,9 +99,7 @@ impl> GLFramebufferExt for O { width.as_mut_ptr(), height.as_mut_ptr(), ); - let width = width.assume_init(); - let height = height.assume_init(); - (width, height) + (width.assume_init(), height.assume_init()) } } diff --git a/gstreamer-gl/src/auto/gl_window.rs b/gstreamer-gl/src/auto/gl_window.rs index 8b0712467..0b730cb0a 100644 --- a/gstreamer-gl/src/auto/gl_window.rs +++ b/gstreamer-gl/src/auto/gl_window.rs @@ -162,9 +162,7 @@ impl> GLWindowExt for O { width.as_mut_ptr(), height.as_mut_ptr(), ); - let width = width.assume_init(); - let height = height.assume_init(); - (width, height) + (width.assume_init(), height.assume_init()) } } diff --git a/gstreamer-gl/src/auto/versions.txt b/gstreamer-gl/src/auto/versions.txt index d36e48def..121b1a165 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 @ 6fbc68a47551) +Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) diff --git a/gstreamer-gl/sys/build.rs b/gstreamer-gl/sys/build.rs index c8f5678b2..209ad78ec 100644 --- a/gstreamer-gl/sys/build.rs +++ b/gstreamer-gl/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-gl/sys/src/lib.rs b/gstreamer-gl/sys/src/lib.rs index 69011c1c3..d4bcb369e 100644 --- a/gstreamer-gl/sys/src/lib.rs +++ b/gstreamer-gl/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-gl/sys/tests/abi.rs b/gstreamer-gl/sys/tests/abi.rs index 40756c9bc..b1b9751da 100644 --- a/gstreamer-gl/sys/tests/abi.rs +++ b/gstreamer-gl/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-gl/sys/tests/constant.c b/gstreamer-gl/sys/tests/constant.c index 4dfd5d1ce..3607681d6 100644 --- a/gstreamer-gl/sys/tests/constant.c +++ b/gstreamer-gl/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-gl/sys/tests/layout.c b/gstreamer-gl/sys/tests/layout.c index 641bd3683..09f7e5225 100644 --- a/gstreamer-gl/sys/tests/layout.c +++ b/gstreamer-gl/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-gl/wayland/src/auto/versions.txt b/gstreamer-gl/wayland/src/auto/versions.txt index d36e48def..121b1a165 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 @ 6fbc68a47551) +Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) diff --git a/gstreamer-gl/wayland/sys/build.rs b/gstreamer-gl/wayland/sys/build.rs index c8f5678b2..209ad78ec 100644 --- a/gstreamer-gl/wayland/sys/build.rs +++ b/gstreamer-gl/wayland/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-gl/wayland/sys/src/lib.rs b/gstreamer-gl/wayland/sys/src/lib.rs index 690fc8374..1d87c1cae 100644 --- a/gstreamer-gl/wayland/sys/src/lib.rs +++ b/gstreamer-gl/wayland/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-gl/wayland/sys/tests/abi.rs b/gstreamer-gl/wayland/sys/tests/abi.rs index f0fa7c24a..b47a07c65 100644 --- a/gstreamer-gl/wayland/sys/tests/abi.rs +++ b/gstreamer-gl/wayland/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-gl/wayland/sys/tests/constant.c b/gstreamer-gl/wayland/sys/tests/constant.c index 06794c05e..794676262 100644 --- a/gstreamer-gl/wayland/sys/tests/constant.c +++ b/gstreamer-gl/wayland/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-gl/wayland/sys/tests/layout.c b/gstreamer-gl/wayland/sys/tests/layout.c index 215042c65..e7342b538 100644 --- a/gstreamer-gl/wayland/sys/tests/layout.c +++ b/gstreamer-gl/wayland/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-gl/x11/src/auto/versions.txt b/gstreamer-gl/x11/src/auto/versions.txt index d36e48def..121b1a165 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 @ 6fbc68a47551) +Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) diff --git a/gstreamer-gl/x11/sys/build.rs b/gstreamer-gl/x11/sys/build.rs index c8f5678b2..209ad78ec 100644 --- a/gstreamer-gl/x11/sys/build.rs +++ b/gstreamer-gl/x11/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-gl/x11/sys/src/lib.rs b/gstreamer-gl/x11/sys/src/lib.rs index e529269b9..60a1786ca 100644 --- a/gstreamer-gl/x11/sys/src/lib.rs +++ b/gstreamer-gl/x11/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-gl/x11/sys/tests/abi.rs b/gstreamer-gl/x11/sys/tests/abi.rs index 7d22f42aa..2c665b2e5 100644 --- a/gstreamer-gl/x11/sys/tests/abi.rs +++ b/gstreamer-gl/x11/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-gl/x11/sys/tests/constant.c b/gstreamer-gl/x11/sys/tests/constant.c index 06794c05e..794676262 100644 --- a/gstreamer-gl/x11/sys/tests/constant.c +++ b/gstreamer-gl/x11/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-gl/x11/sys/tests/layout.c b/gstreamer-gl/x11/sys/tests/layout.c index f3aac5328..b993f3338 100644 --- a/gstreamer-gl/x11/sys/tests/layout.c +++ b/gstreamer-gl/x11/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-mpegts/sys/build.rs b/gstreamer-mpegts/sys/build.rs index c8f5678b2..209ad78ec 100644 --- a/gstreamer-mpegts/sys/build.rs +++ b/gstreamer-mpegts/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-mpegts/sys/src/lib.rs b/gstreamer-mpegts/sys/src/lib.rs index a4ab1e09b..582728b25 100644 --- a/gstreamer-mpegts/sys/src/lib.rs +++ b/gstreamer-mpegts/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-mpegts/sys/tests/abi.rs b/gstreamer-mpegts/sys/tests/abi.rs index d384008c7..516c07c33 100644 --- a/gstreamer-mpegts/sys/tests/abi.rs +++ b/gstreamer-mpegts/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-mpegts/sys/tests/constant.c b/gstreamer-mpegts/sys/tests/constant.c index 1fe42ad3f..2efae01db 100644 --- a/gstreamer-mpegts/sys/tests/constant.c +++ b/gstreamer-mpegts/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-mpegts/sys/tests/layout.c b/gstreamer-mpegts/sys/tests/layout.c index d7e7c9117..303f31611 100644 --- a/gstreamer-mpegts/sys/tests/layout.c +++ b/gstreamer-mpegts/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-net/src/auto/versions.txt b/gstreamer-net/src/auto/versions.txt index d36e48def..121b1a165 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 @ 6fbc68a47551) +Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) diff --git a/gstreamer-net/sys/build.rs b/gstreamer-net/sys/build.rs index c8f5678b2..209ad78ec 100644 --- a/gstreamer-net/sys/build.rs +++ b/gstreamer-net/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-net/sys/src/lib.rs b/gstreamer-net/sys/src/lib.rs index 995d9c0b6..ff9e50fda 100644 --- a/gstreamer-net/sys/src/lib.rs +++ b/gstreamer-net/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-net/sys/tests/abi.rs b/gstreamer-net/sys/tests/abi.rs index 4f11dbdb2..1b3369ea1 100644 --- a/gstreamer-net/sys/tests/abi.rs +++ b/gstreamer-net/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-net/sys/tests/constant.c b/gstreamer-net/sys/tests/constant.c index dd6c89a76..4528f000e 100644 --- a/gstreamer-net/sys/tests/constant.c +++ b/gstreamer-net/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-net/sys/tests/layout.c b/gstreamer-net/sys/tests/layout.c index f25ef8e8f..6dd691c8d 100644 --- a/gstreamer-net/sys/tests/layout.c +++ b/gstreamer-net/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-pbutils/src/auto/functions.rs b/gstreamer-pbutils/src/auto/functions.rs index be622fec9..37af8b65c 100644 --- a/gstreamer-pbutils/src/auto/functions.rs +++ b/gstreamer-pbutils/src/auto/functions.rs @@ -304,11 +304,12 @@ pub fn plugins_base_version() -> (u32, u32, u32, u32) { micro.as_mut_ptr(), nano.as_mut_ptr(), ); - let major = major.assume_init(); - let minor = minor.assume_init(); - let micro = micro.assume_init(); - let nano = nano.assume_init(); - (major, minor, micro, nano) + ( + major.assume_init(), + minor.assume_init(), + micro.assume_init(), + nano.assume_init(), + ) } } diff --git a/gstreamer-pbutils/src/auto/versions.txt b/gstreamer-pbutils/src/auto/versions.txt index d36e48def..121b1a165 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 @ 6fbc68a47551) +Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) diff --git a/gstreamer-pbutils/sys/build.rs b/gstreamer-pbutils/sys/build.rs index c8f5678b2..209ad78ec 100644 --- a/gstreamer-pbutils/sys/build.rs +++ b/gstreamer-pbutils/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-pbutils/sys/src/lib.rs b/gstreamer-pbutils/sys/src/lib.rs index 0f4e1416e..9c53eaacd 100644 --- a/gstreamer-pbutils/sys/src/lib.rs +++ b/gstreamer-pbutils/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-pbutils/sys/tests/abi.rs b/gstreamer-pbutils/sys/tests/abi.rs index 8c07e38be..74be3eeec 100644 --- a/gstreamer-pbutils/sys/tests/abi.rs +++ b/gstreamer-pbutils/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-pbutils/sys/tests/constant.c b/gstreamer-pbutils/sys/tests/constant.c index 641baab93..e621eef0e 100644 --- a/gstreamer-pbutils/sys/tests/constant.c +++ b/gstreamer-pbutils/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-pbutils/sys/tests/layout.c b/gstreamer-pbutils/sys/tests/layout.c index c02594c3a..cf0a69933 100644 --- a/gstreamer-pbutils/sys/tests/layout.c +++ b/gstreamer-pbutils/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs b/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs index ba2bb2069..3fe51ad7e 100644 --- a/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs +++ b/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs @@ -47,11 +47,12 @@ impl PlayerVideoOverlayVideoRenderer { width.as_mut_ptr(), height.as_mut_ptr(), ); - let x = x.assume_init(); - let y = y.assume_init(); - let width = width.assume_init(); - let height = height.assume_init(); - (x, y, width, height) + ( + x.assume_init(), + y.assume_init(), + width.assume_init(), + height.assume_init(), + ) } } diff --git a/gstreamer-player/src/auto/versions.txt b/gstreamer-player/src/auto/versions.txt index d36e48def..121b1a165 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 @ 6fbc68a47551) +Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) diff --git a/gstreamer-player/sys/build.rs b/gstreamer-player/sys/build.rs index c8f5678b2..209ad78ec 100644 --- a/gstreamer-player/sys/build.rs +++ b/gstreamer-player/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-player/sys/src/lib.rs b/gstreamer-player/sys/src/lib.rs index 3fd78d601..9946c3329 100644 --- a/gstreamer-player/sys/src/lib.rs +++ b/gstreamer-player/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-player/sys/tests/abi.rs b/gstreamer-player/sys/tests/abi.rs index e0a54216e..e082fc366 100644 --- a/gstreamer-player/sys/tests/abi.rs +++ b/gstreamer-player/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-player/sys/tests/constant.c b/gstreamer-player/sys/tests/constant.c index ff821a6fe..30d542bd8 100644 --- a/gstreamer-player/sys/tests/constant.c +++ b/gstreamer-player/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-player/sys/tests/layout.c b/gstreamer-player/sys/tests/layout.c index 99ee2b5ce..7b701d096 100644 --- a/gstreamer-player/sys/tests/layout.c +++ b/gstreamer-player/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-rtp/src/auto/versions.txt b/gstreamer-rtp/src/auto/versions.txt index d36e48def..121b1a165 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 @ 6fbc68a47551) +Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) diff --git a/gstreamer-rtp/sys/build.rs b/gstreamer-rtp/sys/build.rs index c8f5678b2..209ad78ec 100644 --- a/gstreamer-rtp/sys/build.rs +++ b/gstreamer-rtp/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-rtp/sys/src/lib.rs b/gstreamer-rtp/sys/src/lib.rs index 281fdf241..804aba405 100644 --- a/gstreamer-rtp/sys/src/lib.rs +++ b/gstreamer-rtp/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-rtp/sys/tests/abi.rs b/gstreamer-rtp/sys/tests/abi.rs index 500dc8253..d047de414 100644 --- a/gstreamer-rtp/sys/tests/abi.rs +++ b/gstreamer-rtp/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-rtp/sys/tests/constant.c b/gstreamer-rtp/sys/tests/constant.c index 4bb673c87..20420eec5 100644 --- a/gstreamer-rtp/sys/tests/constant.c +++ b/gstreamer-rtp/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-rtp/sys/tests/layout.c b/gstreamer-rtp/sys/tests/layout.c index cc01bd7f2..855de46b9 100644 --- a/gstreamer-rtp/sys/tests/layout.c +++ b/gstreamer-rtp/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/rtsp_media.rs b/gstreamer-rtsp-server/src/auto/rtsp_media.rs index 4dd3b3fbe..acbe60b10 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_media.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_media.rs @@ -619,10 +619,8 @@ impl> RTSPMediaExt for O { rate.as_mut_ptr(), applied_rate.as_mut_ptr(), )); - let rate = rate.assume_init(); - let applied_rate = applied_rate.assume_init(); if ret { - Some((rate, applied_rate)) + Some((rate.assume_init(), applied_rate.assume_init())) } else { None } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_mount_points.rs b/gstreamer-rtsp-server/src/auto/rtsp_mount_points.rs index eddc45723..a34ff5c69 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_mount_points.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_mount_points.rs @@ -80,8 +80,7 @@ impl> RTSPMountPointsExt for O { path.to_glib_none().0, matched.as_mut_ptr(), )); - let matched = matched.assume_init(); - (ret, matched) + (ret, matched.assume_init()) } } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_session.rs b/gstreamer-rtsp-server/src/auto/rtsp_session.rs index 8342f983b..8f87f394f 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_session.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_session.rs @@ -192,8 +192,7 @@ impl> RTSPSessionExt for O { path.to_glib_none().0, matched.as_mut_ptr(), )); - let matched = matched.assume_init(); - (ret, matched) + (ret, matched.assume_init()) } } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_session_media.rs b/gstreamer-rtsp-server/src/auto/rtsp_session_media.rs index 4ef7db33f..6055af50e 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_session_media.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_session_media.rs @@ -135,9 +135,8 @@ impl> RTSPSessionMediaExt for O { path.to_glib_none().0, matched.as_mut_ptr(), )); - let matched = matched.assume_init(); if ret { - Some(matched) + Some(matched.assume_init()) } else { None } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_stream.rs b/gstreamer-rtsp-server/src/auto/rtsp_stream.rs index 056549512..409facbd4 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_stream.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_stream.rs @@ -621,10 +621,8 @@ impl> RTSPStreamExt for O { rate.as_mut_ptr(), applied_rate.as_mut_ptr(), )); - let rate = rate.assume_init(); - let applied_rate = applied_rate.assume_init(); if ret { - Some((rate, applied_rate)) + Some((rate.assume_init(), applied_rate.assume_init())) } else { None } @@ -692,12 +690,13 @@ impl> RTSPStreamExt for O { clock_rate.as_mut_ptr(), running_time.as_mut_ptr(), )); - let rtptime = rtptime.assume_init(); - let seq = seq.assume_init(); - let clock_rate = clock_rate.assume_init(); - let running_time = running_time.assume_init(); if ret { - Some((rtptime, seq, clock_rate, from_glib(running_time))) + Some(( + rtptime.assume_init(), + seq.assume_init(), + clock_rate.assume_init(), + from_glib(running_time.assume_init()), + )) } else { None } @@ -744,8 +743,7 @@ impl> RTSPStreamExt for O { unsafe { let mut ssrc = mem::MaybeUninit::uninit(); ffi::gst_rtsp_stream_get_ssrc(self.as_ref().to_glib_none().0, ssrc.as_mut_ptr()); - let ssrc = ssrc.assume_init(); - ssrc + ssrc.assume_init() } } diff --git a/gstreamer-rtsp-server/src/auto/versions.txt b/gstreamer-rtsp-server/src/auto/versions.txt index d36e48def..121b1a165 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 @ 6fbc68a47551) +Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) diff --git a/gstreamer-rtsp-server/sys/build.rs b/gstreamer-rtsp-server/sys/build.rs index c8f5678b2..209ad78ec 100644 --- a/gstreamer-rtsp-server/sys/build.rs +++ b/gstreamer-rtsp-server/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/sys/src/lib.rs b/gstreamer-rtsp-server/sys/src/lib.rs index 8b4d9e923..82889fdf3 100644 --- a/gstreamer-rtsp-server/sys/src/lib.rs +++ b/gstreamer-rtsp-server/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/sys/tests/abi.rs b/gstreamer-rtsp-server/sys/tests/abi.rs index ddf829993..cca750630 100644 --- a/gstreamer-rtsp-server/sys/tests/abi.rs +++ b/gstreamer-rtsp-server/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/sys/tests/constant.c b/gstreamer-rtsp-server/sys/tests/constant.c index d8bcc50f3..fb53d51d7 100644 --- a/gstreamer-rtsp-server/sys/tests/constant.c +++ b/gstreamer-rtsp-server/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/sys/tests/layout.c b/gstreamer-rtsp-server/sys/tests/layout.c index 153ae86ba..6255bfafa 100644 --- a/gstreamer-rtsp-server/sys/tests/layout.c +++ b/gstreamer-rtsp-server/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-rtsp/src/auto/versions.txt b/gstreamer-rtsp/src/auto/versions.txt index d36e48def..121b1a165 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 @ 6fbc68a47551) +Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) diff --git a/gstreamer-rtsp/sys/build.rs b/gstreamer-rtsp/sys/build.rs index c8f5678b2..209ad78ec 100644 --- a/gstreamer-rtsp/sys/build.rs +++ b/gstreamer-rtsp/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-rtsp/sys/src/lib.rs b/gstreamer-rtsp/sys/src/lib.rs index 3818fc5b1..df023a6d1 100644 --- a/gstreamer-rtsp/sys/src/lib.rs +++ b/gstreamer-rtsp/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-rtsp/sys/tests/abi.rs b/gstreamer-rtsp/sys/tests/abi.rs index 83b126c16..c2c97b7a0 100644 --- a/gstreamer-rtsp/sys/tests/abi.rs +++ b/gstreamer-rtsp/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-rtsp/sys/tests/constant.c b/gstreamer-rtsp/sys/tests/constant.c index 4e3ee21b5..b34d84eff 100644 --- a/gstreamer-rtsp/sys/tests/constant.c +++ b/gstreamer-rtsp/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-rtsp/sys/tests/layout.c b/gstreamer-rtsp/sys/tests/layout.c index cced3c778..84b0f1f9f 100644 --- a/gstreamer-rtsp/sys/tests/layout.c +++ b/gstreamer-rtsp/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-sdp/src/auto/versions.txt b/gstreamer-sdp/src/auto/versions.txt index d36e48def..121b1a165 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 @ 6fbc68a47551) +Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) diff --git a/gstreamer-sdp/sys/build.rs b/gstreamer-sdp/sys/build.rs index c8f5678b2..209ad78ec 100644 --- a/gstreamer-sdp/sys/build.rs +++ b/gstreamer-sdp/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-sdp/sys/src/lib.rs b/gstreamer-sdp/sys/src/lib.rs index 6147f6e64..63c8fafd7 100644 --- a/gstreamer-sdp/sys/src/lib.rs +++ b/gstreamer-sdp/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-sdp/sys/tests/abi.rs b/gstreamer-sdp/sys/tests/abi.rs index fa292f4e6..4f37a507e 100644 --- a/gstreamer-sdp/sys/tests/abi.rs +++ b/gstreamer-sdp/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-sdp/sys/tests/constant.c b/gstreamer-sdp/sys/tests/constant.c index 058de7cc1..82ca19c8a 100644 --- a/gstreamer-sdp/sys/tests/constant.c +++ b/gstreamer-sdp/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-sdp/sys/tests/layout.c b/gstreamer-sdp/sys/tests/layout.c index 23c33e9ae..820beb4bd 100644 --- a/gstreamer-sdp/sys/tests/layout.c +++ b/gstreamer-sdp/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-tag/sys/build.rs b/gstreamer-tag/sys/build.rs index c8f5678b2..209ad78ec 100644 --- a/gstreamer-tag/sys/build.rs +++ b/gstreamer-tag/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-tag/sys/src/lib.rs b/gstreamer-tag/sys/src/lib.rs index 5516c8a68..c5dffa966 100644 --- a/gstreamer-tag/sys/src/lib.rs +++ b/gstreamer-tag/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-tag/sys/tests/abi.rs b/gstreamer-tag/sys/tests/abi.rs index 5555a5b79..0ff2c8eec 100644 --- a/gstreamer-tag/sys/tests/abi.rs +++ b/gstreamer-tag/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-tag/sys/tests/constant.c b/gstreamer-tag/sys/tests/constant.c index 050461e07..b5857462e 100644 --- a/gstreamer-tag/sys/tests/constant.c +++ b/gstreamer-tag/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-tag/sys/tests/layout.c b/gstreamer-tag/sys/tests/layout.c index 4a2e501cb..04001caa1 100644 --- a/gstreamer-tag/sys/tests/layout.c +++ b/gstreamer-tag/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-video/src/auto/versions.txt b/gstreamer-video/src/auto/versions.txt index d36e48def..121b1a165 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 @ 6fbc68a47551) +Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) diff --git a/gstreamer-video/src/auto/video_orientation.rs b/gstreamer-video/src/auto/video_orientation.rs index 1884c1fa8..66c84b579 100644 --- a/gstreamer-video/src/auto/video_orientation.rs +++ b/gstreamer-video/src/auto/video_orientation.rs @@ -33,9 +33,8 @@ impl VideoOrientation { taglist.to_glib_none().0, method.as_mut_ptr(), )); - let method = method.assume_init(); if ret { - Some(from_glib(method)) + Some(from_glib(method.assume_init())) } else { None } @@ -84,9 +83,8 @@ impl> VideoOrientationExt for O { self.as_ref().to_glib_none().0, center.as_mut_ptr(), )); - let center = center.assume_init(); if ret { - Some(center) + Some(center.assume_init()) } else { None } @@ -100,9 +98,8 @@ impl> VideoOrientationExt for O { self.as_ref().to_glib_none().0, flip.as_mut_ptr(), )); - let flip = flip.assume_init(); if ret { - Some(from_glib(flip)) + Some(from_glib(flip.assume_init())) } else { None } @@ -116,9 +113,8 @@ impl> VideoOrientationExt for O { self.as_ref().to_glib_none().0, center.as_mut_ptr(), )); - let center = center.assume_init(); if ret { - Some(center) + Some(center.assume_init()) } else { None } @@ -132,9 +128,8 @@ impl> VideoOrientationExt for O { self.as_ref().to_glib_none().0, flip.as_mut_ptr(), )); - let flip = flip.assume_init(); if ret { - Some(from_glib(flip)) + Some(from_glib(flip.assume_init())) } else { None } diff --git a/gstreamer-video/sys/build.rs b/gstreamer-video/sys/build.rs index c8f5678b2..209ad78ec 100644 --- a/gstreamer-video/sys/build.rs +++ b/gstreamer-video/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-video/sys/src/lib.rs b/gstreamer-video/sys/src/lib.rs index 00fae48ef..2144082fe 100644 --- a/gstreamer-video/sys/src/lib.rs +++ b/gstreamer-video/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-video/sys/tests/abi.rs b/gstreamer-video/sys/tests/abi.rs index 82359289e..d251b2164 100644 --- a/gstreamer-video/sys/tests/abi.rs +++ b/gstreamer-video/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-video/sys/tests/constant.c b/gstreamer-video/sys/tests/constant.c index affe4c658..50050078c 100644 --- a/gstreamer-video/sys/tests/constant.c +++ b/gstreamer-video/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-video/sys/tests/layout.c b/gstreamer-video/sys/tests/layout.c index 78aeda2e8..565230d5b 100644 --- a/gstreamer-video/sys/tests/layout.c +++ b/gstreamer-video/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-webrtc/src/auto/versions.txt b/gstreamer-webrtc/src/auto/versions.txt index d36e48def..121b1a165 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 @ 6fbc68a47551) +Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) diff --git a/gstreamer-webrtc/sys/build.rs b/gstreamer-webrtc/sys/build.rs index c8f5678b2..209ad78ec 100644 --- a/gstreamer-webrtc/sys/build.rs +++ b/gstreamer-webrtc/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-webrtc/sys/src/lib.rs b/gstreamer-webrtc/sys/src/lib.rs index b06892d94..bf3245aaf 100644 --- a/gstreamer-webrtc/sys/src/lib.rs +++ b/gstreamer-webrtc/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-webrtc/sys/tests/abi.rs b/gstreamer-webrtc/sys/tests/abi.rs index 36a451b3b..60be422fc 100644 --- a/gstreamer-webrtc/sys/tests/abi.rs +++ b/gstreamer-webrtc/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-webrtc/sys/tests/constant.c b/gstreamer-webrtc/sys/tests/constant.c index efa76922c..acfb07729 100644 --- a/gstreamer-webrtc/sys/tests/constant.c +++ b/gstreamer-webrtc/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer-webrtc/sys/tests/layout.c b/gstreamer-webrtc/sys/tests/layout.c index 2c8d775c9..7f64d0797 100644 --- a/gstreamer-webrtc/sys/tests/layout.c +++ b/gstreamer-webrtc/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer/src/auto/clock.rs b/gstreamer/src/auto/clock.rs index b414a44cc..942c1ad39 100644 --- a/gstreamer/src/auto/clock.rs +++ b/gstreamer/src/auto/clock.rs @@ -195,9 +195,8 @@ impl> ClockExt for O { master.into_glib(), r_squared.as_mut_ptr(), )); - let r_squared = r_squared.assume_init(); if ret { - Some(r_squared) + Some(r_squared.assume_init()) } else { None } @@ -225,18 +224,13 @@ impl> ClockExt for O { rate_num.as_mut_ptr(), rate_denom.as_mut_ptr(), )); - let r_squared = r_squared.assume_init(); - let internal = internal.assume_init(); - let external = external.assume_init(); - let rate_num = rate_num.assume_init(); - let rate_denom = rate_denom.assume_init(); if ret { Some(( - r_squared, - try_from_glib(internal).expect("mandatory glib value is None"), - try_from_glib(external).expect("mandatory glib value is None"), - try_from_glib(rate_num).expect("mandatory glib value is None"), - try_from_glib(rate_denom).expect("mandatory glib value is None"), + r_squared.assume_init(), + try_from_glib(internal.assume_init()).expect("mandatory glib value is None"), + try_from_glib(external.assume_init()).expect("mandatory glib value is None"), + try_from_glib(rate_num.assume_init()).expect("mandatory glib value is None"), + try_from_glib(rate_denom.assume_init()).expect("mandatory glib value is None"), )) } else { None @@ -266,15 +260,11 @@ impl> ClockExt for O { rate_num.as_mut_ptr(), rate_denom.as_mut_ptr(), ); - let internal = internal.assume_init(); - let external = external.assume_init(); - let rate_num = rate_num.assume_init(); - let rate_denom = rate_denom.assume_init(); ( - try_from_glib(internal).expect("mandatory glib value is None"), - try_from_glib(external).expect("mandatory glib value is None"), - try_from_glib(rate_num).expect("mandatory glib value is None"), - try_from_glib(rate_denom).expect("mandatory glib value is None"), + try_from_glib(internal.assume_init()).expect("mandatory glib value is None"), + try_from_glib(external.assume_init()).expect("mandatory glib value is None"), + try_from_glib(rate_num.assume_init()).expect("mandatory glib value is None"), + try_from_glib(rate_denom.assume_init()).expect("mandatory glib value is None"), ) } } diff --git a/gstreamer/src/auto/control_source.rs b/gstreamer/src/auto/control_source.rs index fd79b705d..d6057c823 100644 --- a/gstreamer/src/auto/control_source.rs +++ b/gstreamer/src/auto/control_source.rs @@ -40,9 +40,8 @@ impl> ControlSourceExt for O { timestamp.into_glib(), value.as_mut_ptr(), )); - let value = value.assume_init(); if ret { - Some(value) + Some(value.assume_init()) } else { None } diff --git a/gstreamer/src/auto/element.rs b/gstreamer/src/auto/element.rs index 7d4766621..e517a3ae1 100644 --- a/gstreamer/src/auto/element.rs +++ b/gstreamer/src/auto/element.rs @@ -450,9 +450,11 @@ impl> ElementExt for O { pending.as_mut_ptr(), timeout.into().into_glib(), )); - let state = state.assume_init(); - let pending = pending.assume_init(); - (ret, from_glib(state), from_glib(pending)) + ( + ret, + from_glib(state.assume_init()), + from_glib(pending.assume_init()), + ) } } diff --git a/gstreamer/src/auto/functions.rs b/gstreamer/src/auto/functions.rs index 61a3cfe5e..6d5fb3936 100644 --- a/gstreamer/src/auto/functions.rs +++ b/gstreamer/src/auto/functions.rs @@ -249,11 +249,12 @@ pub fn version() -> (u32, u32, u32, u32) { micro.as_mut_ptr(), nano.as_mut_ptr(), ); - let major = major.assume_init(); - let minor = minor.assume_init(); - let micro = micro.assume_init(); - let nano = nano.assume_init(); - (major, minor, micro, nano) + ( + major.assume_init(), + minor.assume_init(), + micro.assume_init(), + nano.assume_init(), + ) } } diff --git a/gstreamer/src/auto/versions.txt b/gstreamer/src/auto/versions.txt index d36e48def..121b1a165 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 @ 6fbc68a47551) +Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) diff --git a/gstreamer/sys/build.rs b/gstreamer/sys/build.rs index c8f5678b2..209ad78ec 100644 --- a/gstreamer/sys/build.rs +++ b/gstreamer/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer/sys/src/lib.rs b/gstreamer/sys/src/lib.rs index 95be1900c..86fcadd55 100644 --- a/gstreamer/sys/src/lib.rs +++ b/gstreamer/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer/sys/tests/abi.rs b/gstreamer/sys/tests/abi.rs index ea594d2c5..7478093e8 100644 --- a/gstreamer/sys/tests/abi.rs +++ b/gstreamer/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer/sys/tests/constant.c b/gstreamer/sys/tests/constant.c index 496691a2f..0a528fb62 100644 --- a/gstreamer/sys/tests/constant.c +++ b/gstreamer/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT diff --git a/gstreamer/sys/tests/layout.c b/gstreamer/sys/tests/layout.c index e8c6b707c..bdae1eb4e 100644 --- a/gstreamer/sys/tests/layout.c +++ b/gstreamer/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 6fbc68a47551) +// Generated by gir (https://github.com/gtk-rs/gir @ c063b4567de5) // from gir-files (https://github.com/gtk-rs/gir-files @ 7ebd4478b4a5) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8800300f1307) // DO NOT EDIT