From e2a9f83f5ba76f49266255789777a5483c6eaccc Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Sun, 23 May 2021 21:22:45 +0200 Subject: [PATCH] gir: Update and regenerate with `impl Trait` instead of named types https://github.com/gtk-rs/gir/pull/1153 --- gir | 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/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/aggregator.rs | 4 +- gstreamer-base/src/auto/functions.rs | 13 +-- 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 +- .../src/auto/argb_control_binding.rs | 18 ++-- .../src/auto/direct_control_binding.rs | 12 +-- .../src/auto/proxy_control_binding.rs | 6 +- 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 +- gstreamer-editing-services/src/auto/asset.rs | 25 ++--- gstreamer-editing-services/src/auto/clip.rs | 101 +++++++++--------- .../src/auto/container.rs | 8 +- .../src/auto/extractable.rs | 4 +- gstreamer-editing-services/src/auto/layer.rs | 36 +++---- .../src/auto/pipeline.rs | 20 ++-- .../src/auto/project.rs | 32 +++--- .../src/auto/timeline.rs | 48 ++++----- .../src/auto/timeline_element.rs | 16 ++- gstreamer-editing-services/src/auto/track.rs | 26 +++-- .../src/auto/track_element.rs | 16 +-- .../src/auto/uri_clip_asset.rs | 2 +- .../src/auto/versions.txt | 2 +- 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/gl_display_egl.rs | 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 | 6 +- gstreamer-gl/src/auto/gl_allocation_params.rs | 2 +- gstreamer-gl/src/auto/gl_color_convert.rs | 6 +- gstreamer-gl/src/auto/gl_context.rs | 18 ++-- gstreamer-gl/src/auto/gl_display.rs | 22 ++-- gstreamer-gl/src/auto/gl_framebuffer.rs | 6 +- gstreamer-gl/src/auto/gl_memory_allocator.rs | 2 +- .../src/auto/gl_overlay_compositor.rs | 2 +- gstreamer-gl/src/auto/gl_shader.rs | 20 ++-- gstreamer-gl/src/auto/gl_upload.rs | 8 +- .../src/auto/gl_video_allocation_params.rs | 12 +-- gstreamer-gl/src/auto/gl_view_convert.rs | 2 +- gstreamer-gl/src/auto/gl_window.rs | 2 +- gstreamer-gl/src/auto/glsl_stage.rs | 14 +-- 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 +- .../src/auto/encoding_container_profile.rs | 2 +- .../src/auto/encoding_profile.rs | 4 +- gstreamer-pbutils/src/auto/encoding_target.rs | 6 +- 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 +- 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_auth.rs | 12 +-- gstreamer-rtsp-server/src/auto/rtsp_client.rs | 20 ++-- gstreamer-rtsp-server/src/auto/rtsp_media.rs | 22 ++-- .../src/auto/rtsp_media_factory.rs | 8 +- .../src/auto/rtsp_mount_points.rs | 4 +- gstreamer-rtsp-server/src/auto/rtsp_server.rs | 46 ++++---- .../src/auto/rtsp_session.rs | 12 +-- .../src/auto/rtsp_session_media.rs | 6 +- .../src/auto/rtsp_session_pool.rs | 4 +- gstreamer-rtsp-server/src/auto/rtsp_stream.rs | 58 +++++----- .../src/auto/rtsp_stream_transport.rs | 2 +- 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/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/allocator.rs | 2 +- gstreamer/src/auto/bin.rs | 8 +- gstreamer/src/auto/child_proxy.rs | 8 +- gstreamer/src/auto/clock.rs | 6 +- gstreamer/src/auto/control_binding.rs | 8 +- gstreamer/src/auto/device.rs | 8 +- gstreamer/src/auto/device_provider.rs | 12 +-- gstreamer/src/auto/element.rs | 64 +++++------ gstreamer/src/auto/functions.rs | 14 +-- gstreamer/src/auto/ghost_pad.rs | 4 +- gstreamer/src/auto/object.rs | 32 +++--- gstreamer/src/auto/pad.rs | 52 ++++----- gstreamer/src/auto/pad_template.rs | 2 +- gstreamer/src/auto/pipeline.rs | 4 +- gstreamer/src/auto/plugin.rs | 2 +- gstreamer/src/auto/preset.rs | 4 +- gstreamer/src/auto/proxy_pad.rs | 2 +- gstreamer/src/auto/registry.rs | 8 +- gstreamer/src/auto/system_clock.rs | 2 +- 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 +- 196 files changed, 597 insertions(+), 624 deletions(-) diff --git a/gir b/gir index f64f90a1d..ede0c31f5 160000 --- a/gir +++ b/gir @@ -1 +1 @@ -Subproject commit f64f90a1d328afd96c6a2a41a8e061d0c0c202c3 +Subproject commit ede0c31f5a5d978fb04fdf1462748f34a0e26bd2 diff --git a/gstreamer-app/src/auto/versions.txt b/gstreamer-app/src/auto/versions.txt index 1b3795c83..4a7c11860 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 @ f64f90a) +Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) diff --git a/gstreamer-app/sys/build.rs b/gstreamer-app/sys/build.rs index 65da173c5..4aee5f36a 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-app/sys/src/lib.rs b/gstreamer-app/sys/src/lib.rs index 2b3436d8e..e2ca7e168 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-app/sys/tests/abi.rs b/gstreamer-app/sys/tests/abi.rs index 4f23167bd..1fd677ff9 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-app/sys/tests/constant.c b/gstreamer-app/sys/tests/constant.c index ca3e0a6ff..147fc2b86 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-app/sys/tests/layout.c b/gstreamer-app/sys/tests/layout.c index c62a006d5..7fa1328bf 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-audio/src/auto/versions.txt b/gstreamer-audio/src/auto/versions.txt index 1b3795c83..4a7c11860 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 @ f64f90a) +Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) diff --git a/gstreamer-audio/sys/build.rs b/gstreamer-audio/sys/build.rs index 65da173c5..4aee5f36a 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-audio/sys/src/lib.rs b/gstreamer-audio/sys/src/lib.rs index f931e06f3..5d5177ddf 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-audio/sys/tests/abi.rs b/gstreamer-audio/sys/tests/abi.rs index 8f5329b8f..72c6052a5 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-audio/sys/tests/constant.c b/gstreamer-audio/sys/tests/constant.c index 4b8cab00f..895766e36 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-audio/sys/tests/layout.c b/gstreamer-audio/sys/tests/layout.c index ef1280811..53f57108e 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-base/src/auto/aggregator.rs b/gstreamer-base/src/auto/aggregator.rs index 9a4123a18..52fabbce1 100644 --- a/gstreamer-base/src/auto/aggregator.rs +++ b/gstreamer-base/src/auto/aggregator.rs @@ -50,7 +50,7 @@ pub trait AggregatorExt: 'static { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "gst_aggregator_peek_next_sample")] - fn peek_next_sample>(&self, pad: &P) -> Option; + fn peek_next_sample(&self, pad: &impl IsA) -> Option; #[doc(alias = "gst_aggregator_set_latency")] fn set_latency( @@ -151,7 +151,7 @@ impl> AggregatorExt for O { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn peek_next_sample>(&self, pad: &P) -> Option { + fn peek_next_sample(&self, pad: &impl IsA) -> Option { unsafe { from_glib_full(ffi::gst_aggregator_peek_next_sample( self.as_ref().to_glib_none().0, diff --git a/gstreamer-base/src/auto/functions.rs b/gstreamer-base/src/auto/functions.rs index c7277eed5..2330fc77d 100644 --- a/gstreamer-base/src/auto/functions.rs +++ b/gstreamer-base/src/auto/functions.rs @@ -7,10 +7,7 @@ use glib::object::IsA; use glib::translate::*; #[doc(alias = "gst_type_find_helper")] -pub fn type_find_helper>( - src: &P, - size: u64, -) -> Result { +pub fn type_find_helper(src: &impl IsA, size: u64) -> Result { assert_initialized_main_thread!(); unsafe { Option::<_>::from_glib_full(ffi::gst_type_find_helper( @@ -22,8 +19,8 @@ pub fn type_find_helper>( } #[doc(alias = "gst_type_find_helper_for_extension")] -pub fn type_find_helper_for_extension>( - obj: Option<&P>, +pub fn type_find_helper_for_extension( + obj: Option<&impl IsA>, extension: &str, ) -> Result { assert_initialized_main_thread!(); @@ -37,13 +34,13 @@ pub fn type_find_helper_for_extension>( } //#[doc(alias = "gst_type_find_helper_get_range")] -//pub fn type_find_helper_get_range, Q: IsA, R: FnMut(&gst::Object, Option<&gst::Object>, u64, u32, &gst::Buffer) -> Result>(obj: &P, parent: Option<&Q>, func: R, size: u64, extension: Option<&str>) -> (Option, gst::TypeFindProbability) { +//pub fn type_find_helper_get_range, u64, u32, &gst::Buffer) -> Result>(obj: &impl IsA, parent: Option<&impl IsA>, func: P, size: u64, extension: Option<&str>) -> (Option, gst::TypeFindProbability) { // unsafe { TODO: call ffi:gst_type_find_helper_get_range() } //} //#[cfg(any(feature = "v1_14_3", feature = "dox"))] //#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_14_3")))] //#[doc(alias = "gst_type_find_helper_get_range_full")] -//pub fn type_find_helper_get_range_full, Q: IsA, R: FnMut(&gst::Object, Option<&gst::Object>, u64, u32, &gst::Buffer) -> Result>(obj: &P, parent: Option<&Q>, func: R, size: u64, extension: Option<&str>) -> (Result, gst::Caps, gst::TypeFindProbability) { +//pub fn type_find_helper_get_range_full, u64, u32, &gst::Buffer) -> Result>(obj: &impl IsA, parent: Option<&impl IsA>, func: P, size: u64, extension: Option<&str>) -> (Result, gst::Caps, gst::TypeFindProbability) { // unsafe { TODO: call ffi:gst_type_find_helper_get_range_full() } //} diff --git a/gstreamer-base/src/auto/versions.txt b/gstreamer-base/src/auto/versions.txt index 1b3795c83..4a7c11860 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 @ f64f90a) +Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) diff --git a/gstreamer-base/sys/build.rs b/gstreamer-base/sys/build.rs index 65da173c5..4aee5f36a 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-base/sys/src/lib.rs b/gstreamer-base/sys/src/lib.rs index 8cc7f077a..25c56d918 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-base/sys/tests/abi.rs b/gstreamer-base/sys/tests/abi.rs index f05cfbcae..040648d66 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-base/sys/tests/constant.c b/gstreamer-base/sys/tests/constant.c index c169c02d9..fc5f52517 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-base/sys/tests/layout.c b/gstreamer-base/sys/tests/layout.c index 9652ee8ba..32f348a38 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-check/src/auto/versions.txt b/gstreamer-check/src/auto/versions.txt index 1b3795c83..4a7c11860 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 @ f64f90a) +Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) diff --git a/gstreamer-check/sys/build.rs b/gstreamer-check/sys/build.rs index 65da173c5..4aee5f36a 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-check/sys/src/lib.rs b/gstreamer-check/sys/src/lib.rs index 1d8c60dde..44259b527 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-check/sys/tests/abi.rs b/gstreamer-check/sys/tests/abi.rs index 9c0953540..0906c03e6 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-check/sys/tests/constant.c b/gstreamer-check/sys/tests/constant.c index 26d014bae..9a1c35f8d 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-check/sys/tests/layout.c b/gstreamer-check/sys/tests/layout.c index fa8174b52..7e61497d7 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-controller/src/auto/argb_control_binding.rs b/gstreamer-controller/src/auto/argb_control_binding.rs index d80e88397..f709d4ed0 100644 --- a/gstreamer-controller/src/auto/argb_control_binding.rs +++ b/gstreamer-controller/src/auto/argb_control_binding.rs @@ -24,19 +24,13 @@ glib::wrapper! { impl ARGBControlBinding { #[doc(alias = "gst_argb_control_binding_new")] - pub fn new< - P: IsA, - Q: IsA, - R: IsA, - S: IsA, - T: IsA, - >( - object: &P, + pub fn new( + object: &impl IsA, property_name: &str, - cs_a: &Q, - cs_r: &R, - cs_g: &S, - cs_b: &T, + cs_a: &impl IsA, + cs_r: &impl IsA, + cs_g: &impl IsA, + cs_b: &impl IsA, ) -> ARGBControlBinding { assert_initialized_main_thread!(); unsafe { diff --git a/gstreamer-controller/src/auto/direct_control_binding.rs b/gstreamer-controller/src/auto/direct_control_binding.rs index 54be650cd..7ee3dc37d 100644 --- a/gstreamer-controller/src/auto/direct_control_binding.rs +++ b/gstreamer-controller/src/auto/direct_control_binding.rs @@ -24,10 +24,10 @@ glib::wrapper! { impl DirectControlBinding { #[doc(alias = "gst_direct_control_binding_new")] - pub fn new, Q: IsA>( - object: &P, + pub fn new( + object: &impl IsA, property_name: &str, - cs: &Q, + cs: &impl IsA, ) -> DirectControlBinding { assert_initialized_main_thread!(); unsafe { @@ -41,10 +41,10 @@ impl DirectControlBinding { } #[doc(alias = "gst_direct_control_binding_new_absolute")] - pub fn new_absolute, Q: IsA>( - object: &P, + pub fn new_absolute( + object: &impl IsA, property_name: &str, - cs: &Q, + cs: &impl IsA, ) -> DirectControlBinding { assert_initialized_main_thread!(); unsafe { diff --git a/gstreamer-controller/src/auto/proxy_control_binding.rs b/gstreamer-controller/src/auto/proxy_control_binding.rs index ebf78a3e2..cefac8cb7 100644 --- a/gstreamer-controller/src/auto/proxy_control_binding.rs +++ b/gstreamer-controller/src/auto/proxy_control_binding.rs @@ -18,10 +18,10 @@ glib::wrapper! { impl ProxyControlBinding { #[doc(alias = "gst_proxy_control_binding_new")] - pub fn new, Q: IsA>( - object: &P, + pub fn new( + object: &impl IsA, property_name: &str, - ref_object: &Q, + ref_object: &impl IsA, ref_property_name: &str, ) -> ProxyControlBinding { assert_initialized_main_thread!(); diff --git a/gstreamer-controller/src/auto/versions.txt b/gstreamer-controller/src/auto/versions.txt index 1b3795c83..4a7c11860 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 @ f64f90a) +Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) diff --git a/gstreamer-controller/sys/build.rs b/gstreamer-controller/sys/build.rs index 65da173c5..4aee5f36a 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-controller/sys/src/lib.rs b/gstreamer-controller/sys/src/lib.rs index 49ece0b72..03eeccb8e 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-controller/sys/tests/abi.rs b/gstreamer-controller/sys/tests/abi.rs index 31d2d1048..c8b5750c1 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-controller/sys/tests/constant.c b/gstreamer-controller/sys/tests/constant.c index c44b36805..f2b49b519 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-controller/sys/tests/layout.c b/gstreamer-controller/sys/tests/layout.c index bf14a7312..1abd2b5b7 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-editing-services/src/auto/asset.rs b/gstreamer-editing-services/src/auto/asset.rs index da25a62e4..bf070e733 100644 --- a/gstreamer-editing-services/src/auto/asset.rs +++ b/gstreamer-editing-services/src/auto/asset.rs @@ -57,19 +57,16 @@ impl Asset { } #[doc(alias = "ges_asset_request_async")] - pub fn request_async< - P: IsA, - Q: FnOnce(Result) + Send + 'static, - >( + pub fn request_async) + Send + 'static>( extractable_type: glib::types::Type, id: Option<&str>, - cancellable: Option<&P>, - callback: Q, + cancellable: Option<&impl IsA>, + callback: P, ) { assert_initialized_main_thread!(); - let user_data: Box_ = Box_::new(callback); + let user_data: Box_

= Box_::new(callback); unsafe extern "C" fn request_async_trampoline< - Q: FnOnce(Result) + Send + 'static, + P: FnOnce(Result) + Send + 'static, >( _source_object: *mut glib::gobject_ffi::GObject, res: *mut gio::ffi::GAsyncResult, @@ -82,10 +79,10 @@ impl Asset { } else { Err(from_glib_full(error)) }; - let callback: Box_ = Box_::from_raw(user_data as *mut _); + let callback: Box_

= Box_::from_raw(user_data as *mut _); callback(result); } - let callback = request_async_trampoline::; + let callback = request_async_trampoline::

; unsafe { ffi::ges_asset_request_async( extractable_type.into_glib(), @@ -146,10 +143,10 @@ pub trait AssetExt: 'static { fn list_proxies(&self) -> Vec; #[doc(alias = "ges_asset_set_proxy")] - fn set_proxy>(&self, proxy: Option<&P>) -> Result<(), glib::error::BoolError>; + fn set_proxy(&self, proxy: Option<&impl IsA>) -> Result<(), glib::error::BoolError>; #[doc(alias = "ges_asset_unproxy")] - fn unproxy>(&self, proxy: &P) -> Result<(), glib::error::BoolError>; + fn unproxy(&self, proxy: &impl IsA) -> Result<(), glib::error::BoolError>; #[doc(alias = "proxy")] fn connect_proxy_notify(&self, f: F) -> SignalHandlerId; @@ -207,7 +204,7 @@ impl> AssetExt for O { } } - fn set_proxy>(&self, proxy: Option<&P>) -> Result<(), glib::error::BoolError> { + fn set_proxy(&self, proxy: Option<&impl IsA>) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::ges_asset_set_proxy( @@ -219,7 +216,7 @@ impl> AssetExt for O { } } - fn unproxy>(&self, proxy: &P) -> Result<(), glib::error::BoolError> { + fn unproxy(&self, proxy: &impl IsA) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::ges_asset_unproxy( diff --git a/gstreamer-editing-services/src/auto/clip.rs b/gstreamer-editing-services/src/auto/clip.rs index 9ec4ba161..a05dccdde 100644 --- a/gstreamer-editing-services/src/auto/clip.rs +++ b/gstreamer-editing-services/src/auto/clip.rs @@ -39,34 +39,33 @@ pub const NONE_CLIP: Option<&Clip> = None; pub trait ClipExt: 'static { #[doc(alias = "ges_clip_add_asset")] - fn add_asset>(&self, asset: &P) -> Result; + fn add_asset(&self, asset: &impl IsA) -> Result; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "ges_clip_add_child_to_track")] - fn add_child_to_track, Q: IsA>( + fn add_child_to_track( &self, - child: &P, - track: &Q, + child: &impl IsA, + track: &impl IsA, ) -> Result; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "ges_clip_add_top_effect")] - fn add_top_effect>(&self, effect: &P, index: i32) - -> Result<(), glib::Error>; + fn add_top_effect(&self, effect: &impl IsA, index: i32) -> Result<(), glib::Error>; #[doc(alias = "ges_clip_find_track_element")] - fn find_track_element>( + fn find_track_element( &self, - track: Option<&P>, + track: Option<&impl IsA>, type_: glib::types::Type, ) -> Option; #[doc(alias = "ges_clip_find_track_elements")] - fn find_track_elements>( + fn find_track_elements( &self, - track: Option<&P>, + track: Option<&impl IsA>, track_type: TrackType, type_: glib::types::Type, ) -> Vec; @@ -81,9 +80,9 @@ pub trait ClipExt: 'static { #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "ges_clip_get_internal_time_from_timeline_time")] #[doc(alias = "get_internal_time_from_timeline_time")] - fn internal_time_from_timeline_time>( + fn internal_time_from_timeline_time( &self, - child: &P, + child: &impl IsA, timeline_time: impl Into>, ) -> Result, glib::Error>; @@ -99,9 +98,9 @@ pub trait ClipExt: 'static { #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "ges_clip_get_timeline_time_from_internal_time")] #[doc(alias = "get_timeline_time_from_internal_time")] - fn timeline_time_from_internal_time>( + fn timeline_time_from_internal_time( &self, - child: &P, + child: &impl IsA, internal_time: impl Into>, ) -> Result, glib::Error>; @@ -116,52 +115,52 @@ pub trait ClipExt: 'static { #[doc(alias = "ges_clip_get_top_effect_index")] #[doc(alias = "get_top_effect_index")] - fn top_effect_index>(&self, effect: &P) -> i32; + fn top_effect_index(&self, effect: &impl IsA) -> i32; #[doc(alias = "ges_clip_get_top_effect_position")] #[doc(alias = "get_top_effect_position")] - fn top_effect_position>(&self, effect: &P) -> i32; + fn top_effect_position(&self, effect: &impl IsA) -> i32; #[doc(alias = "ges_clip_get_top_effects")] #[doc(alias = "get_top_effects")] fn top_effects(&self) -> Vec; #[doc(alias = "ges_clip_move_to_layer")] - fn move_to_layer>(&self, layer: &P) -> Result<(), glib::error::BoolError>; + fn move_to_layer(&self, layer: &impl IsA) -> Result<(), glib::error::BoolError>; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "ges_clip_move_to_layer_full")] - fn move_to_layer_full>(&self, layer: &P) -> Result<(), glib::Error>; + fn move_to_layer_full(&self, layer: &impl IsA) -> Result<(), glib::Error>; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "ges_clip_remove_top_effect")] - fn remove_top_effect>(&self, effect: &P) -> Result<(), glib::Error>; + fn remove_top_effect(&self, effect: &impl IsA) -> Result<(), glib::Error>; #[doc(alias = "ges_clip_set_supported_formats")] fn set_supported_formats(&self, supportedformats: TrackType); #[doc(alias = "ges_clip_set_top_effect_index")] - fn set_top_effect_index>( + fn set_top_effect_index( &self, - effect: &P, + effect: &impl IsA, newindex: u32, ) -> Result<(), glib::error::BoolError>; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "ges_clip_set_top_effect_index_full")] - fn set_top_effect_index_full>( + fn set_top_effect_index_full( &self, - effect: &P, + effect: &impl IsA, newindex: u32, ) -> Result<(), glib::Error>; #[doc(alias = "ges_clip_set_top_effect_priority")] - fn set_top_effect_priority>( + fn set_top_effect_priority( &self, - effect: &P, + effect: &impl IsA, newpriority: u32, ) -> Result<(), glib::error::BoolError>; @@ -186,7 +185,7 @@ pub trait ClipExt: 'static { } impl> ClipExt for O { - fn add_asset>(&self, asset: &P) -> Result { + fn add_asset(&self, asset: &impl IsA) -> Result { unsafe { Option::<_>::from_glib_none(ffi::ges_clip_add_asset( self.as_ref().to_glib_none().0, @@ -198,10 +197,10 @@ impl> ClipExt for O { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn add_child_to_track, Q: IsA>( + fn add_child_to_track( &self, - child: &P, - track: &Q, + child: &impl IsA, + track: &impl IsA, ) -> Result { unsafe { let mut error = ptr::null_mut(); @@ -221,11 +220,7 @@ impl> ClipExt for O { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn add_top_effect>( - &self, - effect: &P, - index: i32, - ) -> Result<(), glib::Error> { + fn add_top_effect(&self, effect: &impl IsA, index: i32) -> Result<(), glib::Error> { unsafe { let mut error = ptr::null_mut(); let _ = ffi::ges_clip_add_top_effect( @@ -242,9 +237,9 @@ impl> ClipExt for O { } } - fn find_track_element>( + fn find_track_element( &self, - track: Option<&P>, + track: Option<&impl IsA>, type_: glib::types::Type, ) -> Option { unsafe { @@ -256,9 +251,9 @@ impl> ClipExt for O { } } - fn find_track_elements>( + fn find_track_elements( &self, - track: Option<&P>, + track: Option<&impl IsA>, track_type: TrackType, type_: glib::types::Type, ) -> Vec { @@ -285,9 +280,9 @@ impl> ClipExt for O { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn internal_time_from_timeline_time>( + fn internal_time_from_timeline_time( &self, - child: &P, + child: &impl IsA, timeline_time: impl Into>, ) -> Result, glib::Error> { unsafe { @@ -320,9 +315,9 @@ impl> ClipExt for O { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn timeline_time_from_internal_time>( + fn timeline_time_from_internal_time( &self, - child: &P, + child: &impl IsA, internal_time: impl Into>, ) -> Result, glib::Error> { unsafe { @@ -362,7 +357,7 @@ impl> ClipExt for O { } } - fn top_effect_index>(&self, effect: &P) -> i32 { + fn top_effect_index(&self, effect: &impl IsA) -> i32 { unsafe { ffi::ges_clip_get_top_effect_index( self.as_ref().to_glib_none().0, @@ -371,7 +366,7 @@ impl> ClipExt for O { } } - fn top_effect_position>(&self, effect: &P) -> i32 { + fn top_effect_position(&self, effect: &impl IsA) -> i32 { unsafe { ffi::ges_clip_get_top_effect_position( self.as_ref().to_glib_none().0, @@ -388,7 +383,7 @@ impl> ClipExt for O { } } - fn move_to_layer>(&self, layer: &P) -> Result<(), glib::error::BoolError> { + fn move_to_layer(&self, layer: &impl IsA) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::ges_clip_move_to_layer( @@ -402,7 +397,7 @@ impl> ClipExt for O { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn move_to_layer_full>(&self, layer: &P) -> Result<(), glib::Error> { + fn move_to_layer_full(&self, layer: &impl IsA) -> Result<(), glib::Error> { unsafe { let mut error = ptr::null_mut(); let _ = ffi::ges_clip_move_to_layer_full( @@ -420,7 +415,7 @@ impl> ClipExt for O { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn remove_top_effect>(&self, effect: &P) -> Result<(), glib::Error> { + fn remove_top_effect(&self, effect: &impl IsA) -> Result<(), glib::Error> { unsafe { let mut error = ptr::null_mut(); let _ = ffi::ges_clip_remove_top_effect( @@ -445,9 +440,9 @@ impl> ClipExt for O { } } - fn set_top_effect_index>( + fn set_top_effect_index( &self, - effect: &P, + effect: &impl IsA, newindex: u32, ) -> Result<(), glib::error::BoolError> { unsafe { @@ -464,9 +459,9 @@ impl> ClipExt for O { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn set_top_effect_index_full>( + fn set_top_effect_index_full( &self, - effect: &P, + effect: &impl IsA, newindex: u32, ) -> Result<(), glib::Error> { unsafe { @@ -485,9 +480,9 @@ impl> ClipExt for O { } } - fn set_top_effect_priority>( + fn set_top_effect_priority( &self, - effect: &P, + effect: &impl IsA, newpriority: u32, ) -> Result<(), glib::error::BoolError> { unsafe { diff --git a/gstreamer-editing-services/src/auto/container.rs b/gstreamer-editing-services/src/auto/container.rs index 2e8cc6029..8008e4374 100644 --- a/gstreamer-editing-services/src/auto/container.rs +++ b/gstreamer-editing-services/src/auto/container.rs @@ -38,7 +38,7 @@ pub const NONE_CONTAINER: Option<&Container> = None; pub trait GESContainerExt: 'static { #[doc(alias = "ges_container_add")] - fn add>(&self, child: &P) -> Result<(), glib::error::BoolError>; + fn add(&self, child: &impl IsA) -> Result<(), glib::error::BoolError>; #[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")] #[doc(alias = "ges_container_edit")] @@ -56,7 +56,7 @@ pub trait GESContainerExt: 'static { fn children(&self, recursive: bool) -> Vec; #[doc(alias = "ges_container_remove")] - fn remove>(&self, child: &P) -> Result<(), glib::error::BoolError>; + fn remove(&self, child: &impl IsA) -> Result<(), glib::error::BoolError>; #[doc(alias = "ges_container_ungroup")] fn ungroup(&self, recursive: bool) -> Vec; @@ -80,7 +80,7 @@ pub trait GESContainerExt: 'static { } impl> GESContainerExt for O { - fn add>(&self, child: &P) -> Result<(), glib::error::BoolError> { + fn add(&self, child: &impl IsA) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::ges_container_add( @@ -124,7 +124,7 @@ impl> GESContainerExt for O { } } - fn remove>(&self, child: &P) -> Result<(), glib::error::BoolError> { + fn remove(&self, child: &impl IsA) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::ges_container_remove( diff --git a/gstreamer-editing-services/src/auto/extractable.rs b/gstreamer-editing-services/src/auto/extractable.rs index 6f4f9b24c..d5380e0aa 100644 --- a/gstreamer-editing-services/src/auto/extractable.rs +++ b/gstreamer-editing-services/src/auto/extractable.rs @@ -28,7 +28,7 @@ pub trait ExtractableExt: 'static { fn id(&self) -> Option; #[doc(alias = "ges_extractable_set_asset")] - fn set_asset>(&self, asset: &P) -> Result<(), glib::error::BoolError>; + fn set_asset(&self, asset: &impl IsA) -> Result<(), glib::error::BoolError>; } impl> ExtractableExt for O { @@ -44,7 +44,7 @@ impl> ExtractableExt for O { unsafe { from_glib_full(ffi::ges_extractable_get_id(self.as_ref().to_glib_none().0)) } } - fn set_asset>(&self, asset: &P) -> Result<(), glib::error::BoolError> { + fn set_asset(&self, asset: &impl IsA) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::ges_extractable_set_asset( diff --git a/gstreamer-editing-services/src/auto/layer.rs b/gstreamer-editing-services/src/auto/layer.rs index fdd58e1c8..fdcbbdf6c 100644 --- a/gstreamer-editing-services/src/auto/layer.rs +++ b/gstreamer-editing-services/src/auto/layer.rs @@ -49,9 +49,9 @@ pub const NONE_LAYER: Option<&Layer> = None; pub trait LayerExt: 'static { #[doc(alias = "ges_layer_add_asset")] - fn add_asset>( + fn add_asset( &self, - asset: &P, + asset: &impl IsA, start: impl Into>, inpoint: impl Into>, duration: impl Into>, @@ -61,9 +61,9 @@ pub trait LayerExt: 'static { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "ges_layer_add_asset_full")] - fn add_asset_full>( + fn add_asset_full( &self, - asset: &P, + asset: &impl IsA, start: impl Into>, inpoint: impl Into>, duration: impl Into>, @@ -71,18 +71,18 @@ pub trait LayerExt: 'static { ) -> Result; #[doc(alias = "ges_layer_add_clip")] - fn add_clip>(&self, clip: &P) -> Result<(), glib::error::BoolError>; + fn add_clip(&self, clip: &impl IsA) -> Result<(), glib::error::BoolError>; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "ges_layer_add_clip_full")] - fn add_clip_full>(&self, clip: &P) -> Result<(), glib::Error>; + fn add_clip_full(&self, clip: &impl IsA) -> Result<(), glib::Error>; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "ges_layer_get_active_for_track")] #[doc(alias = "get_active_for_track")] - fn is_active_for_track>(&self, track: &P) -> bool; + fn is_active_for_track(&self, track: &impl IsA) -> bool; #[doc(alias = "ges_layer_get_auto_transition")] #[doc(alias = "get_auto_transition")] @@ -116,7 +116,7 @@ pub trait LayerExt: 'static { fn is_empty(&self) -> bool; #[doc(alias = "ges_layer_remove_clip")] - fn remove_clip>(&self, clip: &P) -> Result<(), glib::error::BoolError>; + fn remove_clip(&self, clip: &impl IsA) -> Result<(), glib::error::BoolError>; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] @@ -131,7 +131,7 @@ pub trait LayerExt: 'static { fn set_priority(&self, priority: u32); #[doc(alias = "ges_layer_set_timeline")] - fn set_timeline>(&self, timeline: &P); + fn set_timeline(&self, timeline: &impl IsA); //#[cfg(any(feature = "v1_18", feature = "dox"))] //#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] @@ -153,9 +153,9 @@ pub trait LayerExt: 'static { } impl> LayerExt for O { - fn add_asset>( + fn add_asset( &self, - asset: &P, + asset: &impl IsA, start: impl Into>, inpoint: impl Into>, duration: impl Into>, @@ -176,9 +176,9 @@ impl> LayerExt for O { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn add_asset_full>( + fn add_asset_full( &self, - asset: &P, + asset: &impl IsA, start: impl Into>, inpoint: impl Into>, duration: impl Into>, @@ -203,7 +203,7 @@ impl> LayerExt for O { } } - fn add_clip>(&self, clip: &P) -> Result<(), glib::error::BoolError> { + fn add_clip(&self, clip: &impl IsA) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::ges_layer_add_clip( @@ -217,7 +217,7 @@ impl> LayerExt for O { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn add_clip_full>(&self, clip: &P) -> Result<(), glib::Error> { + fn add_clip_full(&self, clip: &impl IsA) -> Result<(), glib::Error> { unsafe { let mut error = ptr::null_mut(); let _ = ffi::ges_layer_add_clip_full( @@ -235,7 +235,7 @@ impl> LayerExt for O { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn is_active_for_track>(&self, track: &P) -> bool { + fn is_active_for_track(&self, track: &impl IsA) -> bool { unsafe { from_glib(ffi::ges_layer_get_active_for_track( self.as_ref().to_glib_none().0, @@ -293,7 +293,7 @@ impl> LayerExt for O { unsafe { from_glib(ffi::ges_layer_is_empty(self.as_ref().to_glib_none().0)) } } - fn remove_clip>(&self, clip: &P) -> Result<(), glib::error::BoolError> { + fn remove_clip(&self, clip: &impl IsA) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::ges_layer_remove_clip( @@ -332,7 +332,7 @@ impl> LayerExt for O { } } - fn set_timeline>(&self, timeline: &P) { + fn set_timeline(&self, timeline: &impl IsA) { unsafe { ffi::ges_layer_set_timeline( self.as_ref().to_glib_none().0, diff --git a/gstreamer-editing-services/src/auto/pipeline.rs b/gstreamer-editing-services/src/auto/pipeline.rs index f3f5a059e..34b20f9ac 100644 --- a/gstreamer-editing-services/src/auto/pipeline.rs +++ b/gstreamer-editing-services/src/auto/pipeline.rs @@ -61,10 +61,10 @@ pub trait GESPipelineExt: 'static { fn preview_get_video_sink(&self) -> Option; #[doc(alias = "ges_pipeline_preview_set_audio_sink")] - fn preview_set_audio_sink>(&self, sink: &P); + fn preview_set_audio_sink(&self, sink: &impl IsA); #[doc(alias = "ges_pipeline_preview_set_video_sink")] - fn preview_set_video_sink>(&self, sink: &P); + fn preview_set_video_sink(&self, sink: &impl IsA); #[doc(alias = "ges_pipeline_save_thumbnail")] fn save_thumbnail( @@ -79,14 +79,14 @@ pub trait GESPipelineExt: 'static { fn set_mode(&self, mode: PipelineFlags) -> Result<(), glib::error::BoolError>; #[doc(alias = "ges_pipeline_set_render_settings")] - fn set_render_settings>( + fn set_render_settings( &self, output_uri: &str, - profile: &P, + profile: &impl IsA, ) -> Result<(), glib::error::BoolError>; #[doc(alias = "ges_pipeline_set_timeline")] - fn set_timeline>(&self, timeline: &P) -> Result<(), glib::error::BoolError>; + fn set_timeline(&self, timeline: &impl IsA) -> Result<(), glib::error::BoolError>; #[doc(alias = "audio-filter")] fn audio_filter(&self) -> Option; @@ -173,7 +173,7 @@ impl> GESPipelineExt for O { } } - fn preview_set_audio_sink>(&self, sink: &P) { + fn preview_set_audio_sink(&self, sink: &impl IsA) { unsafe { ffi::ges_pipeline_preview_set_audio_sink( self.as_ref().to_glib_none().0, @@ -182,7 +182,7 @@ impl> GESPipelineExt for O { } } - fn preview_set_video_sink>(&self, sink: &P) { + fn preview_set_video_sink(&self, sink: &impl IsA) { unsafe { ffi::ges_pipeline_preview_set_video_sink( self.as_ref().to_glib_none().0, @@ -225,10 +225,10 @@ impl> GESPipelineExt for O { } } - fn set_render_settings>( + fn set_render_settings( &self, output_uri: &str, - profile: &P, + profile: &impl IsA, ) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( @@ -242,7 +242,7 @@ impl> GESPipelineExt for O { } } - fn set_timeline>(&self, timeline: &P) -> Result<(), glib::error::BoolError> { + fn set_timeline(&self, timeline: &impl IsA) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::ges_pipeline_set_timeline( diff --git a/gstreamer-editing-services/src/auto/project.rs b/gstreamer-editing-services/src/auto/project.rs index ffa8f1e40..3ee00658b 100644 --- a/gstreamer-editing-services/src/auto/project.rs +++ b/gstreamer-editing-services/src/auto/project.rs @@ -35,12 +35,12 @@ pub const NONE_PROJECT: Option<&Project> = None; pub trait ProjectExt: 'static { #[doc(alias = "ges_project_add_asset")] - fn add_asset>(&self, asset: &P) -> bool; + fn add_asset(&self, asset: &impl IsA) -> bool; #[doc(alias = "ges_project_add_encoding_profile")] - fn add_encoding_profile>( + fn add_encoding_profile( &self, - profile: &P, + profile: &impl IsA, ) -> Result<(), glib::error::BoolError>; //#[cfg(any(feature = "v1_18", feature = "dox"))] @@ -77,17 +77,17 @@ pub trait ProjectExt: 'static { fn list_encoding_profiles(&self) -> Vec; #[doc(alias = "ges_project_load")] - fn load>(&self, timeline: &P) -> Result<(), glib::Error>; + fn load(&self, timeline: &impl IsA) -> Result<(), glib::Error>; #[doc(alias = "ges_project_remove_asset")] - fn remove_asset>(&self, asset: &P) -> Result<(), glib::error::BoolError>; + fn remove_asset(&self, asset: &impl IsA) -> Result<(), glib::error::BoolError>; #[doc(alias = "ges_project_save")] - fn save, Q: IsA>( + fn save( &self, - timeline: &P, + timeline: &impl IsA, uri: &str, - formatter_asset: Option<&Q>, + formatter_asset: Option<&impl IsA>, overwrite: bool, ) -> Result<(), glib::Error>; @@ -130,7 +130,7 @@ pub trait ProjectExt: 'static { } impl> ProjectExt for O { - fn add_asset>(&self, asset: &P) -> bool { + fn add_asset(&self, asset: &impl IsA) -> bool { unsafe { from_glib(ffi::ges_project_add_asset( self.as_ref().to_glib_none().0, @@ -139,9 +139,9 @@ impl> ProjectExt for O { } } - fn add_encoding_profile>( + fn add_encoding_profile( &self, - profile: &P, + profile: &impl IsA, ) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( @@ -230,7 +230,7 @@ impl> ProjectExt for O { } } - fn load>(&self, timeline: &P) -> Result<(), glib::Error> { + fn load(&self, timeline: &impl IsA) -> Result<(), glib::Error> { unsafe { let mut error = ptr::null_mut(); let _ = ffi::ges_project_load( @@ -246,7 +246,7 @@ impl> ProjectExt for O { } } - fn remove_asset>(&self, asset: &P) -> Result<(), glib::error::BoolError> { + fn remove_asset(&self, asset: &impl IsA) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::ges_project_remove_asset( @@ -258,11 +258,11 @@ impl> ProjectExt for O { } } - fn save, Q: IsA>( + fn save( &self, - timeline: &P, + timeline: &impl IsA, uri: &str, - formatter_asset: Option<&Q>, + formatter_asset: Option<&impl IsA>, overwrite: bool, ) -> Result<(), glib::Error> { unsafe { diff --git a/gstreamer-editing-services/src/auto/timeline.rs b/gstreamer-editing-services/src/auto/timeline.rs index 97012c65a..a35a62286 100644 --- a/gstreamer-editing-services/src/auto/timeline.rs +++ b/gstreamer-editing-services/src/auto/timeline.rs @@ -74,10 +74,10 @@ pub const NONE_TIMELINE: Option<&Timeline> = None; pub trait TimelineExt: 'static { #[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")] #[doc(alias = "ges_timeline_add_layer")] - fn add_layer>(&self, layer: &P) -> Result<(), glib::error::BoolError>; + fn add_layer(&self, layer: &impl IsA) -> Result<(), glib::error::BoolError>; #[doc(alias = "ges_timeline_add_track")] - fn add_track>(&self, track: &P) -> Result<(), glib::error::BoolError>; + fn add_track(&self, track: &impl IsA) -> Result<(), glib::error::BoolError>; #[doc(alias = "ges_timeline_append_layer")] fn append_layer(&self) -> Layer; @@ -131,7 +131,7 @@ pub trait TimelineExt: 'static { #[doc(alias = "ges_timeline_get_pad_for_track")] #[doc(alias = "get_pad_for_track")] - fn pad_for_track>(&self, track: &P) -> Option; + fn pad_for_track(&self, track: &impl IsA) -> Option; #[doc(alias = "ges_timeline_get_snapping_distance")] #[doc(alias = "get_snapping_distance")] @@ -139,7 +139,7 @@ pub trait TimelineExt: 'static { #[doc(alias = "ges_timeline_get_track_for_pad")] #[doc(alias = "get_track_for_pad")] - fn track_for_pad>(&self, pad: &P) -> Option; + fn track_for_pad(&self, pad: &impl IsA) -> Option; #[doc(alias = "ges_timeline_get_tracks")] #[doc(alias = "get_tracks")] @@ -154,31 +154,31 @@ pub trait TimelineExt: 'static { #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] #[doc(alias = "ges_timeline_move_layer")] - fn move_layer>( + fn move_layer( &self, - layer: &P, + layer: &impl IsA, new_layer_priority: u32, ) -> Result<(), glib::error::BoolError>; #[doc(alias = "ges_timeline_paste_element")] - fn paste_element>( + fn paste_element( &self, - element: &P, + element: &impl IsA, position: gst::ClockTime, layer_priority: i32, ) -> Option; #[doc(alias = "ges_timeline_remove_layer")] - fn remove_layer>(&self, layer: &P) -> Result<(), glib::error::BoolError>; + fn remove_layer(&self, layer: &impl IsA) -> Result<(), glib::error::BoolError>; #[doc(alias = "ges_timeline_remove_track")] - fn remove_track>(&self, track: &P) -> Result<(), glib::error::BoolError>; + fn remove_track(&self, track: &impl IsA) -> Result<(), glib::error::BoolError>; #[doc(alias = "ges_timeline_save_to_uri")] - fn save_to_uri>( + fn save_to_uri( &self, uri: &str, - formatter_asset: Option<&P>, + formatter_asset: Option<&impl IsA>, overwrite: bool, ) -> Result<(), glib::Error>; @@ -248,7 +248,7 @@ pub trait TimelineExt: 'static { } impl> TimelineExt for O { - fn add_layer>(&self, layer: &P) -> Result<(), glib::error::BoolError> { + fn add_layer(&self, layer: &impl IsA) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::ges_timeline_add_layer( @@ -260,7 +260,7 @@ impl> TimelineExt for O { } } - fn add_track>(&self, track: &P) -> Result<(), glib::error::BoolError> { + fn add_track(&self, track: &impl IsA) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::ges_timeline_add_track( @@ -370,7 +370,7 @@ impl> TimelineExt for O { } } - fn pad_for_track>(&self, track: &P) -> Option { + fn pad_for_track(&self, track: &impl IsA) -> Option { unsafe { from_glib_none(ffi::ges_timeline_get_pad_for_track( self.as_ref().to_glib_none().0, @@ -387,7 +387,7 @@ impl> TimelineExt for O { } } - fn track_for_pad>(&self, pad: &P) -> Option { + fn track_for_pad(&self, pad: &impl IsA) -> Option { unsafe { from_glib_none(ffi::ges_timeline_get_track_for_pad( self.as_ref().to_glib_none().0, @@ -426,9 +426,9 @@ impl> TimelineExt for O { #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] - fn move_layer>( + fn move_layer( &self, - layer: &P, + layer: &impl IsA, new_layer_priority: u32, ) -> Result<(), glib::error::BoolError> { unsafe { @@ -443,9 +443,9 @@ impl> TimelineExt for O { } } - fn paste_element>( + fn paste_element( &self, - element: &P, + element: &impl IsA, position: gst::ClockTime, layer_priority: i32, ) -> Option { @@ -459,7 +459,7 @@ impl> TimelineExt for O { } } - fn remove_layer>(&self, layer: &P) -> Result<(), glib::error::BoolError> { + fn remove_layer(&self, layer: &impl IsA) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::ges_timeline_remove_layer( @@ -471,7 +471,7 @@ impl> TimelineExt for O { } } - fn remove_track>(&self, track: &P) -> Result<(), glib::error::BoolError> { + fn remove_track(&self, track: &impl IsA) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::ges_timeline_remove_track( @@ -483,10 +483,10 @@ impl> TimelineExt for O { } } - fn save_to_uri>( + fn save_to_uri( &self, uri: &str, - formatter_asset: Option<&P>, + formatter_asset: Option<&impl IsA>, overwrite: bool, ) -> Result<(), glib::Error> { unsafe { diff --git a/gstreamer-editing-services/src/auto/timeline_element.rs b/gstreamer-editing-services/src/auto/timeline_element.rs index 0f5288b9b..eb2cccfdd 100644 --- a/gstreamer-editing-services/src/auto/timeline_element.rs +++ b/gstreamer-editing-services/src/auto/timeline_element.rs @@ -44,7 +44,7 @@ pub const NONE_TIMELINE_ELEMENT: Option<&TimelineElement> = None; pub trait TimelineElementExt: 'static { //#[doc(alias = "ges_timeline_element_add_child_property")] - //fn add_child_property>(&self, pspec: /*Ignored*/&glib::ParamSpec, child: &P) -> bool; + //fn add_child_property(&self, pspec: /*Ignored*/&glib::ParamSpec, child: &impl IsA) -> bool; #[doc(alias = "ges_timeline_element_copy")] fn copy(&self, deep: bool) -> Result; @@ -202,8 +202,7 @@ pub trait TimelineElementExt: 'static { fn set_name(&self, name: Option<&str>) -> Result<(), glib::error::BoolError>; #[doc(alias = "ges_timeline_element_set_parent")] - fn set_parent>(&self, parent: &P) - -> Result<(), glib::error::BoolError>; + fn set_parent(&self, parent: &impl IsA) -> Result<(), glib::error::BoolError>; #[cfg_attr(feature = "v1_10", deprecated = "Since 1.10")] #[doc(alias = "ges_timeline_element_set_priority")] @@ -213,7 +212,7 @@ pub trait TimelineElementExt: 'static { fn set_start(&self, start: gst::ClockTime) -> bool; #[doc(alias = "ges_timeline_element_set_timeline")] - fn set_timeline>(&self, timeline: &P) -> Result<(), glib::error::BoolError>; + fn set_timeline(&self, timeline: &impl IsA) -> Result<(), glib::error::BoolError>; #[doc(alias = "ges_timeline_element_trim")] fn trim(&self, start: gst::ClockTime) -> Result<(), glib::error::BoolError>; @@ -271,7 +270,7 @@ pub trait TimelineElementExt: 'static { } impl> TimelineElementExt for O { - //fn add_child_property>(&self, pspec: /*Ignored*/&glib::ParamSpec, child: &P) -> bool { + //fn add_child_property(&self, pspec: /*Ignored*/&glib::ParamSpec, child: &impl IsA) -> bool { // unsafe { TODO: call ffi:ges_timeline_element_add_child_property() } //} @@ -623,10 +622,7 @@ impl> TimelineElementExt for O { } } - fn set_parent>( - &self, - parent: &P, - ) -> Result<(), glib::error::BoolError> { + fn set_parent(&self, parent: &impl IsA) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::ges_timeline_element_set_parent( @@ -656,7 +652,7 @@ impl> TimelineElementExt for O { } } - fn set_timeline>(&self, timeline: &P) -> Result<(), glib::error::BoolError> { + fn set_timeline(&self, timeline: &impl IsA) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::ges_timeline_element_set_timeline( diff --git a/gstreamer-editing-services/src/auto/track.rs b/gstreamer-editing-services/src/auto/track.rs index 28b7a8027..d23cbf421 100644 --- a/gstreamer-editing-services/src/auto/track.rs +++ b/gstreamer-editing-services/src/auto/track.rs @@ -42,12 +42,12 @@ pub const NONE_TRACK: Option<&Track> = None; pub trait GESTrackExt: 'static { #[doc(alias = "ges_track_add_element")] - fn add_element>(&self, object: &P) -> Result<(), glib::error::BoolError>; + fn add_element(&self, object: &impl IsA) -> Result<(), glib::error::BoolError>; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "ges_track_add_element_full")] - fn add_element_full>(&self, object: &P) -> Result<(), glib::Error>; + fn add_element_full(&self, object: &impl IsA) -> Result<(), glib::Error>; #[doc(alias = "ges_track_commit")] fn commit(&self) -> bool; @@ -75,15 +75,13 @@ pub trait GESTrackExt: 'static { fn timeline(&self) -> Option; #[doc(alias = "ges_track_remove_element")] - fn remove_element>( - &self, - object: &P, - ) -> Result<(), glib::error::BoolError>; + fn remove_element(&self, object: &impl IsA) + -> Result<(), glib::error::BoolError>; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "ges_track_remove_element_full")] - fn remove_element_full>(&self, object: &P) -> Result<(), glib::Error>; + fn remove_element_full(&self, object: &impl IsA) -> Result<(), glib::Error>; //#[doc(alias = "ges_track_set_create_element_for_gap_func")] //fn set_create_element_for_gap_func gst::Element + 'static>(&self, func: P); @@ -95,7 +93,7 @@ pub trait GESTrackExt: 'static { fn set_restriction_caps(&self, caps: &gst::Caps); #[doc(alias = "ges_track_set_timeline")] - fn set_timeline>(&self, timeline: &P); + fn set_timeline(&self, timeline: &impl IsA); #[doc(alias = "ges_track_update_restriction_caps")] fn update_restriction_caps(&self, caps: &gst::Caps); @@ -147,7 +145,7 @@ pub trait GESTrackExt: 'static { } impl> GESTrackExt for O { - fn add_element>(&self, object: &P) -> Result<(), glib::error::BoolError> { + fn add_element(&self, object: &impl IsA) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::ges_track_add_element( @@ -161,7 +159,7 @@ impl> GESTrackExt for O { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn add_element_full>(&self, object: &P) -> Result<(), glib::Error> { + fn add_element_full(&self, object: &impl IsA) -> Result<(), glib::Error> { unsafe { let mut error = ptr::null_mut(); let _ = ffi::ges_track_add_element_full( @@ -211,9 +209,9 @@ impl> GESTrackExt for O { unsafe { from_glib_none(ffi::ges_track_get_timeline(self.as_ref().to_glib_none().0)) } } - fn remove_element>( + fn remove_element( &self, - object: &P, + object: &impl IsA, ) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( @@ -228,7 +226,7 @@ impl> GESTrackExt for O { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn remove_element_full>(&self, object: &P) -> Result<(), glib::Error> { + fn remove_element_full(&self, object: &impl IsA) -> Result<(), glib::Error> { unsafe { let mut error = ptr::null_mut(); let _ = ffi::ges_track_remove_element_full( @@ -263,7 +261,7 @@ impl> GESTrackExt for O { } } - fn set_timeline>(&self, timeline: &P) { + fn set_timeline(&self, timeline: &impl IsA) { unsafe { ffi::ges_track_set_timeline( self.as_ref().to_glib_none().0, diff --git a/gstreamer-editing-services/src/auto/track_element.rs b/gstreamer-editing-services/src/auto/track_element.rs index b351dce45..c59d06ffe 100644 --- a/gstreamer-editing-services/src/auto/track_element.rs +++ b/gstreamer-editing-services/src/auto/track_element.rs @@ -31,9 +31,9 @@ pub const NONE_TRACK_ELEMENT: Option<&TrackElement> = None; pub trait TrackElementExt: 'static { #[doc(alias = "ges_track_element_add_children_props")] - fn add_children_props>( + fn add_children_props( &self, - element: &P, + element: &impl IsA, wanted_categories: &[&str], blacklist: &[&str], whitelist: &[&str], @@ -116,9 +116,9 @@ pub trait TrackElementExt: 'static { fn set_auto_clamp_control_sources(&self, auto_clamp: bool); #[doc(alias = "ges_track_element_set_control_source")] - fn set_control_source>( + fn set_control_source( &self, - source: &P, + source: &impl IsA, property_name: &str, binding_type: &str, ) -> bool; @@ -167,9 +167,9 @@ pub trait TrackElementExt: 'static { } impl> TrackElementExt for O { - fn add_children_props>( + fn add_children_props( &self, - element: &P, + element: &impl IsA, wanted_categories: &[&str], blacklist: &[&str], whitelist: &[&str], @@ -344,9 +344,9 @@ impl> TrackElementExt for O { } } - fn set_control_source>( + fn set_control_source( &self, - source: &P, + source: &impl IsA, property_name: &str, binding_type: &str, ) -> bool { diff --git a/gstreamer-editing-services/src/auto/uri_clip_asset.rs b/gstreamer-editing-services/src/auto/uri_clip_asset.rs index 4f2dece8d..aea07e94a 100644 --- a/gstreamer-editing-services/src/auto/uri_clip_asset.rs +++ b/gstreamer-editing-services/src/auto/uri_clip_asset.rs @@ -36,7 +36,7 @@ impl UriClipAsset { //} //#[doc(alias = "ges_uri_clip_asset_new")] - //pub fn new, Q: FnOnce(Result<(), glib::Error>) + 'static>(uri: &str, cancellable: Option<&P>, callback: Q) { + //pub fn new) + 'static>(uri: &str, cancellable: Option<&impl IsA>, callback: P) { // unsafe { TODO: call ffi:ges_uri_clip_asset_new() } //} diff --git a/gstreamer-editing-services/src/auto/versions.txt b/gstreamer-editing-services/src/auto/versions.txt index 1b3795c83..4a7c11860 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 @ f64f90a) +Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) diff --git a/gstreamer-editing-services/sys/build.rs b/gstreamer-editing-services/sys/build.rs index 65da173c5..4aee5f36a 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-editing-services/sys/src/lib.rs b/gstreamer-editing-services/sys/src/lib.rs index e46d227eb..f02a6cf88 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-editing-services/sys/tests/abi.rs b/gstreamer-editing-services/sys/tests/abi.rs index 62f515236..a56599e81 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-editing-services/sys/tests/constant.c b/gstreamer-editing-services/sys/tests/constant.c index 300255578..e2ea1b4c0 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-editing-services/sys/tests/layout.c b/gstreamer-editing-services/sys/tests/layout.c index 85f67d436..277ed2b51 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-gl/egl/src/auto/gl_display_egl.rs b/gstreamer-gl/egl/src/auto/gl_display_egl.rs index 3c1bbc715..01b1389e9 100644 --- a/gstreamer-gl/egl/src/auto/gl_display_egl.rs +++ b/gstreamer-gl/egl/src/auto/gl_display_egl.rs @@ -29,7 +29,7 @@ impl GLDisplayEGL { //} #[doc(alias = "gst_gl_display_egl_from_gl_display")] - pub fn from_gl_display>(display: &P) -> Option { + pub fn from_gl_display(display: &impl IsA) -> Option { assert_initialized_main_thread!(); unsafe { from_glib_full(ffi::gst_gl_display_egl_from_gl_display( diff --git a/gstreamer-gl/egl/src/auto/versions.txt b/gstreamer-gl/egl/src/auto/versions.txt index 1b3795c83..4a7c11860 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 @ f64f90a) +Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) diff --git a/gstreamer-gl/egl/sys/build.rs b/gstreamer-gl/egl/sys/build.rs index 65da173c5..4aee5f36a 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-gl/egl/sys/src/lib.rs b/gstreamer-gl/egl/sys/src/lib.rs index e91e735cd..db97193ba 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-gl/egl/sys/tests/abi.rs b/gstreamer-gl/egl/sys/tests/abi.rs index 759c48257..0cf1c5cd5 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-gl/egl/sys/tests/constant.c b/gstreamer-gl/egl/sys/tests/constant.c index 5e603db50..8b027dc03 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-gl/egl/sys/tests/layout.c b/gstreamer-gl/egl/sys/tests/layout.c index a77652932..80ca2f1ab 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-gl/src/auto/enums.rs b/gstreamer-gl/src/auto/enums.rs index 7bba9d4d7..ead0f241b 100644 --- a/gstreamer-gl/src/auto/enums.rs +++ b/gstreamer-gl/src/auto/enums.rs @@ -273,8 +273,8 @@ pub enum GLFormat { impl GLFormat { #[doc(alias = "gst_gl_format_from_video_info")] - pub fn from_video_info>( - context: &P, + pub fn from_video_info( + context: &impl IsA, vinfo: &gst_video::VideoInfo, plane: u32, ) -> GLFormat { @@ -291,7 +291,7 @@ impl GLFormat { #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] #[doc(alias = "gst_gl_format_is_supported")] - pub fn is_supported>(context: &P, format: GLFormat) -> bool { + pub fn is_supported(context: &impl IsA, format: GLFormat) -> bool { skip_assert_initialized!(); unsafe { from_glib(ffi::gst_gl_format_is_supported( diff --git a/gstreamer-gl/src/auto/gl_allocation_params.rs b/gstreamer-gl/src/auto/gl_allocation_params.rs index 634ed0495..f6aa965ec 100644 --- a/gstreamer-gl/src/auto/gl_allocation_params.rs +++ b/gstreamer-gl/src/auto/gl_allocation_params.rs @@ -28,7 +28,7 @@ impl GLAllocationParams { } //#[doc(alias = "gst_gl_allocation_params_init")] - //pub fn init>(&mut self, struct_size: usize, alloc_flags: u32, copy: P, free: /*Unimplemented*/Fn(/*Unimplemented*/Option), context: &Q, alloc_size: usize, alloc_params: Option<&gst::AllocationParams>, wrapped_data: /*Unimplemented*/Option, gl_handle: /*Unimplemented*/Option, user_data: /*Unimplemented*/Option) -> bool { + //pub fn init(&mut self, struct_size: usize, alloc_flags: u32, copy: P, free: /*Unimplemented*/Fn(/*Unimplemented*/Option), context: &impl IsA, alloc_size: usize, alloc_params: Option<&gst::AllocationParams>, wrapped_data: /*Unimplemented*/Option, gl_handle: /*Unimplemented*/Option, user_data: /*Unimplemented*/Option) -> bool { // unsafe { TODO: call ffi:gst_gl_allocation_params_init() } //} } diff --git a/gstreamer-gl/src/auto/gl_color_convert.rs b/gstreamer-gl/src/auto/gl_color_convert.rs index 49bd3b512..b8a2553e1 100644 --- a/gstreamer-gl/src/auto/gl_color_convert.rs +++ b/gstreamer-gl/src/auto/gl_color_convert.rs @@ -18,7 +18,7 @@ glib::wrapper! { impl GLColorConvert { #[doc(alias = "gst_gl_color_convert_new")] - pub fn new>(context: &P) -> GLColorConvert { + pub fn new(context: &impl IsA) -> GLColorConvert { skip_assert_initialized!(); unsafe { from_glib_full(ffi::gst_gl_color_convert_new( @@ -46,8 +46,8 @@ impl GLColorConvert { } #[doc(alias = "gst_gl_color_convert_transform_caps")] - pub fn transform_caps>( - context: &P, + pub fn transform_caps( + context: &impl IsA, direction: gst::PadDirection, caps: &gst::Caps, filter: &gst::Caps, diff --git a/gstreamer-gl/src/auto/gl_context.rs b/gstreamer-gl/src/auto/gl_context.rs index 275877bf8..2c3bf1bd4 100644 --- a/gstreamer-gl/src/auto/gl_context.rs +++ b/gstreamer-gl/src/auto/gl_context.rs @@ -25,7 +25,7 @@ glib::wrapper! { impl GLContext { #[doc(alias = "gst_gl_context_new")] - pub fn new>(display: &P) -> GLContext { + pub fn new(display: &impl IsA) -> GLContext { skip_assert_initialized!(); unsafe { from_glib_none(ffi::gst_gl_context_new(display.as_ref().to_glib_none().0)) } } @@ -66,7 +66,7 @@ pub trait GLContextExt: 'static { fn activate(&self, activate: bool) -> Result<(), glib::error::BoolError>; #[doc(alias = "gst_gl_context_can_share")] - fn can_share>(&self, other_context: &P) -> bool; + fn can_share(&self, other_context: &impl IsA) -> bool; #[doc(alias = "gst_gl_context_check_feature")] fn check_feature(&self, feature: &str) -> bool; @@ -84,7 +84,7 @@ pub trait GLContextExt: 'static { fn clear_shader(&self); #[doc(alias = "gst_gl_context_create")] - fn create>(&self, other_context: Option<&P>) -> Result<(), glib::Error>; + fn create(&self, other_context: Option<&impl IsA>) -> Result<(), glib::Error>; #[doc(alias = "gst_gl_context_destroy")] fn destroy(&self); @@ -131,10 +131,10 @@ pub trait GLContextExt: 'static { fn request_config(&self, gl_config: Option<&gst::Structure>) -> bool; #[doc(alias = "gst_gl_context_set_shared_with")] - fn set_shared_with>(&self, share: &P); + fn set_shared_with(&self, share: &impl IsA); #[doc(alias = "gst_gl_context_set_window")] - fn set_window>(&self, window: &P) -> Result<(), glib::error::BoolError>; + fn set_window(&self, window: &impl IsA) -> Result<(), glib::error::BoolError>; #[doc(alias = "gst_gl_context_supports_glsl_profile_version")] fn supports_glsl_profile_version(&self, version: GLSLVersion, profile: GLSLProfile) -> bool; @@ -163,7 +163,7 @@ impl> GLContextExt for O { } } - fn can_share>(&self, other_context: &P) -> bool { + fn can_share(&self, other_context: &impl IsA) -> bool { unsafe { from_glib(ffi::gst_gl_context_can_share( self.as_ref().to_glib_none().0, @@ -213,7 +213,7 @@ impl> GLContextExt for O { } } - fn create>(&self, other_context: Option<&P>) -> Result<(), glib::Error> { + fn create(&self, other_context: Option<&impl IsA>) -> Result<(), glib::Error> { unsafe { let mut error = ptr::null_mut(); let _ = ffi::gst_gl_context_create( @@ -338,7 +338,7 @@ impl> GLContextExt for O { } } - fn set_shared_with>(&self, share: &P) { + fn set_shared_with(&self, share: &impl IsA) { unsafe { ffi::gst_gl_context_set_shared_with( self.as_ref().to_glib_none().0, @@ -347,7 +347,7 @@ impl> GLContextExt for O { } } - fn set_window>(&self, window: &P) -> Result<(), glib::error::BoolError> { + fn set_window(&self, window: &impl IsA) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::gst_gl_context_set_window( diff --git a/gstreamer-gl/src/auto/gl_display.rs b/gstreamer-gl/src/auto/gl_display.rs index f0d812d92..2bcb73179 100644 --- a/gstreamer-gl/src/auto/gl_display.rs +++ b/gstreamer-gl/src/auto/gl_display.rs @@ -55,13 +55,11 @@ pub const NONE_GL_DISPLAY: Option<&GLDisplay> = None; pub trait GLDisplayExt: 'static { #[doc(alias = "gst_gl_display_add_context")] - fn add_context>(&self, context: &P) -> Result<(), glib::error::BoolError>; + fn add_context(&self, context: &impl IsA) -> Result<(), glib::error::BoolError>; #[doc(alias = "gst_gl_display_create_context")] - fn create_context>( - &self, - other_context: &P, - ) -> Result; + fn create_context(&self, other_context: &impl IsA) + -> Result; #[doc(alias = "gst_gl_display_create_window")] fn create_window(&self) -> Result; @@ -84,10 +82,10 @@ pub trait GLDisplayExt: 'static { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "gst_gl_display_remove_context")] - fn remove_context>(&self, context: &P); + fn remove_context(&self, context: &impl IsA); #[doc(alias = "gst_gl_display_remove_window")] - fn remove_window>(&self, window: &P) -> Result<(), glib::error::BoolError>; + fn remove_window(&self, window: &impl IsA) -> Result<(), glib::error::BoolError>; //#[cfg(any(feature = "v1_18", feature = "dox"))] //#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] @@ -102,7 +100,7 @@ pub trait GLDisplayExt: 'static { } impl> GLDisplayExt for O { - fn add_context>(&self, context: &P) -> Result<(), glib::error::BoolError> { + fn add_context(&self, context: &impl IsA) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::gst_gl_display_add_context( @@ -114,9 +112,9 @@ impl> GLDisplayExt for O { } } - fn create_context>( + fn create_context( &self, - other_context: &P, + other_context: &impl IsA, ) -> Result { unsafe { let mut p_context = ptr::null_mut(); @@ -176,7 +174,7 @@ impl> GLDisplayExt for O { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn remove_context>(&self, context: &P) { + fn remove_context(&self, context: &impl IsA) { unsafe { ffi::gst_gl_display_remove_context( self.as_ref().to_glib_none().0, @@ -185,7 +183,7 @@ impl> GLDisplayExt for O { } } - fn remove_window>(&self, window: &P) -> Result<(), glib::error::BoolError> { + fn remove_window(&self, window: &impl IsA) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::gst_gl_display_remove_window( diff --git a/gstreamer-gl/src/auto/gl_framebuffer.rs b/gstreamer-gl/src/auto/gl_framebuffer.rs index 7a65fcd52..41d550754 100644 --- a/gstreamer-gl/src/auto/gl_framebuffer.rs +++ b/gstreamer-gl/src/auto/gl_framebuffer.rs @@ -20,7 +20,7 @@ glib::wrapper! { impl GLFramebuffer { #[doc(alias = "gst_gl_framebuffer_new")] - pub fn new>(context: &P) -> GLFramebuffer { + pub fn new(context: &impl IsA) -> GLFramebuffer { skip_assert_initialized!(); unsafe { from_glib_full(ffi::gst_gl_framebuffer_new( @@ -31,8 +31,8 @@ impl GLFramebuffer { #[doc(alias = "gst_gl_framebuffer_new_with_default_depth")] #[doc(alias = "new_with_default_depth")] - pub fn with_default_depth>( - context: &P, + pub fn with_default_depth( + context: &impl IsA, width: u32, height: u32, ) -> GLFramebuffer { diff --git a/gstreamer-gl/src/auto/gl_memory_allocator.rs b/gstreamer-gl/src/auto/gl_memory_allocator.rs index eaa817a88..948d5ceda 100644 --- a/gstreamer-gl/src/auto/gl_memory_allocator.rs +++ b/gstreamer-gl/src/auto/gl_memory_allocator.rs @@ -20,7 +20,7 @@ glib::wrapper! { impl GLMemoryAllocator { #[doc(alias = "gst_gl_memory_allocator_get_default")] #[doc(alias = "get_default")] - pub fn default>(context: &P) -> Option { + pub fn default(context: &impl IsA) -> Option { skip_assert_initialized!(); unsafe { from_glib_full(ffi::gst_gl_memory_allocator_get_default( diff --git a/gstreamer-gl/src/auto/gl_overlay_compositor.rs b/gstreamer-gl/src/auto/gl_overlay_compositor.rs index 5ab479100..554789d12 100644 --- a/gstreamer-gl/src/auto/gl_overlay_compositor.rs +++ b/gstreamer-gl/src/auto/gl_overlay_compositor.rs @@ -39,7 +39,7 @@ glib::wrapper! { impl GLOverlayCompositor { #[doc(alias = "gst_gl_overlay_compositor_new")] - pub fn new>(context: &P) -> GLOverlayCompositor { + pub fn new(context: &impl IsA) -> GLOverlayCompositor { skip_assert_initialized!(); unsafe { from_glib_none(ffi::gst_gl_overlay_compositor_new( diff --git a/gstreamer-gl/src/auto/gl_shader.rs b/gstreamer-gl/src/auto/gl_shader.rs index d969aaa94..d7ab7cfaa 100644 --- a/gstreamer-gl/src/auto/gl_shader.rs +++ b/gstreamer-gl/src/auto/gl_shader.rs @@ -31,13 +31,13 @@ glib::wrapper! { impl GLShader { #[doc(alias = "gst_gl_shader_new")] - pub fn new>(context: &P) -> GLShader { + pub fn new(context: &impl IsA) -> GLShader { skip_assert_initialized!(); unsafe { from_glib_full(ffi::gst_gl_shader_new(context.as_ref().to_glib_none().0)) } } #[doc(alias = "gst_gl_shader_new_default")] - pub fn new_default>(context: &P) -> Result { + pub fn new_default(context: &impl IsA) -> Result { skip_assert_initialized!(); unsafe { let mut error = ptr::null_mut(); @@ -51,13 +51,13 @@ impl GLShader { } //#[doc(alias = "gst_gl_shader_new_link_with_stages")] - //pub fn new_link_with_stages>(context: &P, error: &mut glib::Error, : /*Unknown conversion*//*Unimplemented*/Fundamental: VarArgs) -> GLShader { + //pub fn new_link_with_stages(context: &impl IsA, error: &mut glib::Error, : /*Unknown conversion*//*Unimplemented*/Fundamental: VarArgs) -> GLShader { // unsafe { TODO: call ffi:gst_gl_shader_new_link_with_stages() } //} //#[doc(alias = "gst_gl_shader_new_with_stages")] //#[doc(alias = "new_with_stages")] - //pub fn with_stages>(context: &P, error: &mut glib::Error, : /*Unknown conversion*//*Unimplemented*/Fundamental: VarArgs) -> GLShader { + //pub fn with_stages(context: &impl IsA, error: &mut glib::Error, : /*Unknown conversion*//*Unimplemented*/Fundamental: VarArgs) -> GLShader { // unsafe { TODO: call ffi:gst_gl_shader_new_with_stages() } //} @@ -377,8 +377,8 @@ impl GLShader { #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] #[doc(alias = "gst_gl_shader_string_fragment_external_oes_get_default")] - pub fn string_fragment_external_oes_get_default>( - context: &P, + pub fn string_fragment_external_oes_get_default( + context: &impl IsA, version: GLSLVersion, profile: GLSLProfile, ) -> Option { @@ -395,8 +395,8 @@ impl GLShader { #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] #[doc(alias = "gst_gl_shader_string_fragment_get_default")] - pub fn string_fragment_get_default>( - context: &P, + pub fn string_fragment_get_default( + context: &impl IsA, version: GLSLVersion, profile: GLSLProfile, ) -> Option { @@ -413,8 +413,8 @@ impl GLShader { #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] #[doc(alias = "gst_gl_shader_string_get_highest_precision")] - pub fn string_get_highest_precision>( - context: &P, + pub fn string_get_highest_precision( + context: &impl IsA, version: GLSLVersion, profile: GLSLProfile, ) -> Option { diff --git a/gstreamer-gl/src/auto/gl_upload.rs b/gstreamer-gl/src/auto/gl_upload.rs index c54829f0c..12fd83330 100644 --- a/gstreamer-gl/src/auto/gl_upload.rs +++ b/gstreamer-gl/src/auto/gl_upload.rs @@ -19,7 +19,7 @@ glib::wrapper! { impl GLUpload { #[doc(alias = "gst_gl_upload_new")] - pub fn new>(context: &P) -> GLUpload { + pub fn new(context: &impl IsA) -> GLUpload { skip_assert_initialized!(); unsafe { from_glib_full(ffi::gst_gl_upload_new(context.as_ref().to_glib_none().0)) } } @@ -54,7 +54,7 @@ impl GLUpload { } #[doc(alias = "gst_gl_upload_set_context")] - pub fn set_context>(&self, context: &P) { + pub fn set_context(&self, context: &impl IsA) { unsafe { ffi::gst_gl_upload_set_context( self.to_glib_none().0, @@ -64,9 +64,9 @@ impl GLUpload { } #[doc(alias = "gst_gl_upload_transform_caps")] - pub fn transform_caps>( + pub fn transform_caps( &self, - context: &P, + context: &impl IsA, direction: gst::PadDirection, caps: &gst::Caps, filter: &gst::Caps, diff --git a/gstreamer-gl/src/auto/gl_video_allocation_params.rs b/gstreamer-gl/src/auto/gl_video_allocation_params.rs index e9328b3c5..26f11ecba 100644 --- a/gstreamer-gl/src/auto/gl_video_allocation_params.rs +++ b/gstreamer-gl/src/auto/gl_video_allocation_params.rs @@ -22,8 +22,8 @@ glib::wrapper! { impl GLVideoAllocationParams { #[doc(alias = "gst_gl_video_allocation_params_new")] - pub fn new>( - context: &P, + pub fn new( + context: &impl IsA, alloc_params: Option<&gst::AllocationParams>, v_info: &gst_video::VideoInfo, plane: u32, @@ -46,17 +46,17 @@ impl GLVideoAllocationParams { } //#[doc(alias = "gst_gl_video_allocation_params_new_wrapped_data")] - //pub fn new_wrapped_data>(context: &P, alloc_params: Option<&gst::AllocationParams>, v_info: &gst_video::VideoInfo, plane: u32, valign: Option<&gst_video::VideoAlignment>, target: GLTextureTarget, tex_format: GLFormat, wrapped_data: /*Unimplemented*/Option, user_data: /*Unimplemented*/Option) -> GLVideoAllocationParams { + //pub fn new_wrapped_data(context: &impl IsA, alloc_params: Option<&gst::AllocationParams>, v_info: &gst_video::VideoInfo, plane: u32, valign: Option<&gst_video::VideoAlignment>, target: GLTextureTarget, tex_format: GLFormat, wrapped_data: /*Unimplemented*/Option, user_data: /*Unimplemented*/Option) -> GLVideoAllocationParams { // unsafe { TODO: call ffi:gst_gl_video_allocation_params_new_wrapped_data() } //} //#[doc(alias = "gst_gl_video_allocation_params_new_wrapped_gl_handle")] - //pub fn new_wrapped_gl_handle>(context: &P, alloc_params: Option<&gst::AllocationParams>, v_info: &gst_video::VideoInfo, plane: u32, valign: Option<&gst_video::VideoAlignment>, target: GLTextureTarget, tex_format: GLFormat, gl_handle: /*Unimplemented*/Option, user_data: /*Unimplemented*/Option) -> GLVideoAllocationParams { + //pub fn new_wrapped_gl_handle(context: &impl IsA, alloc_params: Option<&gst::AllocationParams>, v_info: &gst_video::VideoInfo, plane: u32, valign: Option<&gst_video::VideoAlignment>, target: GLTextureTarget, tex_format: GLFormat, gl_handle: /*Unimplemented*/Option, user_data: /*Unimplemented*/Option) -> GLVideoAllocationParams { // unsafe { TODO: call ffi:gst_gl_video_allocation_params_new_wrapped_gl_handle() } //} //#[doc(alias = "gst_gl_video_allocation_params_new_wrapped_texture")] - //pub fn new_wrapped_texture>(context: &P, alloc_params: Option<&gst::AllocationParams>, v_info: &gst_video::VideoInfo, plane: u32, valign: Option<&gst_video::VideoAlignment>, target: GLTextureTarget, tex_format: GLFormat, tex_id: u32, user_data: /*Unimplemented*/Option) -> GLVideoAllocationParams { + //pub fn new_wrapped_texture(context: &impl IsA, alloc_params: Option<&gst::AllocationParams>, v_info: &gst_video::VideoInfo, plane: u32, valign: Option<&gst_video::VideoAlignment>, target: GLTextureTarget, tex_format: GLFormat, tex_id: u32, user_data: /*Unimplemented*/Option) -> GLVideoAllocationParams { // unsafe { TODO: call ffi:gst_gl_video_allocation_params_new_wrapped_texture() } //} @@ -71,7 +71,7 @@ impl GLVideoAllocationParams { } //#[doc(alias = "gst_gl_video_allocation_params_init_full")] - //pub fn init_full>(&mut self, struct_size: usize, alloc_flags: u32, copy: P, free: /*Unimplemented*/Fn(/*Unimplemented*/Option), context: &Q, alloc_params: Option<&gst::AllocationParams>, v_info: &gst_video::VideoInfo, plane: u32, valign: Option<&gst_video::VideoAlignment>, target: GLTextureTarget, tex_format: GLFormat, wrapped_data: /*Unimplemented*/Option, gl_handle: /*Unimplemented*/Option, user_data: /*Unimplemented*/Option) -> bool { + //pub fn init_full(&mut self, struct_size: usize, alloc_flags: u32, copy: P, free: /*Unimplemented*/Fn(/*Unimplemented*/Option), context: &impl IsA, alloc_params: Option<&gst::AllocationParams>, v_info: &gst_video::VideoInfo, plane: u32, valign: Option<&gst_video::VideoAlignment>, target: GLTextureTarget, tex_format: GLFormat, wrapped_data: /*Unimplemented*/Option, gl_handle: /*Unimplemented*/Option, user_data: /*Unimplemented*/Option) -> bool { // unsafe { TODO: call ffi:gst_gl_video_allocation_params_init_full() } //} } diff --git a/gstreamer-gl/src/auto/gl_view_convert.rs b/gstreamer-gl/src/auto/gl_view_convert.rs index 88fd53026..4b60e2405 100644 --- a/gstreamer-gl/src/auto/gl_view_convert.rs +++ b/gstreamer-gl/src/auto/gl_view_convert.rs @@ -67,7 +67,7 @@ impl GLViewConvert { } #[doc(alias = "gst_gl_view_convert_set_context")] - pub fn set_context>(&self, context: &P) { + pub fn set_context(&self, context: &impl IsA) { unsafe { ffi::gst_gl_view_convert_set_context( self.to_glib_none().0, diff --git a/gstreamer-gl/src/auto/gl_window.rs b/gstreamer-gl/src/auto/gl_window.rs index 928055743..e94c4e35f 100644 --- a/gstreamer-gl/src/auto/gl_window.rs +++ b/gstreamer-gl/src/auto/gl_window.rs @@ -25,7 +25,7 @@ glib::wrapper! { impl GLWindow { #[doc(alias = "gst_gl_window_new")] - pub fn new>(display: &P) -> GLWindow { + pub fn new(display: &impl IsA) -> GLWindow { skip_assert_initialized!(); unsafe { from_glib_full(ffi::gst_gl_window_new(display.as_ref().to_glib_none().0)) } } diff --git a/gstreamer-gl/src/auto/glsl_stage.rs b/gstreamer-gl/src/auto/glsl_stage.rs index 49974b538..39876f8c2 100644 --- a/gstreamer-gl/src/auto/glsl_stage.rs +++ b/gstreamer-gl/src/auto/glsl_stage.rs @@ -21,7 +21,7 @@ glib::wrapper! { impl GLSLStage { #[doc(alias = "gst_glsl_stage_new")] - pub fn new>(context: &P, type_: u32) -> GLSLStage { + pub fn new(context: &impl IsA, type_: u32) -> GLSLStage { skip_assert_initialized!(); unsafe { from_glib_none(ffi::gst_glsl_stage_new( @@ -32,7 +32,7 @@ impl GLSLStage { } #[doc(alias = "gst_glsl_stage_new_default_fragment")] - pub fn new_default_fragment>(context: &P) -> GLSLStage { + pub fn new_default_fragment(context: &impl IsA) -> GLSLStage { skip_assert_initialized!(); unsafe { from_glib_none(ffi::gst_glsl_stage_new_default_fragment( @@ -42,7 +42,7 @@ impl GLSLStage { } #[doc(alias = "gst_glsl_stage_new_default_vertex")] - pub fn new_default_vertex>(context: &P) -> GLSLStage { + pub fn new_default_vertex(context: &impl IsA) -> GLSLStage { skip_assert_initialized!(); unsafe { from_glib_none(ffi::gst_glsl_stage_new_default_vertex( @@ -53,8 +53,8 @@ impl GLSLStage { #[doc(alias = "gst_glsl_stage_new_with_string")] #[doc(alias = "new_with_string")] - pub fn with_string>( - context: &P, + pub fn with_string( + context: &impl IsA, type_: u32, version: GLSLVersion, profile: GLSLProfile, @@ -74,8 +74,8 @@ impl GLSLStage { #[doc(alias = "gst_glsl_stage_new_with_strings")] #[doc(alias = "new_with_strings")] - pub fn with_strings>( - context: &P, + pub fn with_strings( + context: &impl IsA, type_: u32, version: GLSLVersion, profile: GLSLProfile, diff --git a/gstreamer-gl/src/auto/versions.txt b/gstreamer-gl/src/auto/versions.txt index 1b3795c83..4a7c11860 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 @ f64f90a) +Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) diff --git a/gstreamer-gl/sys/build.rs b/gstreamer-gl/sys/build.rs index 65da173c5..4aee5f36a 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-gl/sys/src/lib.rs b/gstreamer-gl/sys/src/lib.rs index 716c31d11..9d9862e95 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-gl/sys/tests/abi.rs b/gstreamer-gl/sys/tests/abi.rs index b238677e7..c65f6a925 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-gl/sys/tests/constant.c b/gstreamer-gl/sys/tests/constant.c index 434097c1f..e0b92551c 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-gl/sys/tests/layout.c b/gstreamer-gl/sys/tests/layout.c index a603e29b0..e933d691d 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-gl/wayland/src/auto/versions.txt b/gstreamer-gl/wayland/src/auto/versions.txt index 1b3795c83..4a7c11860 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 @ f64f90a) +Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) diff --git a/gstreamer-gl/wayland/sys/build.rs b/gstreamer-gl/wayland/sys/build.rs index 65da173c5..4aee5f36a 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-gl/wayland/sys/src/lib.rs b/gstreamer-gl/wayland/sys/src/lib.rs index 7e2aec8a3..d23b728fa 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-gl/wayland/sys/tests/abi.rs b/gstreamer-gl/wayland/sys/tests/abi.rs index bee6f9f0e..76d545f77 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-gl/wayland/sys/tests/constant.c b/gstreamer-gl/wayland/sys/tests/constant.c index 26d014bae..9a1c35f8d 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-gl/wayland/sys/tests/layout.c b/gstreamer-gl/wayland/sys/tests/layout.c index 62012e767..78a0f2f09 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-gl/x11/src/auto/versions.txt b/gstreamer-gl/x11/src/auto/versions.txt index 1b3795c83..4a7c11860 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 @ f64f90a) +Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) diff --git a/gstreamer-gl/x11/sys/build.rs b/gstreamer-gl/x11/sys/build.rs index 65da173c5..4aee5f36a 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-gl/x11/sys/src/lib.rs b/gstreamer-gl/x11/sys/src/lib.rs index 356ffaf5d..44ded0aa5 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-gl/x11/sys/tests/abi.rs b/gstreamer-gl/x11/sys/tests/abi.rs index 694df583f..13c543ae6 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-gl/x11/sys/tests/constant.c b/gstreamer-gl/x11/sys/tests/constant.c index 26d014bae..9a1c35f8d 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-gl/x11/sys/tests/layout.c b/gstreamer-gl/x11/sys/tests/layout.c index 7ab7f23ea..ba8e83fe3 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-mpegts/sys/build.rs b/gstreamer-mpegts/sys/build.rs index 65da173c5..4aee5f36a 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-mpegts/sys/src/lib.rs b/gstreamer-mpegts/sys/src/lib.rs index 48fd31072..9f8c0b01d 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-mpegts/sys/tests/abi.rs b/gstreamer-mpegts/sys/tests/abi.rs index c5bad734a..64298183f 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-mpegts/sys/tests/constant.c b/gstreamer-mpegts/sys/tests/constant.c index 251ed1cca..3e5b45b3b 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-mpegts/sys/tests/layout.c b/gstreamer-mpegts/sys/tests/layout.c index 4da3f1cf7..c5427503d 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-net/src/auto/versions.txt b/gstreamer-net/src/auto/versions.txt index 1b3795c83..4a7c11860 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 @ f64f90a) +Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) diff --git a/gstreamer-net/sys/build.rs b/gstreamer-net/sys/build.rs index 65da173c5..4aee5f36a 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-net/sys/src/lib.rs b/gstreamer-net/sys/src/lib.rs index bf1c639cb..c47229259 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-net/sys/tests/abi.rs b/gstreamer-net/sys/tests/abi.rs index 385fc4326..ce7568532 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-net/sys/tests/constant.c b/gstreamer-net/sys/tests/constant.c index 9128a0255..34e731a16 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-net/sys/tests/layout.c b/gstreamer-net/sys/tests/layout.c index 27a4d123f..2e7c90a7b 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-pbutils/src/auto/encoding_container_profile.rs b/gstreamer-pbutils/src/auto/encoding_container_profile.rs index 14673714b..e58b69b80 100644 --- a/gstreamer-pbutils/src/auto/encoding_container_profile.rs +++ b/gstreamer-pbutils/src/auto/encoding_container_profile.rs @@ -18,7 +18,7 @@ glib::wrapper! { impl EncodingContainerProfile { #[doc(alias = "gst_encoding_container_profile_contains_profile")] - pub fn contains_profile>(&self, profile: &P) -> bool { + pub fn contains_profile(&self, profile: &impl IsA) -> bool { unsafe { from_glib(ffi::gst_encoding_container_profile_contains_profile( self.to_glib_none().0, diff --git a/gstreamer-pbutils/src/auto/encoding_profile.rs b/gstreamer-pbutils/src/auto/encoding_profile.rs index 5393961b6..9ab2e8fc9 100644 --- a/gstreamer-pbutils/src/auto/encoding_profile.rs +++ b/gstreamer-pbutils/src/auto/encoding_profile.rs @@ -129,7 +129,7 @@ pub trait EncodingProfileExt: 'static { fn is_enabled(&self) -> bool; #[doc(alias = "gst_encoding_profile_is_equal")] - fn is_equal>(&self, b: &P) -> bool; + fn is_equal(&self, b: &impl IsA) -> bool; #[cfg(any(feature = "v1_20", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))] @@ -255,7 +255,7 @@ impl> EncodingProfileExt for O { } } - fn is_equal>(&self, b: &P) -> bool { + fn is_equal(&self, b: &impl IsA) -> bool { unsafe { from_glib(ffi::gst_encoding_profile_is_equal( self.as_ref().to_glib_none().0, diff --git a/gstreamer-pbutils/src/auto/encoding_target.rs b/gstreamer-pbutils/src/auto/encoding_target.rs index 1599d88a2..e9c6f9835 100644 --- a/gstreamer-pbutils/src/auto/encoding_target.rs +++ b/gstreamer-pbutils/src/auto/encoding_target.rs @@ -101,7 +101,7 @@ impl EncodingTarget { } #[doc(alias = "gst_encoding_target_save_to_file")] - pub fn save_to_file>(&self, filepath: P) -> Result<(), glib::Error> { + pub fn save_to_file(&self, filepath: impl AsRef) -> Result<(), glib::Error> { unsafe { let mut error = ptr::null_mut(); let _ = ffi::gst_encoding_target_save_to_file( @@ -136,8 +136,8 @@ impl EncodingTarget { } #[doc(alias = "gst_encoding_target_load_from_file")] - pub fn load_from_file>( - filepath: P, + pub fn load_from_file( + filepath: impl AsRef, ) -> Result { assert_initialized_main_thread!(); unsafe { diff --git a/gstreamer-pbutils/src/auto/versions.txt b/gstreamer-pbutils/src/auto/versions.txt index 1b3795c83..4a7c11860 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 @ f64f90a) +Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) diff --git a/gstreamer-pbutils/sys/build.rs b/gstreamer-pbutils/sys/build.rs index 65da173c5..4aee5f36a 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-pbutils/sys/src/lib.rs b/gstreamer-pbutils/sys/src/lib.rs index ef86db724..6e5fc0151 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-pbutils/sys/tests/abi.rs b/gstreamer-pbutils/sys/tests/abi.rs index 64350bb05..20d5cace3 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-pbutils/sys/tests/constant.c b/gstreamer-pbutils/sys/tests/constant.c index ec3e3ff46..67eac0d2e 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-pbutils/sys/tests/layout.c b/gstreamer-pbutils/sys/tests/layout.c index cdca4feaa..2c66b226d 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/versions.txt b/gstreamer-player/src/auto/versions.txt index 1b3795c83..4a7c11860 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 @ f64f90a) +Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) diff --git a/gstreamer-player/sys/build.rs b/gstreamer-player/sys/build.rs index 65da173c5..4aee5f36a 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-player/sys/src/lib.rs b/gstreamer-player/sys/src/lib.rs index 294450c75..dc798a854 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-player/sys/tests/abi.rs b/gstreamer-player/sys/tests/abi.rs index a8022f85f..37105f71c 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-player/sys/tests/constant.c b/gstreamer-player/sys/tests/constant.c index 63ae55faa..83ee46c86 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-player/sys/tests/layout.c b/gstreamer-player/sys/tests/layout.c index 56d5b2681..d892d80ca 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-rtp/src/auto/versions.txt b/gstreamer-rtp/src/auto/versions.txt index 1b3795c83..4a7c11860 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 @ f64f90a) +Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) diff --git a/gstreamer-rtp/sys/build.rs b/gstreamer-rtp/sys/build.rs index 65da173c5..4aee5f36a 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-rtp/sys/src/lib.rs b/gstreamer-rtp/sys/src/lib.rs index 2b80490d1..76194aea1 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-rtp/sys/tests/abi.rs b/gstreamer-rtp/sys/tests/abi.rs index b35ea722b..b34dcb26c 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-rtp/sys/tests/constant.c b/gstreamer-rtp/sys/tests/constant.c index 1ad015a7d..68bec5c70 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-rtp/sys/tests/layout.c b/gstreamer-rtp/sys/tests/layout.c index 389051c45..dea46fe92 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/rtsp_auth.rs b/gstreamer-rtsp-server/src/auto/rtsp_auth.rs index 7cb386c13..896903a87 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_auth.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_auth.rs @@ -102,7 +102,7 @@ pub trait RTSPAuthExt: 'static { #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] #[doc(alias = "gst_rtsp_auth_parse_htdigest")] - fn parse_htdigest>(&self, path: P, token: &RTSPToken) -> bool; + fn parse_htdigest(&self, path: impl AsRef, token: &RTSPToken) -> bool; #[doc(alias = "gst_rtsp_auth_remove_basic")] fn remove_basic(&self, basic: &str); @@ -126,10 +126,10 @@ pub trait RTSPAuthExt: 'static { fn set_tls_authentication_mode(&self, mode: gio::TlsAuthenticationMode); #[doc(alias = "gst_rtsp_auth_set_tls_certificate")] - fn set_tls_certificate>(&self, cert: Option<&P>); + fn set_tls_certificate(&self, cert: Option<&impl IsA>); #[doc(alias = "gst_rtsp_auth_set_tls_database")] - fn set_tls_database>(&self, database: Option<&P>); + fn set_tls_database(&self, database: Option<&impl IsA>); #[doc(alias = "accept-certificate")] fn connect_accept_certificate< @@ -217,7 +217,7 @@ impl> RTSPAuthExt for O { #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] - fn parse_htdigest>(&self, path: P, token: &RTSPToken) -> bool { + fn parse_htdigest(&self, path: impl AsRef, token: &RTSPToken) -> bool { unsafe { from_glib(ffi::gst_rtsp_auth_parse_htdigest( self.as_ref().to_glib_none().0, @@ -269,7 +269,7 @@ impl> RTSPAuthExt for O { } } - fn set_tls_certificate>(&self, cert: Option<&P>) { + fn set_tls_certificate(&self, cert: Option<&impl IsA>) { unsafe { ffi::gst_rtsp_auth_set_tls_certificate( self.as_ref().to_glib_none().0, @@ -278,7 +278,7 @@ impl> RTSPAuthExt for O { } } - fn set_tls_database>(&self, database: Option<&P>) { + fn set_tls_database(&self, database: Option<&impl IsA>) { unsafe { ffi::gst_rtsp_auth_set_tls_database( self.as_ref().to_glib_none().0, diff --git a/gstreamer-rtsp-server/src/auto/rtsp_client.rs b/gstreamer-rtsp-server/src/auto/rtsp_client.rs index 16c05590f..3b6a3fe2f 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_client.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_client.rs @@ -91,7 +91,7 @@ pub trait RTSPClientExt: 'static { //fn handle_message(&self, message: /*Ignored*/&mut gst_rtsp::RTSPMessage) -> gst_rtsp::RTSPResult; //#[doc(alias = "gst_rtsp_client_send_message")] - //fn send_message>(&self, session: Option<&P>, message: /*Ignored*/&mut gst_rtsp::RTSPMessage) -> gst_rtsp::RTSPResult; + //fn send_message(&self, session: Option<&impl IsA>, message: /*Ignored*/&mut gst_rtsp::RTSPMessage) -> gst_rtsp::RTSPResult; #[doc(alias = "gst_rtsp_client_session_filter")] fn session_filter( @@ -100,7 +100,7 @@ pub trait RTSPClientExt: 'static { ) -> Vec; #[doc(alias = "gst_rtsp_client_set_auth")] - fn set_auth>(&self, auth: Option<&P>); + fn set_auth(&self, auth: Option<&impl IsA>); //#[doc(alias = "gst_rtsp_client_set_connection")] //fn set_connection(&self, conn: /*Ignored*/&mut gst_rtsp::RTSPConnection) -> bool; @@ -111,7 +111,7 @@ pub trait RTSPClientExt: 'static { fn set_content_length_limit(&self, limit: u32); #[doc(alias = "gst_rtsp_client_set_mount_points")] - fn set_mount_points>(&self, mounts: Option<&P>); + fn set_mount_points(&self, mounts: Option<&impl IsA>); //#[cfg(any(feature = "v1_16", feature = "dox"))] //#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] @@ -119,10 +119,10 @@ pub trait RTSPClientExt: 'static { //fn set_send_messages_func(&self, func: /*Unimplemented*/Fn(&RTSPClient, /*Ignored*/gst_rtsp::RTSPMessage, u32, bool) -> bool, user_data: /*Unimplemented*/Option); #[doc(alias = "gst_rtsp_client_set_session_pool")] - fn set_session_pool>(&self, pool: Option<&P>); + fn set_session_pool(&self, pool: Option<&impl IsA>); #[doc(alias = "gst_rtsp_client_set_thread_pool")] - fn set_thread_pool>(&self, pool: Option<&P>); + fn set_thread_pool(&self, pool: Option<&impl IsA>); #[doc(alias = "drop-backlog")] fn is_drop_backlog(&self) -> bool; @@ -406,7 +406,7 @@ impl> RTSPClientExt for O { // unsafe { TODO: call ffi:gst_rtsp_client_handle_message() } //} - //fn send_message>(&self, session: Option<&P>, message: /*Ignored*/&mut gst_rtsp::RTSPMessage) -> gst_rtsp::RTSPResult { + //fn send_message(&self, session: Option<&impl IsA>, message: /*Ignored*/&mut gst_rtsp::RTSPMessage) -> gst_rtsp::RTSPResult { // unsafe { TODO: call ffi:gst_rtsp_client_send_message() } //} @@ -451,7 +451,7 @@ impl> RTSPClientExt for O { } } - fn set_auth>(&self, auth: Option<&P>) { + fn set_auth(&self, auth: Option<&impl IsA>) { unsafe { ffi::gst_rtsp_client_set_auth( self.as_ref().to_glib_none().0, @@ -472,7 +472,7 @@ impl> RTSPClientExt for O { } } - fn set_mount_points>(&self, mounts: Option<&P>) { + fn set_mount_points(&self, mounts: Option<&impl IsA>) { unsafe { ffi::gst_rtsp_client_set_mount_points( self.as_ref().to_glib_none().0, @@ -487,7 +487,7 @@ impl> RTSPClientExt for O { // unsafe { TODO: call ffi:gst_rtsp_client_set_send_messages_func() } //} - fn set_session_pool>(&self, pool: Option<&P>) { + fn set_session_pool(&self, pool: Option<&impl IsA>) { unsafe { ffi::gst_rtsp_client_set_session_pool( self.as_ref().to_glib_none().0, @@ -496,7 +496,7 @@ impl> RTSPClientExt for O { } } - fn set_thread_pool>(&self, pool: Option<&P>) { + fn set_thread_pool(&self, pool: Option<&impl IsA>) { unsafe { ffi::gst_rtsp_client_set_thread_pool( self.as_ref().to_glib_none().0, diff --git a/gstreamer-rtsp-server/src/auto/rtsp_media.rs b/gstreamer-rtsp-server/src/auto/rtsp_media.rs index 41309fa45..4fc11deec 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_media.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_media.rs @@ -35,7 +35,7 @@ glib::wrapper! { impl RTSPMedia { #[doc(alias = "gst_rtsp_media_new")] - pub fn new>(element: &P) -> RTSPMedia { + pub fn new(element: &impl IsA) -> RTSPMedia { assert_initialized_main_thread!(); unsafe { from_glib_full(ffi::gst_rtsp_media_new(element.as_ref().to_glib_full())) } } @@ -56,10 +56,10 @@ pub trait RTSPMediaExt: 'static { //fn complete_pipeline(&self, transports: /*Ignored*/&[&gst_rtsp::RTSPTransport]) -> bool; #[doc(alias = "gst_rtsp_media_create_stream")] - fn create_stream, Q: IsA>( + fn create_stream( &self, - payloader: &P, - pad: &Q, + payloader: &impl IsA, + pad: &impl IsA, ) -> Option; #[doc(alias = "gst_rtsp_media_find_stream")] @@ -230,7 +230,7 @@ pub trait RTSPMediaExt: 'static { //fn seekable(&self) -> /*Ignored*/gst::ClockTimeDiff; #[doc(alias = "gst_rtsp_media_set_address_pool")] - fn set_address_pool>(&self, pool: Option<&P>); + fn set_address_pool(&self, pool: Option<&impl IsA>); #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] @@ -241,7 +241,7 @@ pub trait RTSPMediaExt: 'static { fn set_buffer_size(&self, size: u32); #[doc(alias = "gst_rtsp_media_set_clock")] - fn set_clock>(&self, clock: Option<&P>); + fn set_clock(&self, clock: Option<&impl IsA>); #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] @@ -473,10 +473,10 @@ impl> RTSPMediaExt for O { // unsafe { TODO: call ffi:gst_rtsp_media_complete_pipeline() } //} - fn create_stream, Q: IsA>( + fn create_stream( &self, - payloader: &P, - pad: &Q, + payloader: &impl IsA, + pad: &impl IsA, ) -> Option { unsafe { from_glib_none(ffi::gst_rtsp_media_create_stream( @@ -803,7 +803,7 @@ impl> RTSPMediaExt for O { // unsafe { TODO: call ffi:gst_rtsp_media_seekable() } //} - fn set_address_pool>(&self, pool: Option<&P>) { + fn set_address_pool(&self, pool: Option<&impl IsA>) { unsafe { ffi::gst_rtsp_media_set_address_pool( self.as_ref().to_glib_none().0, @@ -829,7 +829,7 @@ impl> RTSPMediaExt for O { } } - fn set_clock>(&self, clock: Option<&P>) { + fn set_clock(&self, clock: Option<&impl IsA>) { unsafe { ffi::gst_rtsp_media_set_clock( self.as_ref().to_glib_none().0, diff --git a/gstreamer-rtsp-server/src/auto/rtsp_media_factory.rs b/gstreamer-rtsp-server/src/auto/rtsp_media_factory.rs index 8390ee310..fe6a8de78 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_media_factory.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_media_factory.rs @@ -150,7 +150,7 @@ pub trait RTSPMediaFactoryExt: 'static { fn is_stop_on_disonnect(&self) -> bool; #[doc(alias = "gst_rtsp_media_factory_set_address_pool")] - fn set_address_pool>(&self, pool: Option<&P>); + fn set_address_pool(&self, pool: Option<&impl IsA>); #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] @@ -161,7 +161,7 @@ pub trait RTSPMediaFactoryExt: 'static { fn set_buffer_size(&self, size: u32); #[doc(alias = "gst_rtsp_media_factory_set_clock")] - fn set_clock>(&self, clock: Option<&P>); + fn set_clock(&self, clock: Option<&impl IsA>); #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] @@ -531,7 +531,7 @@ impl> RTSPMediaFactoryExt for O { } } - fn set_address_pool>(&self, pool: Option<&P>) { + fn set_address_pool(&self, pool: Option<&impl IsA>) { unsafe { ffi::gst_rtsp_media_factory_set_address_pool( self.as_ref().to_glib_none().0, @@ -557,7 +557,7 @@ impl> RTSPMediaFactoryExt for O { } } - fn set_clock>(&self, clock: Option<&P>) { + fn set_clock(&self, clock: Option<&impl IsA>) { unsafe { ffi::gst_rtsp_media_factory_set_clock( self.as_ref().to_glib_none().0, diff --git a/gstreamer-rtsp-server/src/auto/rtsp_mount_points.rs b/gstreamer-rtsp-server/src/auto/rtsp_mount_points.rs index c30e22ea4..72efc7428 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_mount_points.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_mount_points.rs @@ -38,7 +38,7 @@ pub const NONE_RTSP_MOUNT_POINTS: Option<&RTSPMountPoints> = None; pub trait RTSPMountPointsExt: 'static { #[doc(alias = "gst_rtsp_mount_points_add_factory")] - fn add_factory>(&self, path: &str, factory: &P); + fn add_factory(&self, path: &str, factory: &impl IsA); #[doc(alias = "gst_rtsp_mount_points_make_path")] fn make_path(&self, url: &gst_rtsp::RTSPUrl) -> Result; @@ -52,7 +52,7 @@ pub trait RTSPMountPointsExt: 'static { } impl> RTSPMountPointsExt for O { - fn add_factory>(&self, path: &str, factory: &P) { + fn add_factory(&self, path: &str, factory: &impl IsA) { unsafe { ffi::gst_rtsp_mount_points_add_factory( self.as_ref().to_glib_none().0, diff --git a/gstreamer-rtsp-server/src/auto/rtsp_server.rs b/gstreamer-rtsp-server/src/auto/rtsp_server.rs index 4cffeadce..df8b17a10 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_server.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_server.rs @@ -37,10 +37,10 @@ impl RTSPServer { } #[doc(alias = "gst_rtsp_server_io_func")] - pub fn io_func, Q: IsA>( - socket: &P, + pub fn io_func( + socket: &impl IsA, condition: glib::IOCondition, - server: &Q, + server: &impl IsA, ) -> Result<(), glib::error::BoolError> { skip_assert_initialized!(); unsafe { @@ -75,15 +75,15 @@ pub trait RTSPServerExt: 'static { ) -> Vec; #[doc(alias = "gst_rtsp_server_create_socket")] - fn create_socket>( + fn create_socket( &self, - cancellable: Option<&P>, + cancellable: Option<&impl IsA>, ) -> Result; #[doc(alias = "gst_rtsp_server_create_source")] - fn create_source>( + fn create_source( &self, - cancellable: Option<&P>, + cancellable: Option<&impl IsA>, ) -> Result; #[doc(alias = "gst_rtsp_server_get_address")] @@ -128,7 +128,7 @@ pub trait RTSPServerExt: 'static { fn set_address(&self, address: &str); #[doc(alias = "gst_rtsp_server_set_auth")] - fn set_auth>(&self, auth: Option<&P>); + fn set_auth(&self, auth: Option<&impl IsA>); #[doc(alias = "gst_rtsp_server_set_backlog")] fn set_backlog(&self, backlog: i32); @@ -139,21 +139,21 @@ pub trait RTSPServerExt: 'static { fn set_content_length_limit(&self, limit: u32); #[doc(alias = "gst_rtsp_server_set_mount_points")] - fn set_mount_points>(&self, mounts: Option<&P>); + fn set_mount_points(&self, mounts: Option<&impl IsA>); #[doc(alias = "gst_rtsp_server_set_service")] fn set_service(&self, service: &str); #[doc(alias = "gst_rtsp_server_set_session_pool")] - fn set_session_pool>(&self, pool: Option<&P>); + fn set_session_pool(&self, pool: Option<&impl IsA>); #[doc(alias = "gst_rtsp_server_set_thread_pool")] - fn set_thread_pool>(&self, pool: Option<&P>); + fn set_thread_pool(&self, pool: Option<&impl IsA>); #[doc(alias = "gst_rtsp_server_transfer_connection")] - fn transfer_connection>( + fn transfer_connection( &self, - socket: &P, + socket: &impl IsA, ip: &str, port: i32, initial_buffer: Option<&str>, @@ -250,9 +250,9 @@ impl> RTSPServerExt for O { } } - fn create_socket>( + fn create_socket( &self, - cancellable: Option<&P>, + cancellable: Option<&impl IsA>, ) -> Result { unsafe { let mut error = ptr::null_mut(); @@ -269,9 +269,9 @@ impl> RTSPServerExt for O { } } - fn create_source>( + fn create_source( &self, - cancellable: Option<&P>, + cancellable: Option<&impl IsA>, ) -> Result { unsafe { let mut error = ptr::null_mut(); @@ -359,7 +359,7 @@ impl> RTSPServerExt for O { } } - fn set_auth>(&self, auth: Option<&P>) { + fn set_auth(&self, auth: Option<&impl IsA>) { unsafe { ffi::gst_rtsp_server_set_auth( self.as_ref().to_glib_none().0, @@ -382,7 +382,7 @@ impl> RTSPServerExt for O { } } - fn set_mount_points>(&self, mounts: Option<&P>) { + fn set_mount_points(&self, mounts: Option<&impl IsA>) { unsafe { ffi::gst_rtsp_server_set_mount_points( self.as_ref().to_glib_none().0, @@ -400,7 +400,7 @@ impl> RTSPServerExt for O { } } - fn set_session_pool>(&self, pool: Option<&P>) { + fn set_session_pool(&self, pool: Option<&impl IsA>) { unsafe { ffi::gst_rtsp_server_set_session_pool( self.as_ref().to_glib_none().0, @@ -409,7 +409,7 @@ impl> RTSPServerExt for O { } } - fn set_thread_pool>(&self, pool: Option<&P>) { + fn set_thread_pool(&self, pool: Option<&impl IsA>) { unsafe { ffi::gst_rtsp_server_set_thread_pool( self.as_ref().to_glib_none().0, @@ -418,9 +418,9 @@ impl> RTSPServerExt for O { } } - fn transfer_connection>( + fn transfer_connection( &self, - socket: &P, + socket: &impl IsA, ip: &str, port: i32, initial_buffer: Option<&str>, diff --git a/gstreamer-rtsp-server/src/auto/rtsp_session.rs b/gstreamer-rtsp-server/src/auto/rtsp_session.rs index fe3c08416..c04493764 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_session.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_session.rs @@ -72,10 +72,10 @@ pub trait RTSPSessionExt: 'static { fn is_expired_usec(&self, now: i64) -> bool; #[doc(alias = "gst_rtsp_session_manage_media")] - fn manage_media>( + fn manage_media( &self, path: &str, - media: &P, + media: &impl IsA, ) -> Result; //#[doc(alias = "gst_rtsp_session_next_timeout")] @@ -88,7 +88,7 @@ pub trait RTSPSessionExt: 'static { fn prevent_expire(&self); #[doc(alias = "gst_rtsp_session_release_media")] - fn release_media>(&self, media: &P) -> bool; + fn release_media(&self, media: &impl IsA) -> bool; #[doc(alias = "gst_rtsp_session_set_timeout")] fn set_timeout(&self, timeout: u32); @@ -222,10 +222,10 @@ impl> RTSPSessionExt for O { } } - fn manage_media>( + fn manage_media( &self, path: &str, - media: &P, + media: &impl IsA, ) -> Result { unsafe { Option::<_>::from_glib_none(ffi::gst_rtsp_session_manage_media( @@ -251,7 +251,7 @@ impl> RTSPSessionExt for O { } } - fn release_media>(&self, media: &P) -> bool { + fn release_media(&self, media: &impl IsA) -> bool { unsafe { from_glib(ffi::gst_rtsp_session_release_media( self.as_ref().to_glib_none().0, diff --git a/gstreamer-rtsp-server/src/auto/rtsp_session_media.rs b/gstreamer-rtsp-server/src/auto/rtsp_session_media.rs index 3ee678e33..f2c6164f5 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_session_media.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_session_media.rs @@ -20,7 +20,7 @@ glib::wrapper! { impl RTSPSessionMedia { #[doc(alias = "gst_rtsp_session_media_new")] - pub fn new>(path: &str, media: &P) -> RTSPSessionMedia { + pub fn new(path: &str, media: &impl IsA) -> RTSPSessionMedia { skip_assert_initialized!(); unsafe { from_glib_full(ffi::gst_rtsp_session_media_new( @@ -76,7 +76,7 @@ pub trait RTSPSessionMediaExt: 'static { fn set_state(&self, state: gst::State) -> Result<(), glib::error::BoolError>; //#[doc(alias = "gst_rtsp_session_media_set_transport")] - //fn set_transport>(&self, stream: &P, tr: /*Ignored*/&mut gst_rtsp::RTSPTransport) -> Option; + //fn set_transport(&self, stream: &impl IsA, tr: /*Ignored*/&mut gst_rtsp::RTSPTransport) -> Option; } impl> RTSPSessionMediaExt for O { @@ -164,7 +164,7 @@ impl> RTSPSessionMediaExt for O { } } - //fn set_transport>(&self, stream: &P, tr: /*Ignored*/&mut gst_rtsp::RTSPTransport) -> Option { + //fn set_transport(&self, stream: &impl IsA, tr: /*Ignored*/&mut gst_rtsp::RTSPTransport) -> Option { // unsafe { TODO: call ffi:gst_rtsp_session_media_set_transport() } //} } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs b/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs index 7b177364a..b448e0434 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs @@ -66,7 +66,7 @@ pub trait RTSPSessionPoolExt: 'static { fn n_sessions(&self) -> u32; #[doc(alias = "gst_rtsp_session_pool_remove")] - fn remove>(&self, sess: &P) -> Result<(), glib::error::BoolError>; + fn remove(&self, sess: &impl IsA) -> Result<(), glib::error::BoolError>; #[doc(alias = "gst_rtsp_session_pool_set_max_sessions")] fn set_max_sessions(&self, max: u32); @@ -159,7 +159,7 @@ impl> RTSPSessionPoolExt for O { unsafe { ffi::gst_rtsp_session_pool_get_n_sessions(self.as_ref().to_glib_none().0) } } - fn remove>(&self, sess: &P) -> Result<(), glib::error::BoolError> { + fn remove(&self, sess: &impl IsA) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::gst_rtsp_session_pool_remove( diff --git a/gstreamer-rtsp-server/src/auto/rtsp_stream.rs b/gstreamer-rtsp-server/src/auto/rtsp_stream.rs index c1f4dd8ca..831e86321 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_stream.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_stream.rs @@ -28,10 +28,10 @@ glib::wrapper! { impl RTSPStream { #[doc(alias = "gst_rtsp_stream_new")] - pub fn new, Q: IsA>( + pub fn new( idx: u32, - payloader: &P, - pad: &Q, + payloader: &impl IsA, + pad: &impl IsA, ) -> RTSPStream { assert_initialized_main_thread!(); unsafe { @@ -62,9 +62,9 @@ pub trait RTSPStreamExt: 'static { ) -> bool; #[doc(alias = "gst_rtsp_stream_add_transport")] - fn add_transport>( + fn add_transport( &self, - trans: &P, + trans: &impl IsA, ) -> Result<(), glib::error::BoolError>; //#[doc(alias = "gst_rtsp_stream_allocate_udp_sockets")] @@ -267,18 +267,18 @@ pub trait RTSPStreamExt: 'static { //fn is_transport_supported(&self, transport: /*Ignored*/&mut gst_rtsp::RTSPTransport) -> bool; #[doc(alias = "gst_rtsp_stream_join_bin")] - fn join_bin, Q: IsA>( + fn join_bin( &self, - bin: &P, - rtpbin: &Q, + bin: &impl IsA, + rtpbin: &impl IsA, state: gst::State, ) -> Result<(), glib::error::BoolError>; #[doc(alias = "gst_rtsp_stream_leave_bin")] - fn leave_bin, Q: IsA>( + fn leave_bin( &self, - bin: &P, - rtpbin: &Q, + bin: &impl IsA, + rtpbin: &impl IsA, ) -> Result<(), glib::error::BoolError>; #[doc(alias = "gst_rtsp_stream_recv_rtcp")] @@ -288,9 +288,9 @@ pub trait RTSPStreamExt: 'static { fn recv_rtp(&self, buffer: &gst::Buffer) -> Result; #[doc(alias = "gst_rtsp_stream_remove_transport")] - fn remove_transport>( + fn remove_transport( &self, - trans: &P, + trans: &impl IsA, ) -> Result<(), glib::error::BoolError>; #[cfg(any(feature = "v1_16", feature = "dox"))] @@ -304,9 +304,9 @@ pub trait RTSPStreamExt: 'static { #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] #[doc(alias = "gst_rtsp_stream_request_ulpfec_decoder")] - fn request_ulpfec_decoder>( + fn request_ulpfec_decoder( &self, - rtpbin: &P, + rtpbin: &impl IsA, sessid: u32, ) -> Option; @@ -330,7 +330,7 @@ pub trait RTSPStreamExt: 'static { fn seekable(&self) -> bool; #[doc(alias = "gst_rtsp_stream_set_address_pool")] - fn set_address_pool>(&self, pool: Option<&P>); + fn set_address_pool(&self, pool: Option<&impl IsA>); #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] @@ -476,9 +476,9 @@ impl> RTSPStreamExt for O { } } - fn add_transport>( + fn add_transport( &self, - trans: &P, + trans: &impl IsA, ) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( @@ -865,10 +865,10 @@ impl> RTSPStreamExt for O { // unsafe { TODO: call ffi:gst_rtsp_stream_is_transport_supported() } //} - fn join_bin, Q: IsA>( + fn join_bin( &self, - bin: &P, - rtpbin: &Q, + bin: &impl IsA, + rtpbin: &impl IsA, state: gst::State, ) -> Result<(), glib::error::BoolError> { unsafe { @@ -884,10 +884,10 @@ impl> RTSPStreamExt for O { } } - fn leave_bin, Q: IsA>( + fn leave_bin( &self, - bin: &P, - rtpbin: &Q, + bin: &impl IsA, + rtpbin: &impl IsA, ) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( @@ -919,9 +919,9 @@ impl> RTSPStreamExt for O { } } - fn remove_transport>( + fn remove_transport( &self, - trans: &P, + trans: &impl IsA, ) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( @@ -956,9 +956,9 @@ impl> RTSPStreamExt for O { #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] - fn request_ulpfec_decoder>( + fn request_ulpfec_decoder( &self, - rtpbin: &P, + rtpbin: &impl IsA, sessid: u32, ) -> Option { unsafe { @@ -1009,7 +1009,7 @@ impl> RTSPStreamExt for O { } } - fn set_address_pool>(&self, pool: Option<&P>) { + fn set_address_pool(&self, pool: Option<&impl IsA>) { unsafe { ffi::gst_rtsp_stream_set_address_pool( self.as_ref().to_glib_none().0, diff --git a/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs b/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs index c64df853e..5ebdb49e1 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs @@ -19,7 +19,7 @@ glib::wrapper! { impl RTSPStreamTransport { //#[doc(alias = "gst_rtsp_stream_transport_new")] - //pub fn new>(stream: &P, tr: /*Ignored*/&mut gst_rtsp::RTSPTransport) -> RTSPStreamTransport { + //pub fn new(stream: &impl IsA, tr: /*Ignored*/&mut gst_rtsp::RTSPTransport) -> RTSPStreamTransport { // unsafe { TODO: call ffi:gst_rtsp_stream_transport_new() } //} } diff --git a/gstreamer-rtsp-server/src/auto/versions.txt b/gstreamer-rtsp-server/src/auto/versions.txt index 1b3795c83..4a7c11860 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 @ f64f90a) +Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) diff --git a/gstreamer-rtsp-server/sys/build.rs b/gstreamer-rtsp-server/sys/build.rs index 65da173c5..4aee5f36a 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/sys/src/lib.rs b/gstreamer-rtsp-server/sys/src/lib.rs index 549a8cd54..e0b0a7698 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/sys/tests/abi.rs b/gstreamer-rtsp-server/sys/tests/abi.rs index 7eab728c8..8535a8bc8 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/sys/tests/constant.c b/gstreamer-rtsp-server/sys/tests/constant.c index 26eccbd99..1304aac5a 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/sys/tests/layout.c b/gstreamer-rtsp-server/sys/tests/layout.c index 896ffcdeb..0b37397eb 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-rtsp/src/auto/versions.txt b/gstreamer-rtsp/src/auto/versions.txt index 1b3795c83..4a7c11860 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 @ f64f90a) +Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) diff --git a/gstreamer-rtsp/sys/build.rs b/gstreamer-rtsp/sys/build.rs index 65da173c5..4aee5f36a 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-rtsp/sys/src/lib.rs b/gstreamer-rtsp/sys/src/lib.rs index 953e69b81..d506381ec 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-rtsp/sys/tests/abi.rs b/gstreamer-rtsp/sys/tests/abi.rs index 09f494c46..c4a5f0ccd 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-rtsp/sys/tests/constant.c b/gstreamer-rtsp/sys/tests/constant.c index bcc5be9c5..a2c6c386b 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-rtsp/sys/tests/layout.c b/gstreamer-rtsp/sys/tests/layout.c index 67876ca3e..3b3a955b3 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-sdp/src/auto/versions.txt b/gstreamer-sdp/src/auto/versions.txt index 1b3795c83..4a7c11860 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 @ f64f90a) +Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) diff --git a/gstreamer-sdp/sys/build.rs b/gstreamer-sdp/sys/build.rs index 65da173c5..4aee5f36a 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-sdp/sys/src/lib.rs b/gstreamer-sdp/sys/src/lib.rs index fd2b05456..93c7e768d 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-sdp/sys/tests/abi.rs b/gstreamer-sdp/sys/tests/abi.rs index 42e1b4888..b6a912492 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-sdp/sys/tests/constant.c b/gstreamer-sdp/sys/tests/constant.c index 1222793d4..3d266dac0 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-sdp/sys/tests/layout.c b/gstreamer-sdp/sys/tests/layout.c index 50892dd6c..3f812e69a 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-tag/sys/build.rs b/gstreamer-tag/sys/build.rs index 65da173c5..4aee5f36a 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-tag/sys/src/lib.rs b/gstreamer-tag/sys/src/lib.rs index c24e85255..605f53adb 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-tag/sys/tests/abi.rs b/gstreamer-tag/sys/tests/abi.rs index 707d9712f..0aa3c0bf2 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-tag/sys/tests/constant.c b/gstreamer-tag/sys/tests/constant.c index a22280779..51441d6d1 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-tag/sys/tests/layout.c b/gstreamer-tag/sys/tests/layout.c index f41943ebd..efb6d72e2 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-video/src/auto/versions.txt b/gstreamer-video/src/auto/versions.txt index 1b3795c83..4a7c11860 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 @ f64f90a) +Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) diff --git a/gstreamer-video/sys/build.rs b/gstreamer-video/sys/build.rs index 65da173c5..4aee5f36a 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-video/sys/src/lib.rs b/gstreamer-video/sys/src/lib.rs index e4938a8c2..06416c64a 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-video/sys/tests/abi.rs b/gstreamer-video/sys/tests/abi.rs index fca5a821b..25b010c4b 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-video/sys/tests/constant.c b/gstreamer-video/sys/tests/constant.c index 00105702b..91e0c0e7f 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-video/sys/tests/layout.c b/gstreamer-video/sys/tests/layout.c index 0866c3205..16cbce0ac 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-webrtc/src/auto/versions.txt b/gstreamer-webrtc/src/auto/versions.txt index 1b3795c83..4a7c11860 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 @ f64f90a) +Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) diff --git a/gstreamer-webrtc/sys/build.rs b/gstreamer-webrtc/sys/build.rs index 65da173c5..4aee5f36a 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-webrtc/sys/src/lib.rs b/gstreamer-webrtc/sys/src/lib.rs index aa77ab86c..5290fcd77 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-webrtc/sys/tests/abi.rs b/gstreamer-webrtc/sys/tests/abi.rs index 10608a58e..baeaa8c69 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-webrtc/sys/tests/constant.c b/gstreamer-webrtc/sys/tests/constant.c index b6fbdc97c..99730c21d 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer-webrtc/sys/tests/layout.c b/gstreamer-webrtc/sys/tests/layout.c index ff56d0a90..1ee8eb687 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer/src/auto/allocator.rs b/gstreamer/src/auto/allocator.rs index 59281b084..4aead1c12 100644 --- a/gstreamer/src/auto/allocator.rs +++ b/gstreamer/src/auto/allocator.rs @@ -26,7 +26,7 @@ impl Allocator { } #[doc(alias = "gst_allocator_register")] - pub fn register>(name: &str, allocator: &P) { + pub fn register(name: &str, allocator: &impl IsA) { skip_assert_initialized!(); unsafe { ffi::gst_allocator_register(name.to_glib_none().0, allocator.as_ref().to_glib_full()); diff --git a/gstreamer/src/auto/bin.rs b/gstreamer/src/auto/bin.rs index 28c0f78b2..9331ec8cb 100644 --- a/gstreamer/src/auto/bin.rs +++ b/gstreamer/src/auto/bin.rs @@ -45,7 +45,7 @@ pub const NONE_BIN: Option<&Bin> = None; pub trait GstBinExt: 'static { #[doc(alias = "gst_bin_add")] - fn add>(&self, element: &P) -> Result<(), glib::error::BoolError>; + fn add(&self, element: &impl IsA) -> Result<(), glib::error::BoolError>; #[doc(alias = "gst_bin_find_unlinked_pad")] fn find_unlinked_pad(&self, direction: PadDirection) -> Option; @@ -72,7 +72,7 @@ pub trait GstBinExt: 'static { fn recalculate_latency(&self) -> Result<(), glib::error::BoolError>; #[doc(alias = "gst_bin_remove")] - fn remove>(&self, element: &P) -> Result<(), glib::error::BoolError>; + fn remove(&self, element: &impl IsA) -> Result<(), glib::error::BoolError>; #[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] @@ -136,7 +136,7 @@ pub trait GstBinExt: 'static { } impl> GstBinExt for O { - fn add>(&self, element: &P) -> Result<(), glib::error::BoolError> { + fn add(&self, element: &impl IsA) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::gst_bin_add( @@ -203,7 +203,7 @@ impl> GstBinExt for O { } } - fn remove>(&self, element: &P) -> Result<(), glib::error::BoolError> { + fn remove(&self, element: &impl IsA) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::gst_bin_remove( diff --git a/gstreamer/src/auto/child_proxy.rs b/gstreamer/src/auto/child_proxy.rs index 3b4c432cc..b8d30f1b7 100644 --- a/gstreamer/src/auto/child_proxy.rs +++ b/gstreamer/src/auto/child_proxy.rs @@ -27,10 +27,10 @@ pub const NONE_CHILD_PROXY: Option<&ChildProxy> = None; pub trait ChildProxyExt: 'static { #[doc(alias = "gst_child_proxy_child_added")] - fn child_added>(&self, child: &P, name: &str); + fn child_added(&self, child: &impl IsA, name: &str); #[doc(alias = "gst_child_proxy_child_removed")] - fn child_removed>(&self, child: &P, name: &str); + fn child_removed(&self, child: &impl IsA, name: &str); //#[doc(alias = "gst_child_proxy_get")] //fn get(&self, first_property_name: &str, : /*Unknown conversion*//*Unimplemented*/Fundamental: VarArgs); @@ -74,7 +74,7 @@ pub trait ChildProxyExt: 'static { } impl> ChildProxyExt for O { - fn child_added>(&self, child: &P, name: &str) { + fn child_added(&self, child: &impl IsA, name: &str) { unsafe { ffi::gst_child_proxy_child_added( self.as_ref().to_glib_none().0, @@ -84,7 +84,7 @@ impl> ChildProxyExt for O { } } - fn child_removed>(&self, child: &P, name: &str) { + fn child_removed(&self, child: &impl IsA, name: &str) { unsafe { ffi::gst_child_proxy_child_removed( self.as_ref().to_glib_none().0, diff --git a/gstreamer/src/auto/clock.rs b/gstreamer/src/auto/clock.rs index 4ed8fc571..dab794211 100644 --- a/gstreamer/src/auto/clock.rs +++ b/gstreamer/src/auto/clock.rs @@ -61,7 +61,7 @@ impl Clock { //#[cfg(any(feature = "v1_16", feature = "dox"))] //#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] //#[doc(alias = "gst_clock_id_uses_clock")] - //pub fn id_uses_clock>(id: /*Unimplemented*/ClockID, clock: &P) -> bool { + //pub fn id_uses_clock(id: /*Unimplemented*/ClockID, clock: &impl IsA) -> bool { // unsafe { TODO: call ffi:gst_clock_id_uses_clock() } //} @@ -132,7 +132,7 @@ pub trait ClockExt: 'static { ); #[doc(alias = "gst_clock_set_master")] - fn set_master>(&self, master: Option<&P>) -> Result<(), glib::error::BoolError>; + fn set_master(&self, master: Option<&impl IsA>) -> Result<(), glib::error::BoolError>; #[doc(alias = "gst_clock_set_resolution")] fn set_resolution(&self, resolution: ClockTime) -> ClockTime; @@ -330,7 +330,7 @@ impl> ClockExt for O { } } - fn set_master>(&self, master: Option<&P>) -> Result<(), glib::error::BoolError> { + fn set_master(&self, master: Option<&impl IsA>) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::gst_clock_set_master( diff --git a/gstreamer/src/auto/control_binding.rs b/gstreamer/src/auto/control_binding.rs index 323711a01..7d40f4c4f 100644 --- a/gstreamer/src/auto/control_binding.rs +++ b/gstreamer/src/auto/control_binding.rs @@ -39,9 +39,9 @@ pub trait ControlBindingExt: 'static { fn set_disabled(&self, disabled: bool); #[doc(alias = "gst_control_binding_sync_values")] - fn sync_values>( + fn sync_values( &self, - object: &P, + object: &impl IsA, timestamp: ClockTime, last_sync: impl Into>, ) -> bool; @@ -80,9 +80,9 @@ impl> ControlBindingExt for O { } } - fn sync_values>( + fn sync_values( &self, - object: &P, + object: &impl IsA, timestamp: ClockTime, last_sync: impl Into>, ) -> bool { diff --git a/gstreamer/src/auto/device.rs b/gstreamer/src/auto/device.rs index 70639ab81..761819fde 100644 --- a/gstreamer/src/auto/device.rs +++ b/gstreamer/src/auto/device.rs @@ -56,9 +56,9 @@ pub trait DeviceExt: 'static { fn has_classesv(&self, classes: &[&str]) -> bool; #[doc(alias = "gst_device_reconfigure_element")] - fn reconfigure_element>( + fn reconfigure_element( &self, - element: &P, + element: &impl IsA, ) -> Result<(), glib::error::BoolError>; #[doc(alias = "removed")] @@ -122,9 +122,9 @@ impl> DeviceExt for O { } } - fn reconfigure_element>( + fn reconfigure_element( &self, - element: &P, + element: &impl IsA, ) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( diff --git a/gstreamer/src/auto/device_provider.rs b/gstreamer/src/auto/device_provider.rs index 0ce7e7f71..a3ab7d94b 100644 --- a/gstreamer/src/auto/device_provider.rs +++ b/gstreamer/src/auto/device_provider.rs @@ -34,15 +34,15 @@ pub trait DeviceProviderExt: 'static { fn can_monitor(&self) -> bool; #[doc(alias = "gst_device_provider_device_add")] - fn device_add>(&self, device: &P); + fn device_add(&self, device: &impl IsA); #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] #[doc(alias = "gst_device_provider_device_changed")] - fn device_changed, Q: IsA>(&self, device: &P, changed_device: &Q); + fn device_changed(&self, device: &impl IsA, changed_device: &impl IsA); #[doc(alias = "gst_device_provider_device_remove")] - fn device_remove>(&self, device: &P); + fn device_remove(&self, device: &impl IsA); #[doc(alias = "gst_device_provider_get_bus")] #[doc(alias = "get_bus")] @@ -99,7 +99,7 @@ impl> DeviceProviderExt for O { } } - fn device_add>(&self, device: &P) { + fn device_add(&self, device: &impl IsA) { unsafe { ffi::gst_device_provider_device_add( self.as_ref().to_glib_none().0, @@ -110,7 +110,7 @@ impl> DeviceProviderExt for O { #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] - fn device_changed, Q: IsA>(&self, device: &P, changed_device: &Q) { + fn device_changed(&self, device: &impl IsA, changed_device: &impl IsA) { unsafe { ffi::gst_device_provider_device_changed( self.as_ref().to_glib_none().0, @@ -120,7 +120,7 @@ impl> DeviceProviderExt for O { } } - fn device_remove>(&self, device: &P) { + fn device_remove(&self, device: &impl IsA) { unsafe { ffi::gst_device_provider_device_remove( self.as_ref().to_glib_none().0, diff --git a/gstreamer/src/auto/element.rs b/gstreamer/src/auto/element.rs index a9bd26151..14bfb4d54 100644 --- a/gstreamer/src/auto/element.rs +++ b/gstreamer/src/auto/element.rs @@ -73,7 +73,7 @@ pub trait ElementExt: 'static { fn abort_state(&self); #[doc(alias = "gst_element_add_pad")] - fn add_pad>(&self, pad: &P) -> Result<(), glib::error::BoolError>; + fn add_pad(&self, pad: &impl IsA) -> Result<(), glib::error::BoolError>; #[doc(alias = "gst_element_change_state")] fn change_state(&self, transition: StateChange) @@ -117,7 +117,7 @@ pub trait ElementExt: 'static { #[doc(alias = "gst_element_get_compatible_pad")] #[doc(alias = "get_compatible_pad")] - fn compatible_pad>(&self, pad: &P, caps: Option<&Caps>) -> Option; + fn compatible_pad(&self, pad: &impl IsA, caps: Option<&Caps>) -> Option; #[doc(alias = "gst_element_get_compatible_pad_template")] #[doc(alias = "get_compatible_pad_template")] @@ -154,37 +154,37 @@ pub trait ElementExt: 'static { fn is_locked_state(&self) -> bool; #[doc(alias = "gst_element_link")] - fn link>(&self, dest: &P) -> Result<(), glib::error::BoolError>; + fn link(&self, dest: &impl IsA) -> Result<(), glib::error::BoolError>; #[doc(alias = "gst_element_link_filtered")] - fn link_filtered>( + fn link_filtered( &self, - dest: &P, + dest: &impl IsA, filter: &Caps, ) -> Result<(), glib::error::BoolError>; #[doc(alias = "gst_element_link_pads")] - fn link_pads>( + fn link_pads( &self, srcpadname: Option<&str>, - dest: &P, + dest: &impl IsA, destpadname: Option<&str>, ) -> Result<(), glib::error::BoolError>; #[doc(alias = "gst_element_link_pads_filtered")] - fn link_pads_filtered>( + fn link_pads_filtered( &self, srcpadname: Option<&str>, - dest: &P, + dest: &impl IsA, destpadname: Option<&str>, filter: &Caps, ) -> Result<(), glib::error::BoolError>; #[doc(alias = "gst_element_link_pads_full")] - fn link_pads_full>( + fn link_pads_full( &self, srcpadname: Option<&str>, - dest: &P, + dest: &impl IsA, destpadname: Option<&str>, flags: PadLinkCheck, ) -> Result<(), glib::error::BoolError>; @@ -199,10 +199,10 @@ pub trait ElementExt: 'static { fn provide_clock(&self) -> Option; #[doc(alias = "gst_element_release_request_pad")] - fn release_request_pad>(&self, pad: &P); + fn release_request_pad(&self, pad: &impl IsA); #[doc(alias = "gst_element_remove_pad")] - fn remove_pad>(&self, pad: &P) -> Result<(), glib::error::BoolError>; + fn remove_pad(&self, pad: &impl IsA) -> Result<(), glib::error::BoolError>; #[doc(alias = "gst_element_request_pad")] fn request_pad( @@ -224,7 +224,7 @@ pub trait ElementExt: 'static { fn set_bus(&self, bus: Option<&Bus>); #[doc(alias = "gst_element_set_clock")] - fn set_clock>(&self, clock: Option<&P>) -> Result<(), glib::error::BoolError>; + fn set_clock(&self, clock: Option<&impl IsA>) -> Result<(), glib::error::BoolError>; #[doc(alias = "gst_element_set_context")] fn set_context(&self, context: &Context); @@ -242,10 +242,10 @@ pub trait ElementExt: 'static { fn sync_state_with_parent(&self) -> Result<(), glib::error::BoolError>; #[doc(alias = "gst_element_unlink")] - fn unlink>(&self, dest: &P); + fn unlink(&self, dest: &impl IsA); #[doc(alias = "gst_element_unlink_pads")] - fn unlink_pads>(&self, srcpadname: &str, dest: &P, destpadname: &str); + fn unlink_pads(&self, srcpadname: &str, dest: &impl IsA, destpadname: &str); #[doc(alias = "no-more-pads")] fn connect_no_more_pads(&self, f: F) -> SignalHandlerId; @@ -270,7 +270,7 @@ impl> ElementExt for O { } } - fn add_pad>(&self, pad: &P) -> Result<(), glib::error::BoolError> { + fn add_pad(&self, pad: &impl IsA) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::gst_element_add_pad( @@ -406,7 +406,7 @@ impl> ElementExt for O { unsafe { from_glib_full(ffi::gst_element_get_clock(self.as_ref().to_glib_none().0)) } } - fn compatible_pad>(&self, pad: &P, caps: Option<&Caps>) -> Option { + fn compatible_pad(&self, pad: &impl IsA, caps: Option<&Caps>) -> Option { unsafe { from_glib_full(ffi::gst_element_get_compatible_pad( self.as_ref().to_glib_none().0, @@ -490,7 +490,7 @@ impl> ElementExt for O { } } - fn link>(&self, dest: &P) -> Result<(), glib::error::BoolError> { + fn link(&self, dest: &impl IsA) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::gst_element_link( @@ -502,9 +502,9 @@ impl> ElementExt for O { } } - fn link_filtered>( + fn link_filtered( &self, - dest: &P, + dest: &impl IsA, filter: &Caps, ) -> Result<(), glib::error::BoolError> { unsafe { @@ -519,10 +519,10 @@ impl> ElementExt for O { } } - fn link_pads>( + fn link_pads( &self, srcpadname: Option<&str>, - dest: &P, + dest: &impl IsA, destpadname: Option<&str>, ) -> Result<(), glib::error::BoolError> { unsafe { @@ -538,10 +538,10 @@ impl> ElementExt for O { } } - fn link_pads_filtered>( + fn link_pads_filtered( &self, srcpadname: Option<&str>, - dest: &P, + dest: &impl IsA, destpadname: Option<&str>, filter: &Caps, ) -> Result<(), glib::error::BoolError> { @@ -559,10 +559,10 @@ impl> ElementExt for O { } } - fn link_pads_full>( + fn link_pads_full( &self, srcpadname: Option<&str>, - dest: &P, + dest: &impl IsA, destpadname: Option<&str>, flags: PadLinkCheck, ) -> Result<(), glib::error::BoolError> { @@ -600,7 +600,7 @@ impl> ElementExt for O { } } - fn release_request_pad>(&self, pad: &P) { + fn release_request_pad(&self, pad: &impl IsA) { unsafe { ffi::gst_element_release_request_pad( self.as_ref().to_glib_none().0, @@ -609,7 +609,7 @@ impl> ElementExt for O { } } - fn remove_pad>(&self, pad: &P) -> Result<(), glib::error::BoolError> { + fn remove_pad(&self, pad: &impl IsA) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::gst_element_remove_pad( @@ -660,7 +660,7 @@ impl> ElementExt for O { } } - fn set_clock>(&self, clock: Option<&P>) -> Result<(), glib::error::BoolError> { + fn set_clock(&self, clock: Option<&impl IsA>) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::gst_element_set_clock( @@ -714,7 +714,7 @@ impl> ElementExt for O { } } - fn unlink>(&self, dest: &P) { + fn unlink(&self, dest: &impl IsA) { unsafe { ffi::gst_element_unlink( self.as_ref().to_glib_none().0, @@ -723,7 +723,7 @@ impl> ElementExt for O { } } - fn unlink_pads>(&self, srcpadname: &str, dest: &P, destpadname: &str) { + fn unlink_pads(&self, srcpadname: &str, dest: &impl IsA, destpadname: &str) { unsafe { ffi::gst_element_unlink_pads( self.as_ref().to_glib_none().0, diff --git a/gstreamer/src/auto/functions.rs b/gstreamer/src/auto/functions.rs index 8a1b136ca..f13b4cbe2 100644 --- a/gstreamer/src/auto/functions.rs +++ b/gstreamer/src/auto/functions.rs @@ -33,7 +33,7 @@ pub fn debug_add_ring_buffer_logger(max_size_per_thread: u32, thread_timeout: u3 } #[doc(alias = "gst_debug_bin_to_dot_data")] -pub fn debug_bin_to_dot_data>(bin: &P, details: DebugGraphDetails) -> glib::GString { +pub fn debug_bin_to_dot_data(bin: &impl IsA, details: DebugGraphDetails) -> glib::GString { skip_assert_initialized!(); unsafe { from_glib_full(ffi::gst_debug_bin_to_dot_data( @@ -44,10 +44,10 @@ pub fn debug_bin_to_dot_data>(bin: &P, details: DebugGraphDetails) - } #[doc(alias = "gst_debug_bin_to_dot_file")] -pub fn debug_bin_to_dot_file, Q: AsRef>( - bin: &P, +pub fn debug_bin_to_dot_file( + bin: &impl IsA, details: DebugGraphDetails, - file_name: Q, + file_name: impl AsRef, ) { skip_assert_initialized!(); unsafe { @@ -60,10 +60,10 @@ pub fn debug_bin_to_dot_file, Q: AsRef>( } #[doc(alias = "gst_debug_bin_to_dot_file_with_ts")] -pub fn debug_bin_to_dot_file_with_ts, Q: AsRef>( - bin: &P, +pub fn debug_bin_to_dot_file_with_ts( + bin: &impl IsA, details: DebugGraphDetails, - file_name: Q, + file_name: impl AsRef, ) { skip_assert_initialized!(); unsafe { diff --git a/gstreamer/src/auto/ghost_pad.rs b/gstreamer/src/auto/ghost_pad.rs index 3e42b5889..2c14dc5bd 100644 --- a/gstreamer/src/auto/ghost_pad.rs +++ b/gstreamer/src/auto/ghost_pad.rs @@ -29,7 +29,7 @@ pub trait GhostPadExt: 'static { fn target(&self) -> Option; #[doc(alias = "gst_ghost_pad_set_target")] - fn set_target>(&self, newtarget: Option<&P>) -> Result<(), glib::error::BoolError>; + fn set_target(&self, newtarget: Option<&impl IsA>) -> Result<(), glib::error::BoolError>; } impl> GhostPadExt for O { @@ -41,7 +41,7 @@ impl> GhostPadExt for O { } } - fn set_target>(&self, newtarget: Option<&P>) -> Result<(), glib::error::BoolError> { + fn set_target(&self, newtarget: Option<&impl IsA>) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::gst_ghost_pad_set_target( diff --git a/gstreamer/src/auto/object.rs b/gstreamer/src/auto/object.rs index 04aefb735..0e3acfdd9 100644 --- a/gstreamer/src/auto/object.rs +++ b/gstreamer/src/auto/object.rs @@ -36,12 +36,12 @@ impl Object { } //#[doc(alias = "gst_object_default_deep_notify")] - //pub fn default_deep_notify, Q: IsA>(object: &P, orig: &Q, pspec: /*Ignored*/&glib::ParamSpec, excluded_props: &[&str]) { + //pub fn default_deep_notify(object: &impl IsA, orig: &impl IsA, pspec: /*Ignored*/&glib::ParamSpec, excluded_props: &[&str]) { // unsafe { TODO: call ffi:gst_object_default_deep_notify() } //} //#[doc(alias = "gst_object_replace")] - //pub fn replace, Q: IsA>(oldobj: Option

, newobj: Option<&Q>) -> bool { + //pub fn replace(oldobj: Option>, newobj: Option<&impl IsA>) -> bool { // unsafe { TODO: call ffi:gst_object_replace() } //} } @@ -60,9 +60,9 @@ pub const NONE_OBJECT: Option<&Object> = None; pub trait GstObjectExt: 'static { #[doc(alias = "gst_object_add_control_binding")] - fn add_control_binding>( + fn add_control_binding( &self, - binding: &P, + binding: &impl IsA, ) -> Result<(), glib::error::BoolError>; #[doc(alias = "gst_object_default_error")] @@ -104,16 +104,16 @@ pub trait GstObjectExt: 'static { fn has_active_control_bindings(&self) -> bool; #[doc(alias = "gst_object_has_ancestor")] - fn has_ancestor>(&self, ancestor: &P) -> bool; + fn has_ancestor(&self, ancestor: &impl IsA) -> bool; #[doc(alias = "gst_object_has_as_ancestor")] - fn has_as_ancestor>(&self, ancestor: &P) -> bool; + fn has_as_ancestor(&self, ancestor: &impl IsA) -> bool; #[doc(alias = "gst_object_has_as_parent")] - fn has_as_parent>(&self, parent: &P) -> bool; + fn has_as_parent(&self, parent: &impl IsA) -> bool; #[doc(alias = "gst_object_remove_control_binding")] - fn remove_control_binding>(&self, binding: &P) -> bool; + fn remove_control_binding(&self, binding: &impl IsA) -> bool; #[doc(alias = "gst_object_set_control_binding_disabled")] fn set_control_binding_disabled(&self, property_name: &str, disabled: bool); @@ -125,7 +125,7 @@ pub trait GstObjectExt: 'static { fn set_control_rate(&self, control_rate: impl Into>); #[doc(alias = "gst_object_set_parent")] - fn set_parent>(&self, parent: &P) -> Result<(), glib::error::BoolError>; + fn set_parent(&self, parent: &impl IsA) -> Result<(), glib::error::BoolError>; #[doc(alias = "gst_object_suggest_next_sync")] fn suggest_next_sync(&self) -> Option; @@ -144,9 +144,9 @@ pub trait GstObjectExt: 'static { } impl> GstObjectExt for O { - fn add_control_binding>( + fn add_control_binding( &self, - binding: &P, + binding: &impl IsA, ) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( @@ -228,7 +228,7 @@ impl> GstObjectExt for O { } } - fn has_ancestor>(&self, ancestor: &P) -> bool { + fn has_ancestor(&self, ancestor: &impl IsA) -> bool { unsafe { from_glib(ffi::gst_object_has_ancestor( self.as_ref().to_glib_none().0, @@ -237,7 +237,7 @@ impl> GstObjectExt for O { } } - fn has_as_ancestor>(&self, ancestor: &P) -> bool { + fn has_as_ancestor(&self, ancestor: &impl IsA) -> bool { unsafe { from_glib(ffi::gst_object_has_as_ancestor( self.as_ref().to_glib_none().0, @@ -246,7 +246,7 @@ impl> GstObjectExt for O { } } - fn has_as_parent>(&self, parent: &P) -> bool { + fn has_as_parent(&self, parent: &impl IsA) -> bool { unsafe { from_glib(ffi::gst_object_has_as_parent( self.as_ref().to_glib_none().0, @@ -255,7 +255,7 @@ impl> GstObjectExt for O { } } - fn remove_control_binding>(&self, binding: &P) -> bool { + fn remove_control_binding(&self, binding: &impl IsA) -> bool { unsafe { from_glib(ffi::gst_object_remove_control_binding( self.as_ref().to_glib_none().0, @@ -292,7 +292,7 @@ impl> GstObjectExt for O { } } - fn set_parent>(&self, parent: &P) -> Result<(), glib::error::BoolError> { + fn set_parent(&self, parent: &impl IsA) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::gst_object_set_parent( diff --git a/gstreamer/src/auto/pad.rs b/gstreamer/src/auto/pad.rs index d1db711e0..4cc1aba3e 100644 --- a/gstreamer/src/auto/pad.rs +++ b/gstreamer/src/auto/pad.rs @@ -50,23 +50,23 @@ pub trait PadExt: 'static { fn activate_mode(&self, mode: PadMode, active: bool) -> Result<(), glib::error::BoolError>; #[doc(alias = "gst_pad_can_link")] - fn can_link>(&self, sinkpad: &P) -> bool; + fn can_link(&self, sinkpad: &impl IsA) -> bool; #[doc(alias = "gst_pad_check_reconfigure")] fn check_reconfigure(&self) -> bool; #[doc(alias = "gst_pad_create_stream_id")] - fn create_stream_id>( + fn create_stream_id( &self, - parent: &P, + parent: &impl IsA, stream_id: Option<&str>, ) -> glib::GString; //#[doc(alias = "gst_pad_create_stream_id_printf")] - //fn create_stream_id_printf>(&self, parent: &P, stream_id: Option<&str>, : /*Unknown conversion*//*Unimplemented*/Fundamental: VarArgs) -> glib::GString; + //fn create_stream_id_printf(&self, parent: &impl IsA, stream_id: Option<&str>, : /*Unknown conversion*//*Unimplemented*/Fundamental: VarArgs) -> glib::GString; //#[doc(alias = "gst_pad_create_stream_id_printf_valist")] - //fn create_stream_id_printf_valist>(&self, parent: &P, stream_id: Option<&str>, var_args: /*Unknown conversion*//*Unimplemented*/Unsupported) -> glib::GString; + //fn create_stream_id_printf_valist(&self, parent: &impl IsA, stream_id: Option<&str>, var_args: /*Unknown conversion*//*Unimplemented*/Unsupported) -> glib::GString; #[doc(alias = "gst_pad_forward")] fn forward bool>(&self, forward: P) -> bool; @@ -156,29 +156,29 @@ pub trait PadExt: 'static { //fn iterate_internal_links(&self) -> /*Ignored*/Option; //#[doc(alias = "gst_pad_iterate_internal_links_default")] - //fn iterate_internal_links_default>(&self, parent: Option<&P>) -> /*Ignored*/Option; + //fn iterate_internal_links_default(&self, parent: Option<&impl IsA>) -> /*Ignored*/Option; #[doc(alias = "gst_pad_link")] - fn link>(&self, sinkpad: &P) -> Result; + fn link(&self, sinkpad: &impl IsA) -> Result; #[doc(alias = "gst_pad_link_full")] - fn link_full>( + fn link_full( &self, - sinkpad: &P, + sinkpad: &impl IsA, flags: PadLinkCheck, ) -> Result; #[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] #[doc(alias = "gst_pad_link_maybe_ghosting")] - fn link_maybe_ghosting>(&self, sink: &P) -> Result<(), glib::error::BoolError>; + fn link_maybe_ghosting(&self, sink: &impl IsA) -> Result<(), glib::error::BoolError>; #[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] #[doc(alias = "gst_pad_link_maybe_ghosting_full")] - fn link_maybe_ghosting_full>( + fn link_maybe_ghosting_full( &self, - sink: &P, + sink: &impl IsA, flags: PadLinkCheck, ) -> Result<(), glib::error::BoolError>; @@ -219,7 +219,7 @@ pub trait PadExt: 'static { fn store_sticky_event(&self, event: &Event) -> Result; #[doc(alias = "gst_pad_unlink")] - fn unlink>(&self, sinkpad: &P) -> Result<(), glib::error::BoolError>; + fn unlink(&self, sinkpad: &impl IsA) -> Result<(), glib::error::BoolError>; #[doc(alias = "gst_pad_use_fixed_caps")] fn use_fixed_caps(&self); @@ -254,7 +254,7 @@ impl> PadExt for O { } } - fn can_link>(&self, sinkpad: &P) -> bool { + fn can_link(&self, sinkpad: &impl IsA) -> bool { unsafe { from_glib(ffi::gst_pad_can_link( self.as_ref().to_glib_none().0, @@ -271,9 +271,9 @@ impl> PadExt for O { } } - fn create_stream_id>( + fn create_stream_id( &self, - parent: &P, + parent: &impl IsA, stream_id: Option<&str>, ) -> glib::GString { unsafe { @@ -285,11 +285,11 @@ impl> PadExt for O { } } - //fn create_stream_id_printf>(&self, parent: &P, stream_id: Option<&str>, : /*Unknown conversion*//*Unimplemented*/Fundamental: VarArgs) -> glib::GString { + //fn create_stream_id_printf(&self, parent: &impl IsA, stream_id: Option<&str>, : /*Unknown conversion*//*Unimplemented*/Fundamental: VarArgs) -> glib::GString { // unsafe { TODO: call ffi:gst_pad_create_stream_id_printf() } //} - //fn create_stream_id_printf_valist>(&self, parent: &P, stream_id: Option<&str>, var_args: /*Unknown conversion*//*Unimplemented*/Unsupported) -> glib::GString { + //fn create_stream_id_printf_valist(&self, parent: &impl IsA, stream_id: Option<&str>, var_args: /*Unknown conversion*//*Unimplemented*/Unsupported) -> glib::GString { // unsafe { TODO: call ffi:gst_pad_create_stream_id_printf_valist() } //} @@ -443,11 +443,11 @@ impl> PadExt for O { // unsafe { TODO: call ffi:gst_pad_iterate_internal_links() } //} - //fn iterate_internal_links_default>(&self, parent: Option<&P>) -> /*Ignored*/Option { + //fn iterate_internal_links_default(&self, parent: Option<&impl IsA>) -> /*Ignored*/Option { // unsafe { TODO: call ffi:gst_pad_iterate_internal_links_default() } //} - fn link>(&self, sinkpad: &P) -> Result { + fn link(&self, sinkpad: &impl IsA) -> Result { unsafe { try_from_glib(ffi::gst_pad_link( self.as_ref().to_glib_none().0, @@ -456,9 +456,9 @@ impl> PadExt for O { } } - fn link_full>( + fn link_full( &self, - sinkpad: &P, + sinkpad: &impl IsA, flags: PadLinkCheck, ) -> Result { unsafe { @@ -472,7 +472,7 @@ impl> PadExt for O { #[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] - fn link_maybe_ghosting>(&self, sink: &P) -> Result<(), glib::error::BoolError> { + fn link_maybe_ghosting(&self, sink: &impl IsA) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::gst_pad_link_maybe_ghosting( @@ -486,9 +486,9 @@ impl> PadExt for O { #[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] - fn link_maybe_ghosting_full>( + fn link_maybe_ghosting_full( &self, - sink: &P, + sink: &impl IsA, flags: PadLinkCheck, ) -> Result<(), glib::error::BoolError> { unsafe { @@ -599,7 +599,7 @@ impl> PadExt for O { } } - fn unlink>(&self, sinkpad: &P) -> Result<(), glib::error::BoolError> { + fn unlink(&self, sinkpad: &impl IsA) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( ffi::gst_pad_unlink( diff --git a/gstreamer/src/auto/pad_template.rs b/gstreamer/src/auto/pad_template.rs index 90c4de922..fe9c05315 100644 --- a/gstreamer/src/auto/pad_template.rs +++ b/gstreamer/src/auto/pad_template.rs @@ -89,7 +89,7 @@ impl PadTemplate { } #[doc(alias = "gst_pad_template_pad_created")] - pub fn pad_created>(&self, pad: &P) { + pub fn pad_created(&self, pad: &impl IsA) { unsafe { ffi::gst_pad_template_pad_created(self.to_glib_none().0, pad.as_ref().to_glib_none().0); } diff --git a/gstreamer/src/auto/pipeline.rs b/gstreamer/src/auto/pipeline.rs index fae99a1d0..54dd0dfb7 100644 --- a/gstreamer/src/auto/pipeline.rs +++ b/gstreamer/src/auto/pipeline.rs @@ -71,7 +71,7 @@ pub trait PipelineExt: 'static { fn set_latency(&self, latency: impl Into>); #[doc(alias = "gst_pipeline_use_clock")] - fn use_clock>(&self, clock: Option<&P>); + fn use_clock(&self, clock: Option<&impl IsA>); #[doc(alias = "auto-flush-bus")] fn connect_auto_flush_bus_notify( @@ -149,7 +149,7 @@ impl> PipelineExt for O { } } - fn use_clock>(&self, clock: Option<&P>) { + fn use_clock(&self, clock: Option<&impl IsA>) { unsafe { ffi::gst_pipeline_use_clock( self.as_ref().to_glib_none().0, diff --git a/gstreamer/src/auto/plugin.rs b/gstreamer/src/auto/plugin.rs index 3f7730c12..1e1c5127a 100644 --- a/gstreamer/src/auto/plugin.rs +++ b/gstreamer/src/auto/plugin.rs @@ -131,7 +131,7 @@ impl Plugin { } #[doc(alias = "gst_plugin_load_file")] - pub fn load_file>(filename: P) -> Result { + pub fn load_file(filename: impl AsRef) -> Result { assert_initialized_main_thread!(); unsafe { let mut error = ptr::null_mut(); diff --git a/gstreamer/src/auto/preset.rs b/gstreamer/src/auto/preset.rs index 0210044f1..f39fa9184 100644 --- a/gstreamer/src/auto/preset.rs +++ b/gstreamer/src/auto/preset.rs @@ -25,9 +25,7 @@ impl Preset { } #[doc(alias = "gst_preset_set_app_dir")] - pub fn set_app_dir>( - app_dir: P, - ) -> Result<(), glib::error::BoolError> { + pub fn set_app_dir(app_dir: impl AsRef) -> Result<(), glib::error::BoolError> { assert_initialized_main_thread!(); unsafe { glib::result_from_gboolean!( diff --git a/gstreamer/src/auto/proxy_pad.rs b/gstreamer/src/auto/proxy_pad.rs index 0334edec2..1bc48c173 100644 --- a/gstreamer/src/auto/proxy_pad.rs +++ b/gstreamer/src/auto/proxy_pad.rs @@ -19,7 +19,7 @@ glib::wrapper! { impl ProxyPad { //#[doc(alias = "gst_proxy_pad_iterate_internal_links_default")] - //pub fn iterate_internal_links_default, Q: IsA>(pad: &P, parent: Option<&Q>) -> /*Ignored*/Option { + //pub fn iterate_internal_links_default(pad: &impl IsA, parent: Option<&impl IsA>) -> /*Ignored*/Option { // unsafe { TODO: call ffi:gst_proxy_pad_iterate_internal_links_default() } //} } diff --git a/gstreamer/src/auto/registry.rs b/gstreamer/src/auto/registry.rs index d1b734e34..9d8f6c83e 100644 --- a/gstreamer/src/auto/registry.rs +++ b/gstreamer/src/auto/registry.rs @@ -25,9 +25,9 @@ glib::wrapper! { impl Registry { #[doc(alias = "gst_registry_add_feature")] - pub fn add_feature>( + pub fn add_feature( &self, - feature: &P, + feature: &impl IsA, ) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( @@ -201,7 +201,7 @@ impl Registry { } #[doc(alias = "gst_registry_remove_feature")] - pub fn remove_feature>(&self, feature: &P) { + pub fn remove_feature(&self, feature: &impl IsA) { unsafe { ffi::gst_registry_remove_feature( self.to_glib_none().0, @@ -218,7 +218,7 @@ impl Registry { } #[doc(alias = "gst_registry_scan_path")] - pub fn scan_path>(&self, path: P) -> bool { + pub fn scan_path(&self, path: impl AsRef) -> bool { unsafe { from_glib(ffi::gst_registry_scan_path( self.to_glib_none().0, diff --git a/gstreamer/src/auto/system_clock.rs b/gstreamer/src/auto/system_clock.rs index 485836696..e3feb0158 100644 --- a/gstreamer/src/auto/system_clock.rs +++ b/gstreamer/src/auto/system_clock.rs @@ -33,7 +33,7 @@ impl SystemClock { } #[doc(alias = "gst_system_clock_set_default")] - pub fn set_default>(new_clock: Option<&P>) { + pub fn set_default(new_clock: Option<&impl IsA>) { assert_initialized_main_thread!(); unsafe { ffi::gst_system_clock_set_default(new_clock.map(|p| p.as_ref()).to_glib_none().0); diff --git a/gstreamer/src/auto/versions.txt b/gstreamer/src/auto/versions.txt index 1b3795c83..4a7c11860 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 @ f64f90a) +Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) diff --git a/gstreamer/sys/build.rs b/gstreamer/sys/build.rs index 65da173c5..4aee5f36a 100644 --- a/gstreamer/sys/build.rs +++ b/gstreamer/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer/sys/src/lib.rs b/gstreamer/sys/src/lib.rs index e4f5b91ea..06cddefa2 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer/sys/tests/abi.rs b/gstreamer/sys/tests/abi.rs index 120d1cd90..4b37e0f23 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer/sys/tests/constant.c b/gstreamer/sys/tests/constant.c index f8d58d420..b9de22ca7 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT diff --git a/gstreamer/sys/tests/layout.c b/gstreamer/sys/tests/layout.c index 5b9cb4f24..785d8acac 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 @ f64f90a) +// Generated by gir (https://github.com/gtk-rs/gir @ ede0c31) // from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae) // DO NOT EDIT