From 01b6d342a400dded2bd89737f3107cd8d115387b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Laignel?= Date: Mon, 3 May 2021 20:35:37 +0200 Subject: [PATCH] regen: prop alias + connect_*_notify signal + add fn doc alias --- gstreamer-app/src/auto/app_sink.rs | 32 +++- gstreamer-app/src/auto/app_src.rs | 76 +++++---- gstreamer-app/src/auto/versions.txt | 2 +- gstreamer-app/sys/build.rs | 2 +- gstreamer-app/sys/src/lib.rs | 2 +- gstreamer-app/sys/tests/abi.rs | 2 +- gstreamer-app/sys/tests/constant.c | 2 +- gstreamer-app/sys/tests/layout.c | 2 +- gstreamer-audio/src/auto/audio_base_sink.rs | 65 +++++--- gstreamer-audio/src/auto/audio_base_src.rs | 50 ++++-- gstreamer-audio/src/auto/audio_decoder.rs | 42 +++-- gstreamer-audio/src/auto/audio_encoder.rs | 35 +++- .../src/auto/audio_stream_align.rs | 5 + gstreamer-audio/src/auto/stream_volume.rs | 26 ++- 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 | 45 +++-- gstreamer-base/src/auto/aggregator_pad.rs | 12 +- gstreamer-base/src/auto/base_parse.rs | 10 +- gstreamer-base/src/auto/base_sink.rs | 130 ++++++++------- gstreamer-base/src/auto/base_src.rs | 34 ++-- gstreamer-base/src/auto/base_transform.rs | 16 +- 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/test_clock.rs | 11 +- 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 | 40 +++-- .../src/auto/direct_control_binding.rs | 11 +- .../src/auto/interpolation_control_source.rs | 14 +- .../src/auto/lfo_control_source.rs | 48 +++--- .../src/auto/timed_value_control_source.rs | 8 + .../src/auto/trigger_control_source.rs | 8 +- 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 | 21 ++- gstreamer-editing-services/src/auto/clip.rs | 39 +++-- .../src/auto/container.rs | 12 +- gstreamer-editing-services/src/auto/effect.rs | 2 +- .../src/auto/extractable.rs | 2 + gstreamer-editing-services/src/auto/group.rs | 48 +++--- gstreamer-editing-services/src/auto/layer.rs | 31 ++-- .../src/auto/pipeline.rs | 64 ++++---- .../src/auto/project.rs | 19 +++ .../src/auto/timeline.rs | 65 ++++++-- .../src/auto/timeline_element.rs | 86 +++++++--- gstreamer-editing-services/src/auto/track.rs | 47 ++++-- .../src/auto/track_element.rs | 48 ++++-- .../src/auto/transition_clip.rs | 9 +- .../src/auto/uri_clip.rs | 25 +-- .../src/auto/uri_clip_asset.rs | 25 +-- .../src/auto/uri_source_asset.rs | 3 + .../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 | 2 + gstreamer-gl/src/auto/flags.rs | 3 + gstreamer-gl/src/auto/gl_base_filter.rs | 12 +- gstreamer-gl/src/auto/gl_base_src.rs | 10 +- gstreamer-gl/src/auto/gl_context.rs | 8 + gstreamer-gl/src/auto/gl_display.rs | 5 + gstreamer-gl/src/auto/gl_framebuffer.rs | 3 + gstreamer-gl/src/auto/gl_memory_allocator.rs | 1 + .../src/auto/gl_overlay_compositor.rs | 5 +- gstreamer-gl/src/auto/gl_shader.rs | 7 +- gstreamer-gl/src/auto/gl_upload.rs | 2 + gstreamer-gl/src/auto/gl_view_convert.rs | 43 +++-- gstreamer-gl/src/auto/gl_window.rs | 8 + gstreamer-gl/src/auto/glsl_stage.rs | 6 + 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 +- .../wayland/src/auto/gl_display_wayland.rs | 1 + 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/gl_display_x11.rs | 1 + 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/net_client_clock.rs | 47 +++--- gstreamer-net/src/auto/net_time_provider.rs | 15 +- gstreamer-net/src/auto/ptp_clock.rs | 18 +- gstreamer-net/src/auto/versions.txt | 2 +- gstreamer-net/sys/build.rs | 2 +- gstreamer-net/sys/src/lib.rs | 2 +- gstreamer-net/sys/tests/abi.rs | 2 +- gstreamer-net/sys/tests/constant.c | 2 +- gstreamer-net/sys/tests/layout.c | 2 +- gstreamer-pbutils/src/auto/discoverer.rs | 11 +- .../src/auto/discoverer_audio_info.rs | 7 + .../src/auto/discoverer_container_info.rs | 1 + gstreamer-pbutils/src/auto/discoverer_info.rs | 16 ++ .../src/auto/discoverer_stream_info.rs | 8 + .../src/auto/discoverer_subtitle_info.rs | 1 + .../src/auto/discoverer_video_info.rs | 5 + .../src/auto/encoding_container_profile.rs | 1 + .../src/auto/encoding_profile.rs | 11 ++ gstreamer-pbutils/src/auto/encoding_target.rs | 6 + .../src/auto/encoding_video_profile.rs | 2 + 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/enums.rs | 3 + gstreamer-player/src/auto/player.rs | 92 ++++++++--- .../src/auto/player_audio_info.rs | 5 + .../player_gmain_context_signal_dispatcher.rs | 2 +- .../src/auto/player_media_info.rs | 14 ++ .../src/auto/player_stream_info.rs | 5 + .../src/auto/player_subtitle_info.rs | 1 + .../src/auto/player_video_info.rs | 4 + .../player_video_overlay_video_renderer.rs | 12 +- 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 | 8 + gstreamer-rtsp-server/src/auto/rtsp_client.rs | 89 ++++++++-- gstreamer-rtsp-server/src/auto/rtsp_media.rs | 155 ++++++++++++------ .../src/auto/rtsp_media_factory.rs | 143 ++++++++++------ .../src/auto/rtsp_media_factory_uri.rs | 23 ++- .../src/auto/rtsp_mount_points.rs | 1 + gstreamer-rtsp-server/src/auto/rtsp_server.rs | 71 +++++--- .../src/auto/rtsp_session.rs | 34 ++-- .../src/auto/rtsp_session_media.rs | 6 + .../src/auto/rtsp_session_pool.rs | 10 +- gstreamer-rtsp-server/src/auto/rtsp_stream.rs | 65 ++++++-- .../src/auto/rtsp_stream_transport.rs | 4 + .../src/auto/rtsp_thread_pool.rs | 8 +- 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/rtsp_url.rs | 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/enums.rs | 2 + gstreamer-video/src/auto/versions.txt | 2 +- gstreamer-video/src/auto/video_decoder.rs | 28 ++-- gstreamer-video/src/auto/video_encoder.rs | 22 ++- gstreamer-video/src/auto/video_orientation.rs | 4 + gstreamer-video/src/auto/video_sink.rs | 10 +- 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 +- .../src/auto/web_rtc_data_channel.rs | 40 ++--- .../src/auto/web_rtcdtls_transport.rs | 30 ++-- .../src/auto/web_rtcice_transport.rs | 14 +- .../src/auto/web_rtcrtp_transceiver.rs | 10 +- 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/bin.rs | 32 +++- gstreamer/src/auto/buffer_pool.rs | 1 + gstreamer/src/auto/bus.rs | 3 + gstreamer/src/auto/child_proxy.rs | 8 + gstreamer/src/auto/clock.rs | 40 +++-- gstreamer/src/auto/control_binding.rs | 3 +- gstreamer/src/auto/control_source.rs | 5 +- gstreamer/src/auto/date_time.rs | 7 + gstreamer/src/auto/device.rs | 6 + gstreamer/src/auto/device_monitor.rs | 14 +- gstreamer/src/auto/device_provider.rs | 8 + gstreamer/src/auto/device_provider_factory.rs | 4 + gstreamer/src/auto/element.rs | 17 ++ gstreamer/src/auto/element_factory.rs | 7 + gstreamer/src/auto/enums.rs | 4 + gstreamer/src/auto/functions.rs | 1 + gstreamer/src/auto/ghost_pad.rs | 1 + gstreamer/src/auto/object.rs | 21 ++- gstreamer/src/auto/pad.rs | 43 +++-- gstreamer/src/auto/pad_template.rs | 9 +- gstreamer/src/auto/pipeline.rs | 32 ++-- gstreamer/src/auto/plugin.rs | 8 + gstreamer/src/auto/plugin_feature.rs | 2 + gstreamer/src/auto/preset.rs | 4 + gstreamer/src/auto/proxy_pad.rs | 1 + gstreamer/src/auto/registry.rs | 6 + gstreamer/src/auto/stream.rs | 17 +- gstreamer/src/auto/stream_collection.rs | 4 + gstreamer/src/auto/system_clock.rs | 10 +- gstreamer/src/auto/tag_setter.rs | 2 + gstreamer/src/auto/toc_setter.rs | 1 + gstreamer/src/auto/type_find_factory.rs | 3 + gstreamer/src/auto/uri_handler.rs | 3 + 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 +- 264 files changed, 1968 insertions(+), 1068 deletions(-) diff --git a/gstreamer-app/src/auto/app_sink.rs b/gstreamer-app/src/auto/app_sink.rs index 30b3ac14d..8c750aebd 100644 --- a/gstreamer-app/src/auto/app_sink.rs +++ b/gstreamer-app/src/auto/app_sink.rs @@ -24,6 +24,7 @@ impl AppSink { #[cfg(any(feature = "v1_12", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))] #[doc(alias = "gst_app_sink_get_buffer_list_support")] + #[doc(alias = "get_buffer_list_support")] pub fn is_buffer_list_support(&self) -> bool { unsafe { from_glib(ffi::gst_app_sink_get_buffer_list_support( @@ -33,26 +34,31 @@ impl AppSink { } #[doc(alias = "gst_app_sink_get_caps")] + #[doc(alias = "get_caps")] pub fn caps(&self) -> Option { unsafe { from_glib_full(ffi::gst_app_sink_get_caps(self.to_glib_none().0)) } } #[doc(alias = "gst_app_sink_get_drop")] + #[doc(alias = "get_drop")] pub fn is_drop(&self) -> bool { unsafe { from_glib(ffi::gst_app_sink_get_drop(self.to_glib_none().0)) } } #[doc(alias = "gst_app_sink_get_emit_signals")] + #[doc(alias = "get_emit_signals")] pub fn emits_signals(&self) -> bool { unsafe { from_glib(ffi::gst_app_sink_get_emit_signals(self.to_glib_none().0)) } } #[doc(alias = "gst_app_sink_get_max_buffers")] + #[doc(alias = "get_max_buffers")] pub fn max_buffers(&self) -> u32 { unsafe { ffi::gst_app_sink_get_max_buffers(self.to_glib_none().0) } } #[doc(alias = "gst_app_sink_get_wait_on_eos")] + #[doc(alias = "get_wait_on_eos")] pub fn is_wait_on_eos(&self) -> bool { unsafe { from_glib(ffi::gst_app_sink_get_wait_on_eos(self.to_glib_none().0)) } } @@ -154,7 +160,7 @@ impl AppSink { } } - #[doc(alias = "get_property_buffer_list")] + #[doc(alias = "buffer-list")] pub fn is_buffer_list(&self) -> bool { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -169,7 +175,7 @@ impl AppSink { } } - #[doc(alias = "set_property_buffer_list")] + #[doc(alias = "buffer-list")] pub fn set_buffer_list(&self, buffer_list: bool) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -180,6 +186,7 @@ impl AppSink { } } + #[doc(alias = "eos")] pub fn connect_eos(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn eos_trampoline( this: *mut ffi::GstAppSink, @@ -201,7 +208,8 @@ impl AppSink { } } - pub fn connect_property_buffer_list_notify( + #[doc(alias = "buffer-list")] + pub fn connect_buffer_list_notify( &self, f: F, ) -> SignalHandlerId { @@ -228,7 +236,8 @@ impl AppSink { } } - pub fn connect_property_caps_notify( + #[doc(alias = "caps")] + pub fn connect_caps_notify( &self, f: F, ) -> SignalHandlerId { @@ -253,7 +262,8 @@ impl AppSink { } } - pub fn connect_property_drop_notify( + #[doc(alias = "drop")] + pub fn connect_drop_notify( &self, f: F, ) -> SignalHandlerId { @@ -278,7 +288,8 @@ impl AppSink { } } - pub fn connect_property_emit_signals_notify( + #[doc(alias = "emit-signals")] + pub fn connect_emit_signals_notify( &self, f: F, ) -> SignalHandlerId { @@ -305,7 +316,8 @@ impl AppSink { } } - pub fn connect_property_eos_notify( + #[doc(alias = "eos")] + pub fn connect_eos_notify( &self, f: F, ) -> SignalHandlerId { @@ -330,7 +342,8 @@ impl AppSink { } } - pub fn connect_property_max_buffers_notify( + #[doc(alias = "max-buffers")] + pub fn connect_max_buffers_notify( &self, f: F, ) -> SignalHandlerId { @@ -357,7 +370,8 @@ impl AppSink { } } - pub fn connect_property_wait_on_eos_notify( + #[doc(alias = "wait-on-eos")] + pub fn connect_wait_on_eos_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-app/src/auto/app_src.rs b/gstreamer-app/src/auto/app_src.rs index 9588053ec..971be89c2 100644 --- a/gstreamer-app/src/auto/app_src.rs +++ b/gstreamer-app/src/auto/app_src.rs @@ -23,11 +23,13 @@ glib::wrapper! { impl AppSrc { #[doc(alias = "gst_app_src_get_caps")] + #[doc(alias = "get_caps")] pub fn caps(&self) -> Option { unsafe { from_glib_full(ffi::gst_app_src_get_caps(self.to_glib_none().0)) } } #[doc(alias = "gst_app_src_get_current_level_bytes")] + #[doc(alias = "get_current_level_bytes")] pub fn current_level_bytes(&self) -> u64 { unsafe { ffi::gst_app_src_get_current_level_bytes(self.to_glib_none().0) } } @@ -35,26 +37,31 @@ impl AppSrc { #[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] #[doc(alias = "gst_app_src_get_duration")] + #[doc(alias = "get_duration")] pub fn duration(&self) -> gst::ClockTime { unsafe { from_glib(ffi::gst_app_src_get_duration(self.to_glib_none().0)) } } #[doc(alias = "gst_app_src_get_emit_signals")] + #[doc(alias = "get_emit_signals")] pub fn emits_signals(&self) -> bool { unsafe { from_glib(ffi::gst_app_src_get_emit_signals(self.to_glib_none().0)) } } #[doc(alias = "gst_app_src_get_max_bytes")] + #[doc(alias = "get_max_bytes")] pub fn max_bytes(&self) -> u64 { unsafe { ffi::gst_app_src_get_max_bytes(self.to_glib_none().0) } } #[doc(alias = "gst_app_src_get_size")] + #[doc(alias = "get_size")] pub fn size(&self) -> i64 { unsafe { ffi::gst_app_src_get_size(self.to_glib_none().0) } } #[doc(alias = "gst_app_src_get_stream_type")] + #[doc(alias = "get_stream_type")] pub fn stream_type(&self) -> AppStreamType { unsafe { from_glib(ffi::gst_app_src_get_stream_type(self.to_glib_none().0)) } } @@ -108,7 +115,6 @@ impl AppSrc { } } - #[doc(alias = "get_property_block")] pub fn is_block(&self) -> bool { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -123,7 +129,6 @@ impl AppSrc { } } - #[doc(alias = "set_property_block")] pub fn set_block(&self, block: bool) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -134,7 +139,6 @@ impl AppSrc { } } - #[doc(alias = "get_property_format")] pub fn format(&self) -> gst::Format { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -149,7 +153,6 @@ impl AppSrc { } } - #[doc(alias = "set_property_format")] pub fn set_format(&self, format: gst::Format) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -162,7 +165,7 @@ impl AppSrc { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - #[doc(alias = "get_property_handle_segment_change")] + #[doc(alias = "handle-segment-change")] pub fn is_handle_segment_change(&self) -> bool { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -179,7 +182,7 @@ impl AppSrc { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - #[doc(alias = "set_property_handle_segment_change")] + #[doc(alias = "handle-segment-change")] pub fn set_handle_segment_change(&self, handle_segment_change: bool) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -190,7 +193,7 @@ impl AppSrc { } } - #[doc(alias = "get_property_is_live")] + #[doc(alias = "is-live")] pub fn is_live(&self) -> bool { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -205,7 +208,7 @@ impl AppSrc { } } - #[doc(alias = "set_property_is_live")] + #[doc(alias = "is-live")] pub fn set_is_live(&self, is_live: bool) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -216,7 +219,7 @@ impl AppSrc { } } - #[doc(alias = "get_property_max_latency")] + #[doc(alias = "max-latency")] pub fn max_latency(&self) -> i64 { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -231,7 +234,7 @@ impl AppSrc { } } - #[doc(alias = "set_property_max_latency")] + #[doc(alias = "max-latency")] pub fn set_max_latency(&self, max_latency: i64) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -242,7 +245,7 @@ impl AppSrc { } } - #[doc(alias = "get_property_min_latency")] + #[doc(alias = "min-latency")] pub fn min_latency(&self) -> i64 { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -257,7 +260,7 @@ impl AppSrc { } } - #[doc(alias = "set_property_min_latency")] + #[doc(alias = "min-latency")] pub fn set_min_latency(&self, min_latency: i64) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -268,7 +271,7 @@ impl AppSrc { } } - #[doc(alias = "get_property_min_percent")] + #[doc(alias = "min-percent")] pub fn min_percent(&self) -> u32 { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -283,7 +286,7 @@ impl AppSrc { } } - #[doc(alias = "set_property_min_percent")] + #[doc(alias = "min-percent")] pub fn set_min_percent(&self, min_percent: u32) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -294,6 +297,7 @@ impl AppSrc { } } + #[doc(alias = "enough-data")] pub fn connect_enough_data( &self, f: F, @@ -318,6 +322,7 @@ impl AppSrc { } } + #[doc(alias = "need-data")] pub fn connect_need_data( &self, f: F, @@ -343,6 +348,7 @@ impl AppSrc { } } + #[doc(alias = "seek-data")] pub fn connect_seek_data bool + Send + Sync + 'static>( &self, f: F, @@ -370,7 +376,8 @@ impl AppSrc { } } - pub fn connect_property_block_notify( + #[doc(alias = "block")] + pub fn connect_block_notify( &self, f: F, ) -> SignalHandlerId { @@ -395,7 +402,8 @@ impl AppSrc { } } - pub fn connect_property_caps_notify( + #[doc(alias = "caps")] + pub fn connect_caps_notify( &self, f: F, ) -> SignalHandlerId { @@ -420,7 +428,8 @@ impl AppSrc { } } - pub fn connect_property_current_level_bytes_notify( + #[doc(alias = "current-level-bytes")] + pub fn connect_current_level_bytes_notify( &self, f: F, ) -> SignalHandlerId { @@ -449,7 +458,8 @@ impl AppSrc { #[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] - pub fn connect_property_duration_notify( + #[doc(alias = "duration")] + pub fn connect_duration_notify( &self, f: F, ) -> SignalHandlerId { @@ -474,7 +484,8 @@ impl AppSrc { } } - pub fn connect_property_emit_signals_notify( + #[doc(alias = "emit-signals")] + pub fn connect_emit_signals_notify( &self, f: F, ) -> SignalHandlerId { @@ -501,7 +512,8 @@ impl AppSrc { } } - pub fn connect_property_format_notify( + #[doc(alias = "format")] + pub fn connect_format_notify( &self, f: F, ) -> SignalHandlerId { @@ -528,7 +540,8 @@ impl AppSrc { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - pub fn connect_property_handle_segment_change_notify( + #[doc(alias = "handle-segment-change")] + pub fn connect_handle_segment_change_notify( &self, f: F, ) -> SignalHandlerId { @@ -555,7 +568,8 @@ impl AppSrc { } } - pub fn connect_property_is_live_notify( + #[doc(alias = "is-live")] + pub fn connect_is_live_notify( &self, f: F, ) -> SignalHandlerId { @@ -580,7 +594,8 @@ impl AppSrc { } } - pub fn connect_property_max_bytes_notify( + #[doc(alias = "max-bytes")] + pub fn connect_max_bytes_notify( &self, f: F, ) -> SignalHandlerId { @@ -605,7 +620,8 @@ impl AppSrc { } } - pub fn connect_property_max_latency_notify( + #[doc(alias = "max-latency")] + pub fn connect_max_latency_notify( &self, f: F, ) -> SignalHandlerId { @@ -632,7 +648,8 @@ impl AppSrc { } } - pub fn connect_property_min_latency_notify( + #[doc(alias = "min-latency")] + pub fn connect_min_latency_notify( &self, f: F, ) -> SignalHandlerId { @@ -659,7 +676,8 @@ impl AppSrc { } } - pub fn connect_property_min_percent_notify( + #[doc(alias = "min-percent")] + pub fn connect_min_percent_notify( &self, f: F, ) -> SignalHandlerId { @@ -686,7 +704,8 @@ impl AppSrc { } } - pub fn connect_property_size_notify( + #[doc(alias = "size")] + pub fn connect_size_notify( &self, f: F, ) -> SignalHandlerId { @@ -711,7 +730,8 @@ impl AppSrc { } } - pub fn connect_property_stream_type_notify( + #[doc(alias = "stream-type")] + pub fn connect_stream_type_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-app/src/auto/versions.txt b/gstreamer-app/src/auto/versions.txt index 33aa18251..1ed8d5e7b 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 @ 0516825) +Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-app/sys/build.rs b/gstreamer-app/sys/build.rs index bae1ce3d4..0cbbd0fe4 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-app/sys/src/lib.rs b/gstreamer-app/sys/src/lib.rs index a72ea6fc8..2712e85c5 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-app/sys/tests/abi.rs b/gstreamer-app/sys/tests/abi.rs index 14a5f95f9..63bedb6f9 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-app/sys/tests/constant.c b/gstreamer-app/sys/tests/constant.c index 331d18103..fe69131eb 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-app/sys/tests/layout.c b/gstreamer-app/sys/tests/layout.c index ba6d00eb5..76c91b296 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-audio/src/auto/audio_base_sink.rs b/gstreamer-audio/src/auto/audio_base_sink.rs index 2f799c2af..1cdf9bfa1 100644 --- a/gstreamer-audio/src/auto/audio_base_sink.rs +++ b/gstreamer-audio/src/auto/audio_base_sink.rs @@ -31,18 +31,23 @@ pub trait AudioBaseSinkExt: 'static { //fn create_ringbuffer(&self) -> /*Ignored*/Option; #[doc(alias = "gst_audio_base_sink_get_alignment_threshold")] + #[doc(alias = "get_alignment_threshold")] fn alignment_threshold(&self) -> gst::ClockTime; #[doc(alias = "gst_audio_base_sink_get_discont_wait")] + #[doc(alias = "get_discont_wait")] fn discont_wait(&self) -> gst::ClockTime; #[doc(alias = "gst_audio_base_sink_get_drift_tolerance")] + #[doc(alias = "get_drift_tolerance")] fn drift_tolerance(&self) -> i64; #[doc(alias = "gst_audio_base_sink_get_provide_clock")] + #[doc(alias = "get_provide_clock")] fn is_provide_clock(&self) -> bool; //#[doc(alias = "gst_audio_base_sink_get_slave_method")] + //#[doc(alias = "get_slave_method")] //fn slave_method(&self) -> /*Ignored*/AudioBaseSinkSlaveMethod; #[doc(alias = "gst_audio_base_sink_report_device_failure")] @@ -66,60 +71,68 @@ pub trait AudioBaseSinkExt: 'static { //#[doc(alias = "gst_audio_base_sink_set_slave_method")] //fn set_slave_method(&self, method: /*Ignored*/AudioBaseSinkSlaveMethod); - #[doc(alias = "get_property_buffer_time")] + #[doc(alias = "buffer-time")] fn buffer_time(&self) -> i64; - #[doc(alias = "set_property_buffer_time")] + #[doc(alias = "buffer-time")] fn set_buffer_time(&self, buffer_time: i64); - #[doc(alias = "get_property_can_activate_pull")] + #[doc(alias = "can-activate-pull")] fn can_activate_pull(&self) -> bool; - #[doc(alias = "set_property_can_activate_pull")] + #[doc(alias = "can-activate-pull")] fn set_can_activate_pull(&self, can_activate_pull: bool); - #[doc(alias = "get_property_latency_time")] + #[doc(alias = "latency-time")] fn latency_time(&self) -> i64; - #[doc(alias = "set_property_latency_time")] + #[doc(alias = "latency-time")] fn set_latency_time(&self, latency_time: i64); - fn connect_property_alignment_threshold_notify( + #[doc(alias = "alignment-threshold")] + fn connect_alignment_threshold_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_buffer_time_notify( + #[doc(alias = "buffer-time")] + fn connect_buffer_time_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_can_activate_pull_notify( + #[doc(alias = "can-activate-pull")] + fn connect_can_activate_pull_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_discont_wait_notify( + #[doc(alias = "discont-wait")] + fn connect_discont_wait_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_drift_tolerance_notify( + #[doc(alias = "drift-tolerance")] + fn connect_drift_tolerance_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_latency_time_notify( + #[doc(alias = "latency-time")] + fn connect_latency_time_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_provide_clock_notify( + #[doc(alias = "provide-clock")] + fn connect_provide_clock_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_slave_method_notify( + #[doc(alias = "slave-method")] + fn connect_slave_method_notify( &self, f: F, ) -> SignalHandlerId; @@ -284,7 +297,8 @@ impl> AudioBaseSinkExt for O { } } - fn connect_property_alignment_threshold_notify( + #[doc(alias = "alignment-threshold")] + fn connect_alignment_threshold_notify( &self, f: F, ) -> SignalHandlerId { @@ -314,7 +328,8 @@ impl> AudioBaseSinkExt for O { } } - fn connect_property_buffer_time_notify( + #[doc(alias = "buffer-time")] + fn connect_buffer_time_notify( &self, f: F, ) -> SignalHandlerId { @@ -341,7 +356,8 @@ impl> AudioBaseSinkExt for O { } } - fn connect_property_can_activate_pull_notify( + #[doc(alias = "can-activate-pull")] + fn connect_can_activate_pull_notify( &self, f: F, ) -> SignalHandlerId { @@ -371,7 +387,8 @@ impl> AudioBaseSinkExt for O { } } - fn connect_property_discont_wait_notify( + #[doc(alias = "discont-wait")] + fn connect_discont_wait_notify( &self, f: F, ) -> SignalHandlerId { @@ -398,7 +415,8 @@ impl> AudioBaseSinkExt for O { } } - fn connect_property_drift_tolerance_notify( + #[doc(alias = "drift-tolerance")] + fn connect_drift_tolerance_notify( &self, f: F, ) -> SignalHandlerId { @@ -428,7 +446,8 @@ impl> AudioBaseSinkExt for O { } } - fn connect_property_latency_time_notify( + #[doc(alias = "latency-time")] + fn connect_latency_time_notify( &self, f: F, ) -> SignalHandlerId { @@ -455,7 +474,8 @@ impl> AudioBaseSinkExt for O { } } - fn connect_property_provide_clock_notify( + #[doc(alias = "provide-clock")] + fn connect_provide_clock_notify( &self, f: F, ) -> SignalHandlerId { @@ -482,7 +502,8 @@ impl> AudioBaseSinkExt for O { } } - fn connect_property_slave_method_notify( + #[doc(alias = "slave-method")] + fn connect_slave_method_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-audio/src/auto/audio_base_src.rs b/gstreamer-audio/src/auto/audio_base_src.rs index 1d714534e..07b4bb85e 100644 --- a/gstreamer-audio/src/auto/audio_base_src.rs +++ b/gstreamer-audio/src/auto/audio_base_src.rs @@ -31,9 +31,11 @@ pub trait AudioBaseSrcExt: 'static { //fn create_ringbuffer(&self) -> /*Ignored*/Option; #[doc(alias = "gst_audio_base_src_get_provide_clock")] + #[doc(alias = "get_provide_clock")] fn is_provide_clock(&self) -> bool; //#[doc(alias = "gst_audio_base_src_get_slave_method")] + //#[doc(alias = "get_slave_method")] //fn slave_method(&self) -> /*Ignored*/AudioBaseSrcSlaveMethod; #[doc(alias = "gst_audio_base_src_set_provide_clock")] @@ -42,50 +44,56 @@ pub trait AudioBaseSrcExt: 'static { //#[doc(alias = "gst_audio_base_src_set_slave_method")] //fn set_slave_method(&self, method: /*Ignored*/AudioBaseSrcSlaveMethod); - #[doc(alias = "get_property_actual_buffer_time")] + #[doc(alias = "actual-buffer-time")] fn actual_buffer_time(&self) -> i64; - #[doc(alias = "get_property_actual_latency_time")] + #[doc(alias = "actual-latency-time")] fn actual_latency_time(&self) -> i64; - #[doc(alias = "get_property_buffer_time")] + #[doc(alias = "buffer-time")] fn buffer_time(&self) -> i64; - #[doc(alias = "set_property_buffer_time")] + #[doc(alias = "buffer-time")] fn set_buffer_time(&self, buffer_time: i64); - #[doc(alias = "get_property_latency_time")] + #[doc(alias = "latency-time")] fn latency_time(&self) -> i64; - #[doc(alias = "set_property_latency_time")] + #[doc(alias = "latency-time")] fn set_latency_time(&self, latency_time: i64); - fn connect_property_actual_buffer_time_notify( + #[doc(alias = "actual-buffer-time")] + fn connect_actual_buffer_time_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_actual_latency_time_notify( + #[doc(alias = "actual-latency-time")] + fn connect_actual_latency_time_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_buffer_time_notify( + #[doc(alias = "buffer-time")] + fn connect_buffer_time_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_latency_time_notify( + #[doc(alias = "latency-time")] + fn connect_latency_time_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_provide_clock_notify( + #[doc(alias = "provide-clock")] + fn connect_provide_clock_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_slave_method_notify( + #[doc(alias = "slave-method")] + fn connect_slave_method_notify( &self, f: F, ) -> SignalHandlerId; @@ -197,7 +205,8 @@ impl> AudioBaseSrcExt for O { } } - fn connect_property_actual_buffer_time_notify( + #[doc(alias = "actual-buffer-time")] + fn connect_actual_buffer_time_notify( &self, f: F, ) -> SignalHandlerId { @@ -227,7 +236,8 @@ impl> AudioBaseSrcExt for O { } } - fn connect_property_actual_latency_time_notify( + #[doc(alias = "actual-latency-time")] + fn connect_actual_latency_time_notify( &self, f: F, ) -> SignalHandlerId { @@ -257,7 +267,8 @@ impl> AudioBaseSrcExt for O { } } - fn connect_property_buffer_time_notify( + #[doc(alias = "buffer-time")] + fn connect_buffer_time_notify( &self, f: F, ) -> SignalHandlerId { @@ -284,7 +295,8 @@ impl> AudioBaseSrcExt for O { } } - fn connect_property_latency_time_notify( + #[doc(alias = "latency-time")] + fn connect_latency_time_notify( &self, f: F, ) -> SignalHandlerId { @@ -311,7 +323,8 @@ impl> AudioBaseSrcExt for O { } } - fn connect_property_provide_clock_notify( + #[doc(alias = "provide-clock")] + fn connect_provide_clock_notify( &self, f: F, ) -> SignalHandlerId { @@ -338,7 +351,8 @@ impl> AudioBaseSrcExt for O { } } - fn connect_property_slave_method_notify( + #[doc(alias = "slave-method")] + fn connect_slave_method_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-audio/src/auto/audio_decoder.rs b/gstreamer-audio/src/auto/audio_decoder.rs index 8ac5e602f..0e89419b8 100644 --- a/gstreamer-audio/src/auto/audio_decoder.rs +++ b/gstreamer-audio/src/auto/audio_decoder.rs @@ -31,39 +31,51 @@ pub trait AudioDecoderExt: 'static { fn allocate_output_buffer(&self, size: usize) -> Result; #[doc(alias = "gst_audio_decoder_get_audio_info")] + #[doc(alias = "get_audio_info")] fn audio_info(&self) -> Option; #[doc(alias = "gst_audio_decoder_get_delay")] + #[doc(alias = "get_delay")] fn delay(&self) -> i32; #[doc(alias = "gst_audio_decoder_get_drainable")] + #[doc(alias = "get_drainable")] fn is_drainable(&self) -> bool; #[doc(alias = "gst_audio_decoder_get_estimate_rate")] + #[doc(alias = "get_estimate_rate")] fn estimate_rate(&self) -> i32; #[doc(alias = "gst_audio_decoder_get_latency")] + #[doc(alias = "get_latency")] fn latency(&self) -> (gst::ClockTime, gst::ClockTime); #[doc(alias = "gst_audio_decoder_get_max_errors")] + #[doc(alias = "get_max_errors")] fn max_errors(&self) -> i32; #[doc(alias = "gst_audio_decoder_get_min_latency")] + #[doc(alias = "get_min_latency")] fn min_latency(&self) -> gst::ClockTime; #[doc(alias = "gst_audio_decoder_get_needs_format")] + #[doc(alias = "get_needs_format")] fn needs_format(&self) -> bool; #[doc(alias = "gst_audio_decoder_get_parse_state")] + #[doc(alias = "get_parse_state")] fn parse_state(&self) -> (bool, bool); #[doc(alias = "gst_audio_decoder_get_plc")] + #[doc(alias = "get_plc")] fn is_plc(&self) -> bool; #[doc(alias = "gst_audio_decoder_get_plc_aware")] + #[doc(alias = "get_plc_aware")] fn plc_aware(&self) -> i32; #[doc(alias = "gst_audio_decoder_get_tolerance")] + #[doc(alias = "get_tolerance")] fn tolerance(&self) -> gst::ClockTime; #[doc(alias = "gst_audio_decoder_merge_tags")] @@ -109,22 +121,23 @@ pub trait AudioDecoderExt: 'static { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn connect_property_max_errors_notify( + #[doc(alias = "max-errors")] + fn connect_max_errors_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_min_latency_notify( + #[doc(alias = "min-latency")] + fn connect_min_latency_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_plc_notify( - &self, - f: F, - ) -> SignalHandlerId; + #[doc(alias = "plc")] + fn connect_plc_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_tolerance_notify( + #[doc(alias = "tolerance")] + fn connect_tolerance_notify( &self, f: F, ) -> SignalHandlerId; @@ -347,7 +360,8 @@ impl> AudioDecoderExt for O { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn connect_property_max_errors_notify( + #[doc(alias = "max-errors")] + fn connect_max_errors_notify( &self, f: F, ) -> SignalHandlerId { @@ -374,7 +388,8 @@ impl> AudioDecoderExt for O { } } - fn connect_property_min_latency_notify( + #[doc(alias = "min-latency")] + fn connect_min_latency_notify( &self, f: F, ) -> SignalHandlerId { @@ -401,10 +416,8 @@ impl> AudioDecoderExt for O { } } - fn connect_property_plc_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "plc")] + fn connect_plc_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_plc_trampoline( this: *mut ffi::GstAudioDecoder, _param_spec: glib::ffi::gpointer, @@ -428,7 +441,8 @@ impl> AudioDecoderExt for O { } } - fn connect_property_tolerance_notify( + #[doc(alias = "tolerance")] + fn connect_tolerance_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-audio/src/auto/audio_encoder.rs b/gstreamer-audio/src/auto/audio_encoder.rs index 26ae344a8..c2b31158d 100644 --- a/gstreamer-audio/src/auto/audio_encoder.rs +++ b/gstreamer-audio/src/auto/audio_encoder.rs @@ -30,36 +30,47 @@ pub trait AudioEncoderExt: 'static { fn allocate_output_buffer(&self, size: usize) -> Result; #[doc(alias = "gst_audio_encoder_get_audio_info")] + #[doc(alias = "get_audio_info")] fn audio_info(&self) -> Option; #[doc(alias = "gst_audio_encoder_get_drainable")] + #[doc(alias = "get_drainable")] fn is_drainable(&self) -> bool; #[doc(alias = "gst_audio_encoder_get_frame_max")] + #[doc(alias = "get_frame_max")] fn frame_max(&self) -> i32; #[doc(alias = "gst_audio_encoder_get_frame_samples_max")] + #[doc(alias = "get_frame_samples_max")] fn frame_samples_max(&self) -> i32; #[doc(alias = "gst_audio_encoder_get_frame_samples_min")] + #[doc(alias = "get_frame_samples_min")] fn frame_samples_min(&self) -> i32; #[doc(alias = "gst_audio_encoder_get_hard_min")] + #[doc(alias = "get_hard_min")] fn is_hard_min(&self) -> bool; #[doc(alias = "gst_audio_encoder_get_hard_resync")] + #[doc(alias = "get_hard_resync")] fn is_hard_resync(&self) -> bool; #[doc(alias = "gst_audio_encoder_get_lookahead")] + #[doc(alias = "get_lookahead")] fn lookahead(&self) -> i32; #[doc(alias = "gst_audio_encoder_get_mark_granule")] + #[doc(alias = "get_mark_granule")] fn is_mark_granule(&self) -> bool; #[doc(alias = "gst_audio_encoder_get_perfect_timestamp")] + #[doc(alias = "get_perfect_timestamp")] fn is_perfect_timestamp(&self) -> bool; #[doc(alias = "gst_audio_encoder_get_tolerance")] + #[doc(alias = "get_tolerance")] fn tolerance(&self) -> gst::ClockTime; #[doc(alias = "gst_audio_encoder_merge_tags")] @@ -109,22 +120,26 @@ pub trait AudioEncoderExt: 'static { #[doc(alias = "gst_audio_encoder_set_tolerance")] fn set_tolerance(&self, tolerance: gst::ClockTime); - fn connect_property_hard_resync_notify( + #[doc(alias = "hard-resync")] + fn connect_hard_resync_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_mark_granule_notify( + #[doc(alias = "mark-granule")] + fn connect_mark_granule_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_perfect_timestamp_notify( + #[doc(alias = "perfect-timestamp")] + fn connect_perfect_timestamp_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_tolerance_notify( + #[doc(alias = "tolerance")] + fn connect_tolerance_notify( &self, f: F, ) -> SignalHandlerId; @@ -341,7 +356,8 @@ impl> AudioEncoderExt for O { } } - fn connect_property_hard_resync_notify( + #[doc(alias = "hard-resync")] + fn connect_hard_resync_notify( &self, f: F, ) -> SignalHandlerId { @@ -368,7 +384,8 @@ impl> AudioEncoderExt for O { } } - fn connect_property_mark_granule_notify( + #[doc(alias = "mark-granule")] + fn connect_mark_granule_notify( &self, f: F, ) -> SignalHandlerId { @@ -395,7 +412,8 @@ impl> AudioEncoderExt for O { } } - fn connect_property_perfect_timestamp_notify( + #[doc(alias = "perfect-timestamp")] + fn connect_perfect_timestamp_notify( &self, f: F, ) -> SignalHandlerId { @@ -425,7 +443,8 @@ impl> AudioEncoderExt for O { } } - fn connect_property_tolerance_notify( + #[doc(alias = "tolerance")] + fn connect_tolerance_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-audio/src/auto/audio_stream_align.rs b/gstreamer-audio/src/auto/audio_stream_align.rs index 98c67086a..39ee5a438 100644 --- a/gstreamer-audio/src/auto/audio_stream_align.rs +++ b/gstreamer-audio/src/auto/audio_stream_align.rs @@ -34,6 +34,7 @@ impl AudioStreamAlign { } #[doc(alias = "gst_audio_stream_align_get_alignment_threshold")] + #[doc(alias = "get_alignment_threshold")] pub fn alignment_threshold(&self) -> gst::ClockTime { unsafe { from_glib(ffi::gst_audio_stream_align_get_alignment_threshold( @@ -43,6 +44,7 @@ impl AudioStreamAlign { } #[doc(alias = "gst_audio_stream_align_get_discont_wait")] + #[doc(alias = "get_discont_wait")] pub fn discont_wait(&self) -> gst::ClockTime { unsafe { from_glib(ffi::gst_audio_stream_align_get_discont_wait(mut_override( @@ -52,11 +54,13 @@ impl AudioStreamAlign { } #[doc(alias = "gst_audio_stream_align_get_rate")] + #[doc(alias = "get_rate")] pub fn rate(&self) -> i32 { unsafe { ffi::gst_audio_stream_align_get_rate(mut_override(self.to_glib_none().0)) } } #[doc(alias = "gst_audio_stream_align_get_samples_since_discont")] + #[doc(alias = "get_samples_since_discont")] pub fn samples_since_discont(&self) -> u64 { unsafe { ffi::gst_audio_stream_align_get_samples_since_discont(mut_override( @@ -66,6 +70,7 @@ impl AudioStreamAlign { } #[doc(alias = "gst_audio_stream_align_get_timestamp_at_discont")] + #[doc(alias = "get_timestamp_at_discont")] pub fn timestamp_at_discont(&self) -> gst::ClockTime { unsafe { from_glib(ffi::gst_audio_stream_align_get_timestamp_at_discont( diff --git a/gstreamer-audio/src/auto/stream_volume.rs b/gstreamer-audio/src/auto/stream_volume.rs index e444f4dd3..d3800a8a3 100644 --- a/gstreamer-audio/src/auto/stream_volume.rs +++ b/gstreamer-audio/src/auto/stream_volume.rs @@ -35,9 +35,11 @@ pub const NONE_STREAM_VOLUME: Option<&StreamVolume> = None; pub trait StreamVolumeExt: 'static { #[doc(alias = "gst_stream_volume_get_mute")] + #[doc(alias = "get_mute")] fn is_muted(&self) -> bool; #[doc(alias = "gst_stream_volume_get_volume")] + #[doc(alias = "get_volume")] fn volume(&self, format: StreamVolumeFormat) -> f64; #[doc(alias = "gst_stream_volume_set_mute")] @@ -46,15 +48,11 @@ pub trait StreamVolumeExt: 'static { #[doc(alias = "gst_stream_volume_set_volume")] fn set_volume(&self, format: StreamVolumeFormat, val: f64); - fn connect_property_mute_notify( - &self, - f: F, - ) -> SignalHandlerId; + #[doc(alias = "mute")] + fn connect_mute_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_volume_notify( - &self, - f: F, - ) -> SignalHandlerId; + #[doc(alias = "volume")] + fn connect_volume_notify(&self, f: F) -> SignalHandlerId; } impl> StreamVolumeExt for O { @@ -88,10 +86,8 @@ impl> StreamVolumeExt for O { } } - fn connect_property_mute_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "mute")] + fn connect_mute_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_mute_trampoline( this: *mut ffi::GstStreamVolume, _param_spec: glib::ffi::gpointer, @@ -115,10 +111,8 @@ impl> StreamVolumeExt for O { } } - fn connect_property_volume_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "volume")] + fn connect_volume_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_volume_trampoline( this: *mut ffi::GstStreamVolume, _param_spec: glib::ffi::gpointer, diff --git a/gstreamer-audio/src/auto/versions.txt b/gstreamer-audio/src/auto/versions.txt index 33aa18251..1ed8d5e7b 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 @ 0516825) +Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-audio/sys/build.rs b/gstreamer-audio/sys/build.rs index bae1ce3d4..0cbbd0fe4 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-audio/sys/src/lib.rs b/gstreamer-audio/sys/src/lib.rs index db2a4b93f..3cfe74806 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-audio/sys/tests/abi.rs b/gstreamer-audio/sys/tests/abi.rs index 57f32cce7..9241dc533 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-audio/sys/tests/constant.c b/gstreamer-audio/sys/tests/constant.c index 71f308117..5e774fad1 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-audio/sys/tests/layout.c b/gstreamer-audio/sys/tests/layout.c index bf36bd6db..dc7d6c48f 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-base/src/auto/aggregator.rs b/gstreamer-base/src/auto/aggregator.rs index 5d187eadf..2552b70b2 100644 --- a/gstreamer-base/src/auto/aggregator.rs +++ b/gstreamer-base/src/auto/aggregator.rs @@ -34,12 +34,15 @@ pub const NONE_AGGREGATOR: Option<&Aggregator> = None; pub trait AggregatorExt: 'static { //#[doc(alias = "gst_aggregator_get_allocator")] + //#[doc(alias = "get_allocator")] //fn allocator(&self, allocator: /*Ignored*/Option, params: /*Ignored*/gst::AllocationParams); #[doc(alias = "gst_aggregator_get_buffer_pool")] + #[doc(alias = "get_buffer_pool")] fn buffer_pool(&self) -> Option; #[doc(alias = "gst_aggregator_get_latency")] + #[doc(alias = "get_latency")] fn latency(&self) -> gst::ClockTime; #[cfg(any(feature = "v1_18", feature = "dox"))] @@ -70,56 +73,59 @@ pub trait AggregatorExt: 'static { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - #[doc(alias = "get_property_emit_signals")] + #[doc(alias = "emit-signals")] fn emits_signals(&self) -> bool; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - #[doc(alias = "set_property_emit_signals")] + #[doc(alias = "emit-signals")] fn set_emit_signals(&self, emit_signals: bool); - #[doc(alias = "get_property_start_time")] + #[doc(alias = "start-time")] fn start_time(&self) -> u64; - #[doc(alias = "set_property_start_time")] + #[doc(alias = "start-time")] fn set_start_time(&self, start_time: u64); #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - #[doc(alias = "get_property_start_time_selection")] + #[doc(alias = "start-time-selection")] fn start_time_selection(&self) -> AggregatorStartTimeSelection; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - #[doc(alias = "set_property_start_time_selection")] + #[doc(alias = "start-time-selection")] fn set_start_time_selection(&self, start_time_selection: AggregatorStartTimeSelection); //#[cfg(any(feature = "v1_18", feature = "dox"))] //#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] + //#[doc(alias = "samples-selected")] //fn connect_samples_selected(&self, f: F) -> SignalHandlerId; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn connect_property_emit_signals_notify( + #[doc(alias = "emit-signals")] + fn connect_emit_signals_notify( &self, f: F, ) -> SignalHandlerId; #[cfg(any(feature = "v1_14", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_14")))] - fn connect_property_latency_notify( - &self, - f: F, - ) -> SignalHandlerId; + #[doc(alias = "latency")] + fn connect_latency_notify(&self, f: F) + -> SignalHandlerId; - fn connect_property_start_time_notify( + #[doc(alias = "start-time")] + fn connect_start_time_notify( &self, f: F, ) -> SignalHandlerId; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn connect_property_start_time_selection_notify( + #[doc(alias = "start-time-selection")] + fn connect_start_time_selection_notify( &self, f: F, ) -> SignalHandlerId; @@ -282,13 +288,15 @@ impl> AggregatorExt for O { //#[cfg(any(feature = "v1_18", feature = "dox"))] //#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] + //#[doc(alias = "samples-selected")] //fn connect_samples_selected(&self, f: F) -> SignalHandlerId { // Ignored segment: Gst.Segment //} #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn connect_property_emit_signals_notify( + #[doc(alias = "emit-signals")] + fn connect_emit_signals_notify( &self, f: F, ) -> SignalHandlerId { @@ -317,7 +325,8 @@ impl> AggregatorExt for O { #[cfg(any(feature = "v1_14", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_14")))] - fn connect_property_latency_notify( + #[doc(alias = "latency")] + fn connect_latency_notify( &self, f: F, ) -> SignalHandlerId { @@ -344,7 +353,8 @@ impl> AggregatorExt for O { } } - fn connect_property_start_time_notify( + #[doc(alias = "start-time")] + fn connect_start_time_notify( &self, f: F, ) -> SignalHandlerId { @@ -373,7 +383,8 @@ impl> AggregatorExt for O { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn connect_property_start_time_selection_notify( + #[doc(alias = "start-time-selection")] + fn connect_start_time_selection_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-base/src/auto/aggregator_pad.rs b/gstreamer-base/src/auto/aggregator_pad.rs index 5d214b1d1..52a84c0b3 100644 --- a/gstreamer-base/src/auto/aggregator_pad.rs +++ b/gstreamer-base/src/auto/aggregator_pad.rs @@ -50,14 +50,15 @@ pub trait AggregatorPadExt: 'static { #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] - #[doc(alias = "get_property_emit_signals")] + #[doc(alias = "emit-signals")] fn emits_signals(&self) -> bool; #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] - #[doc(alias = "set_property_emit_signals")] + #[doc(alias = "emit-signals")] fn set_emit_signals(&self, emit_signals: bool); + #[doc(alias = "buffer-consumed")] fn connect_buffer_consumed( &self, f: F, @@ -65,7 +66,8 @@ pub trait AggregatorPadExt: 'static { #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] - fn connect_property_emit_signals_notify( + #[doc(alias = "emit-signals")] + fn connect_emit_signals_notify( &self, f: F, ) -> SignalHandlerId; @@ -142,6 +144,7 @@ impl> AggregatorPadExt for O { } } + #[doc(alias = "buffer-consumed")] fn connect_buffer_consumed( &self, f: F, @@ -177,7 +180,8 @@ impl> AggregatorPadExt for O { #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] - fn connect_property_emit_signals_notify( + #[doc(alias = "emit-signals")] + fn connect_emit_signals_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-base/src/auto/base_parse.rs b/gstreamer-base/src/auto/base_parse.rs index 8e9776428..e86add6ca 100644 --- a/gstreamer-base/src/auto/base_parse.rs +++ b/gstreamer-base/src/auto/base_parse.rs @@ -65,13 +65,14 @@ pub trait BaseParseExt: 'static { #[doc(alias = "gst_base_parse_set_ts_at_offset")] fn set_ts_at_offset(&self, offset: usize); - #[doc(alias = "get_property_disable_passthrough")] + #[doc(alias = "disable-passthrough")] fn is_disable_passthrough(&self) -> bool; - #[doc(alias = "set_property_disable_passthrough")] + #[doc(alias = "disable-passthrough")] fn set_disable_passthrough(&self, disable_passthrough: bool); - fn connect_property_disable_passthrough_notify( + #[doc(alias = "disable-passthrough")] + fn connect_disable_passthrough_notify( &self, f: F, ) -> SignalHandlerId; @@ -199,7 +200,8 @@ impl> BaseParseExt for O { } } - fn connect_property_disable_passthrough_notify( + #[doc(alias = "disable-passthrough")] + fn connect_disable_passthrough_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-base/src/auto/base_sink.rs b/gstreamer-base/src/auto/base_sink.rs index 930dac35e..7e8336871 100644 --- a/gstreamer-base/src/auto/base_sink.rs +++ b/gstreamer-base/src/auto/base_sink.rs @@ -31,45 +31,57 @@ pub trait BaseSinkExt: 'static { //fn do_preroll(&self, obj: /*Ignored*/&gst::MiniObject) -> gst::FlowReturn; #[doc(alias = "gst_base_sink_get_blocksize")] + #[doc(alias = "get_blocksize")] fn blocksize(&self) -> u32; #[cfg(any(feature = "v1_12", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))] #[doc(alias = "gst_base_sink_get_drop_out_of_segment")] + #[doc(alias = "get_drop_out_of_segment")] fn is_drop_out_of_segment(&self) -> bool; #[doc(alias = "gst_base_sink_get_last_sample")] + #[doc(alias = "get_last_sample")] fn last_sample(&self) -> Option; #[doc(alias = "gst_base_sink_get_latency")] + #[doc(alias = "get_latency")] fn latency(&self) -> gst::ClockTime; #[doc(alias = "gst_base_sink_get_max_bitrate")] + #[doc(alias = "get_max_bitrate")] fn max_bitrate(&self) -> u64; #[doc(alias = "gst_base_sink_get_max_lateness")] + #[doc(alias = "get_max_lateness")] fn max_lateness(&self) -> i64; #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] #[doc(alias = "gst_base_sink_get_processing_deadline")] + #[doc(alias = "get_processing_deadline")] fn processing_deadline(&self) -> gst::ClockTime; #[doc(alias = "gst_base_sink_get_render_delay")] + #[doc(alias = "get_render_delay")] fn render_delay(&self) -> gst::ClockTime; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "gst_base_sink_get_stats")] + #[doc(alias = "get_stats")] fn stats(&self) -> gst::Structure; #[doc(alias = "gst_base_sink_get_sync")] + #[doc(alias = "get_sync")] fn is_sync(&self) -> bool; #[doc(alias = "gst_base_sink_get_throttle_time")] + #[doc(alias = "get_throttle_time")] fn throttle_time(&self) -> u64; #[doc(alias = "gst_base_sink_get_ts_offset")] + #[doc(alias = "get_ts_offset")] fn ts_offset(&self) -> gst::ClockTimeDiff; #[doc(alias = "gst_base_sink_is_async_enabled")] @@ -121,89 +133,88 @@ pub trait BaseSinkExt: 'static { #[doc(alias = "gst_base_sink_set_ts_offset")] fn set_ts_offset(&self, offset: gst::ClockTimeDiff); - #[doc(alias = "get_property_async")] + #[doc(alias = "async")] fn is_async(&self) -> bool; - #[doc(alias = "set_property_async")] + #[doc(alias = "async")] fn set_async(&self, async_: bool); - #[doc(alias = "get_property_enable_last_sample")] + #[doc(alias = "enable-last-sample")] fn enables_last_sample(&self) -> bool; - #[doc(alias = "set_property_enable_last_sample")] + #[doc(alias = "enable-last-sample")] fn set_enable_last_sample(&self, enable_last_sample: bool); - #[doc(alias = "get_property_qos")] fn is_qos(&self) -> bool; - #[doc(alias = "set_property_qos")] fn set_qos(&self, qos: bool); - fn connect_property_async_notify( + #[doc(alias = "async")] + fn connect_async_notify(&self, f: F) -> SignalHandlerId; + + #[doc(alias = "blocksize")] + fn connect_blocksize_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_blocksize_notify( + #[doc(alias = "enable-last-sample")] + fn connect_enable_last_sample_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_enable_last_sample_notify( + #[doc(alias = "last-sample")] + fn connect_last_sample_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_last_sample_notify( + #[doc(alias = "max-bitrate")] + fn connect_max_bitrate_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_max_bitrate_notify( - &self, - f: F, - ) -> SignalHandlerId; - - fn connect_property_max_lateness_notify( + #[doc(alias = "max-lateness")] + fn connect_max_lateness_notify( &self, f: F, ) -> SignalHandlerId; #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] - fn connect_property_processing_deadline_notify( + #[doc(alias = "processing-deadline")] + fn connect_processing_deadline_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_qos_notify( - &self, - f: F, - ) -> SignalHandlerId; + #[doc(alias = "qos")] + fn connect_qos_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_render_delay_notify( + #[doc(alias = "render-delay")] + fn connect_render_delay_notify( &self, f: F, ) -> SignalHandlerId; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn connect_property_stats_notify( + #[doc(alias = "stats")] + fn connect_stats_notify(&self, f: F) -> SignalHandlerId; + + #[doc(alias = "sync")] + fn connect_sync_notify(&self, f: F) -> SignalHandlerId; + + #[doc(alias = "throttle-time")] + fn connect_throttle_time_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_sync_notify( - &self, - f: F, - ) -> SignalHandlerId; - - fn connect_property_throttle_time_notify( - &self, - f: F, - ) -> SignalHandlerId; - - fn connect_property_ts_offset_notify( + #[doc(alias = "ts-offset")] + fn connect_ts_offset_notify( &self, f: F, ) -> SignalHandlerId; @@ -470,10 +481,8 @@ impl> BaseSinkExt for O { } } - fn connect_property_async_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "async")] + fn connect_async_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_async_trampoline( this: *mut ffi::GstBaseSink, _param_spec: glib::ffi::gpointer, @@ -497,7 +506,8 @@ impl> BaseSinkExt for O { } } - fn connect_property_blocksize_notify( + #[doc(alias = "blocksize")] + fn connect_blocksize_notify( &self, f: F, ) -> SignalHandlerId { @@ -524,7 +534,8 @@ impl> BaseSinkExt for O { } } - fn connect_property_enable_last_sample_notify( + #[doc(alias = "enable-last-sample")] + fn connect_enable_last_sample_notify( &self, f: F, ) -> SignalHandlerId { @@ -554,7 +565,8 @@ impl> BaseSinkExt for O { } } - fn connect_property_last_sample_notify( + #[doc(alias = "last-sample")] + fn connect_last_sample_notify( &self, f: F, ) -> SignalHandlerId { @@ -581,7 +593,8 @@ impl> BaseSinkExt for O { } } - fn connect_property_max_bitrate_notify( + #[doc(alias = "max-bitrate")] + fn connect_max_bitrate_notify( &self, f: F, ) -> SignalHandlerId { @@ -608,7 +621,8 @@ impl> BaseSinkExt for O { } } - fn connect_property_max_lateness_notify( + #[doc(alias = "max-lateness")] + fn connect_max_lateness_notify( &self, f: F, ) -> SignalHandlerId { @@ -637,7 +651,8 @@ impl> BaseSinkExt for O { #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] - fn connect_property_processing_deadline_notify( + #[doc(alias = "processing-deadline")] + fn connect_processing_deadline_notify( &self, f: F, ) -> SignalHandlerId { @@ -667,10 +682,8 @@ impl> BaseSinkExt for O { } } - fn connect_property_qos_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "qos")] + fn connect_qos_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_qos_trampoline( this: *mut ffi::GstBaseSink, _param_spec: glib::ffi::gpointer, @@ -694,7 +707,8 @@ impl> BaseSinkExt for O { } } - fn connect_property_render_delay_notify( + #[doc(alias = "render-delay")] + fn connect_render_delay_notify( &self, f: F, ) -> SignalHandlerId { @@ -723,10 +737,8 @@ impl> BaseSinkExt for O { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn connect_property_stats_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "stats")] + fn connect_stats_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_stats_trampoline( this: *mut ffi::GstBaseSink, _param_spec: glib::ffi::gpointer, @@ -750,10 +762,8 @@ impl> BaseSinkExt for O { } } - fn connect_property_sync_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "sync")] + fn connect_sync_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_sync_trampoline( this: *mut ffi::GstBaseSink, _param_spec: glib::ffi::gpointer, @@ -777,7 +787,8 @@ impl> BaseSinkExt for O { } } - fn connect_property_throttle_time_notify( + #[doc(alias = "throttle-time")] + fn connect_throttle_time_notify( &self, f: F, ) -> SignalHandlerId { @@ -804,7 +815,8 @@ impl> BaseSinkExt for O { } } - fn connect_property_ts_offset_notify( + #[doc(alias = "ts-offset")] + fn connect_ts_offset_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-base/src/auto/base_src.rs b/gstreamer-base/src/auto/base_src.rs index 7c573124e..458d815f8 100644 --- a/gstreamer-base/src/auto/base_src.rs +++ b/gstreamer-base/src/auto/base_src.rs @@ -28,15 +28,19 @@ pub const NONE_BASE_SRC: Option<&BaseSrc> = None; pub trait BaseSrcExt: 'static { //#[doc(alias = "gst_base_src_get_allocator")] + //#[doc(alias = "get_allocator")] //fn allocator(&self, allocator: /*Ignored*/Option, params: /*Ignored*/gst::AllocationParams); #[doc(alias = "gst_base_src_get_blocksize")] + #[doc(alias = "get_blocksize")] fn blocksize(&self) -> u32; #[doc(alias = "gst_base_src_get_buffer_pool")] + #[doc(alias = "get_buffer_pool")] fn buffer_pool(&self) -> Option; #[doc(alias = "gst_base_src_get_do_timestamp")] + #[doc(alias = "get_do_timestamp")] fn does_timestamp(&self) -> bool; #[doc(alias = "gst_base_src_is_async")] @@ -78,34 +82,36 @@ pub trait BaseSrcExt: 'static { #[doc(alias = "gst_base_src_set_live")] fn set_live(&self, live: bool); - #[doc(alias = "get_property_num_buffers")] + #[doc(alias = "num-buffers")] fn num_buffers(&self) -> i32; - #[doc(alias = "set_property_num_buffers")] + #[doc(alias = "num-buffers")] fn set_num_buffers(&self, num_buffers: i32); - #[doc(alias = "get_property_typefind")] fn is_typefind(&self) -> bool; - #[doc(alias = "set_property_typefind")] fn set_typefind(&self, typefind: bool); - fn connect_property_blocksize_notify( + #[doc(alias = "blocksize")] + fn connect_blocksize_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_do_timestamp_notify( + #[doc(alias = "do-timestamp")] + fn connect_do_timestamp_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_num_buffers_notify( + #[doc(alias = "num-buffers")] + fn connect_num_buffers_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_typefind_notify( + #[doc(alias = "typefind")] + fn connect_typefind_notify( &self, f: F, ) -> SignalHandlerId; @@ -266,7 +272,8 @@ impl> BaseSrcExt for O { } } - fn connect_property_blocksize_notify( + #[doc(alias = "blocksize")] + fn connect_blocksize_notify( &self, f: F, ) -> SignalHandlerId { @@ -293,7 +300,8 @@ impl> BaseSrcExt for O { } } - fn connect_property_do_timestamp_notify( + #[doc(alias = "do-timestamp")] + fn connect_do_timestamp_notify( &self, f: F, ) -> SignalHandlerId { @@ -320,7 +328,8 @@ impl> BaseSrcExt for O { } } - fn connect_property_num_buffers_notify( + #[doc(alias = "num-buffers")] + fn connect_num_buffers_notify( &self, f: F, ) -> SignalHandlerId { @@ -347,7 +356,8 @@ impl> BaseSrcExt for O { } } - fn connect_property_typefind_notify( + #[doc(alias = "typefind")] + fn connect_typefind_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-base/src/auto/base_transform.rs b/gstreamer-base/src/auto/base_transform.rs index 3b6e10931..c3566cdf9 100644 --- a/gstreamer-base/src/auto/base_transform.rs +++ b/gstreamer-base/src/auto/base_transform.rs @@ -28,9 +28,11 @@ pub const NONE_BASE_TRANSFORM: Option<&BaseTransform> = None; pub trait BaseTransformExt: 'static { //#[doc(alias = "gst_base_transform_get_allocator")] + //#[doc(alias = "get_allocator")] //fn allocator(&self, allocator: /*Ignored*/Option, params: /*Ignored*/gst::AllocationParams); #[doc(alias = "gst_base_transform_get_buffer_pool")] + #[doc(alias = "get_buffer_pool")] fn buffer_pool(&self) -> Option; #[doc(alias = "gst_base_transform_is_in_place")] @@ -74,16 +76,12 @@ pub trait BaseTransformExt: 'static { #[doc(alias = "gst_base_transform_update_src_caps")] fn update_src_caps(&self, updated_caps: &gst::Caps) -> Result<(), glib::error::BoolError>; - #[doc(alias = "get_property_qos")] fn is_qos(&self) -> bool; - #[doc(alias = "set_property_qos")] fn set_qos(&self, qos: bool); - fn connect_property_qos_notify( - &self, - f: F, - ) -> SignalHandlerId; + #[doc(alias = "qos")] + fn connect_qos_notify(&self, f: F) -> SignalHandlerId; } impl> BaseTransformExt for O { @@ -235,10 +233,8 @@ impl> BaseTransformExt for O { } } - fn connect_property_qos_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "qos")] + fn connect_qos_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_qos_trampoline( this: *mut ffi::GstBaseTransform, _param_spec: glib::ffi::gpointer, diff --git a/gstreamer-base/src/auto/versions.txt b/gstreamer-base/src/auto/versions.txt index 33aa18251..1ed8d5e7b 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 @ 0516825) +Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-base/sys/build.rs b/gstreamer-base/sys/build.rs index bae1ce3d4..0cbbd0fe4 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-base/sys/src/lib.rs b/gstreamer-base/sys/src/lib.rs index 12272ef61..138df95e1 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-base/sys/tests/abi.rs b/gstreamer-base/sys/tests/abi.rs index 04b5bd13c..5395bcd71 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-base/sys/tests/constant.c b/gstreamer-base/sys/tests/constant.c index addb9780f..504e924d6 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-base/sys/tests/layout.c b/gstreamer-base/sys/tests/layout.c index 3ae6487a4..bd82dcbdf 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-check/src/auto/test_clock.rs b/gstreamer-check/src/auto/test_clock.rs index 1dc13003d..193aefe8d 100644 --- a/gstreamer-check/src/auto/test_clock.rs +++ b/gstreamer-check/src/auto/test_clock.rs @@ -29,6 +29,7 @@ impl TestClock { } #[doc(alias = "gst_test_clock_new_with_start_time")] + #[doc(alias = "new_with_start_time")] pub fn with_start_time(start_time: gst::ClockTime) -> TestClock { assert_initialized_main_thread!(); unsafe { @@ -52,6 +53,7 @@ impl TestClock { } #[doc(alias = "gst_test_clock_get_next_entry_time")] + #[doc(alias = "get_next_entry_time")] pub fn next_entry_time(&self) -> gst::ClockTime { unsafe { from_glib(ffi::gst_test_clock_get_next_entry_time( @@ -123,7 +125,7 @@ impl TestClock { } } - #[doc(alias = "get_property_clock_type")] + #[doc(alias = "clock-type")] pub fn clock_type(&self) -> gst::ClockType { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -138,7 +140,7 @@ impl TestClock { } } - #[doc(alias = "set_property_clock_type")] + #[doc(alias = "clock-type")] pub fn set_clock_type(&self, clock_type: gst::ClockType) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -149,7 +151,7 @@ impl TestClock { } } - #[doc(alias = "get_property_start_time")] + #[doc(alias = "start-time")] pub fn start_time(&self) -> u64 { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -169,7 +171,8 @@ impl TestClock { // unsafe { TODO: call ffi:gst_test_clock_id_list_get_latest_time() } //} - pub fn connect_property_clock_type_notify( + #[doc(alias = "clock-type")] + pub fn connect_clock_type_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-check/src/auto/versions.txt b/gstreamer-check/src/auto/versions.txt index 33aa18251..1ed8d5e7b 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 @ 0516825) +Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-check/sys/build.rs b/gstreamer-check/sys/build.rs index bae1ce3d4..0cbbd0fe4 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-check/sys/src/lib.rs b/gstreamer-check/sys/src/lib.rs index 15ca104f0..839aae622 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-check/sys/tests/abi.rs b/gstreamer-check/sys/tests/abi.rs index d4d87a42a..88b1634b0 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-check/sys/tests/constant.c b/gstreamer-check/sys/tests/constant.c index 2249df463..5299177e4 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-check/sys/tests/layout.c b/gstreamer-check/sys/tests/layout.c index ec5f47c00..0eb0de4f2 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-controller/src/auto/argb_control_binding.rs b/gstreamer-controller/src/auto/argb_control_binding.rs index aa6c3ba88..d7bdeb7be 100644 --- a/gstreamer-controller/src/auto/argb_control_binding.rs +++ b/gstreamer-controller/src/auto/argb_control_binding.rs @@ -58,46 +58,50 @@ unsafe impl Sync for ARGBControlBinding {} pub const NONE_ARGB_CONTROL_BINDING: Option<&ARGBControlBinding> = None; pub trait ARGBControlBindingExt: 'static { - #[doc(alias = "get_property_control_source_a")] + #[doc(alias = "control-source-a")] fn control_source_a(&self) -> Option; - #[doc(alias = "set_property_control_source_a")] + #[doc(alias = "control-source-a")] fn set_control_source_a>(&self, control_source_a: Option<&P>); - #[doc(alias = "get_property_control_source_b")] + #[doc(alias = "control-source-b")] fn control_source_b(&self) -> Option; - #[doc(alias = "set_property_control_source_b")] + #[doc(alias = "control-source-b")] fn set_control_source_b>(&self, control_source_b: Option<&P>); - #[doc(alias = "get_property_control_source_g")] + #[doc(alias = "control-source-g")] fn control_source_g(&self) -> Option; - #[doc(alias = "set_property_control_source_g")] + #[doc(alias = "control-source-g")] fn set_control_source_g>(&self, control_source_g: Option<&P>); - #[doc(alias = "get_property_control_source_r")] + #[doc(alias = "control-source-r")] fn control_source_r(&self) -> Option; - #[doc(alias = "set_property_control_source_r")] + #[doc(alias = "control-source-r")] fn set_control_source_r>(&self, control_source_r: Option<&P>); - fn connect_property_control_source_a_notify( + #[doc(alias = "control-source-a")] + fn connect_control_source_a_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_control_source_b_notify( + #[doc(alias = "control-source-b")] + fn connect_control_source_b_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_control_source_g_notify( + #[doc(alias = "control-source-g")] + fn connect_control_source_g_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_control_source_r_notify( + #[doc(alias = "control-source-r")] + fn connect_control_source_r_notify( &self, f: F, ) -> SignalHandlerId; @@ -204,7 +208,8 @@ impl> ARGBControlBindingExt for O { } } - fn connect_property_control_source_a_notify( + #[doc(alias = "control-source-a")] + fn connect_control_source_a_notify( &self, f: F, ) -> SignalHandlerId { @@ -234,7 +239,8 @@ impl> ARGBControlBindingExt for O { } } - fn connect_property_control_source_b_notify( + #[doc(alias = "control-source-b")] + fn connect_control_source_b_notify( &self, f: F, ) -> SignalHandlerId { @@ -264,7 +270,8 @@ impl> ARGBControlBindingExt for O { } } - fn connect_property_control_source_g_notify( + #[doc(alias = "control-source-g")] + fn connect_control_source_g_notify( &self, f: F, ) -> SignalHandlerId { @@ -294,7 +301,8 @@ impl> ARGBControlBindingExt for O { } } - fn connect_property_control_source_r_notify( + #[doc(alias = "control-source-r")] + fn connect_control_source_r_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-controller/src/auto/direct_control_binding.rs b/gstreamer-controller/src/auto/direct_control_binding.rs index 116b6012d..b3d6148e6 100644 --- a/gstreamer-controller/src/auto/direct_control_binding.rs +++ b/gstreamer-controller/src/auto/direct_control_binding.rs @@ -63,16 +63,16 @@ unsafe impl Sync for DirectControlBinding {} pub const NONE_DIRECT_CONTROL_BINDING: Option<&DirectControlBinding> = None; pub trait DirectControlBindingExt: 'static { - #[doc(alias = "get_property_absolute")] fn is_absolute(&self) -> bool; - #[doc(alias = "get_property_control_source")] + #[doc(alias = "control-source")] fn control_source(&self) -> Option; - #[doc(alias = "set_property_control_source")] + #[doc(alias = "control-source")] fn set_control_source>(&self, control_source: Option<&P>); - fn connect_property_control_source_notify( + #[doc(alias = "control-source")] + fn connect_control_source_notify( &self, f: F, ) -> SignalHandlerId; @@ -118,7 +118,8 @@ impl> DirectControlBindingExt for O { } } - fn connect_property_control_source_notify( + #[doc(alias = "control-source")] + fn connect_control_source_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-controller/src/auto/interpolation_control_source.rs b/gstreamer-controller/src/auto/interpolation_control_source.rs index 58c4edfca..991152fbd 100644 --- a/gstreamer-controller/src/auto/interpolation_control_source.rs +++ b/gstreamer-controller/src/auto/interpolation_control_source.rs @@ -46,16 +46,12 @@ unsafe impl Sync for InterpolationControlSource {} pub const NONE_INTERPOLATION_CONTROL_SOURCE: Option<&InterpolationControlSource> = None; pub trait InterpolationControlSourceExt: 'static { - #[doc(alias = "get_property_mode")] fn mode(&self) -> InterpolationMode; - #[doc(alias = "set_property_mode")] fn set_mode(&self, mode: InterpolationMode); - fn connect_property_mode_notify( - &self, - f: F, - ) -> SignalHandlerId; + #[doc(alias = "mode")] + fn connect_mode_notify(&self, f: F) -> SignalHandlerId; } impl> InterpolationControlSourceExt for O { @@ -84,10 +80,8 @@ impl> InterpolationControlSourceExt for O { } } - fn connect_property_mode_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "mode")] + fn connect_mode_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_mode_trampoline( this: *mut ffi::GstInterpolationControlSource, _param_spec: glib::ffi::gpointer, diff --git a/gstreamer-controller/src/auto/lfo_control_source.rs b/gstreamer-controller/src/auto/lfo_control_source.rs index 714f91067..9d49efc94 100644 --- a/gstreamer-controller/src/auto/lfo_control_source.rs +++ b/gstreamer-controller/src/auto/lfo_control_source.rs @@ -44,57 +44,49 @@ unsafe impl Sync for LFOControlSource {} pub const NONE_LFO_CONTROL_SOURCE: Option<&LFOControlSource> = None; pub trait LFOControlSourceExt: 'static { - #[doc(alias = "get_property_amplitude")] fn amplitude(&self) -> f64; - #[doc(alias = "set_property_amplitude")] fn set_amplitude(&self, amplitude: f64); - #[doc(alias = "get_property_frequency")] fn frequency(&self) -> f64; - #[doc(alias = "set_property_frequency")] fn set_frequency(&self, frequency: f64); - #[doc(alias = "get_property_offset")] fn offset(&self) -> f64; - #[doc(alias = "set_property_offset")] fn set_offset(&self, offset: f64); - #[doc(alias = "get_property_timeshift")] fn timeshift(&self) -> u64; - #[doc(alias = "set_property_timeshift")] fn set_timeshift(&self, timeshift: u64); - #[doc(alias = "get_property_waveform")] fn waveform(&self) -> LFOWaveform; - #[doc(alias = "set_property_waveform")] fn set_waveform(&self, waveform: LFOWaveform); - fn connect_property_amplitude_notify( + #[doc(alias = "amplitude")] + fn connect_amplitude_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_frequency_notify( + #[doc(alias = "frequency")] + fn connect_frequency_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_offset_notify( + #[doc(alias = "offset")] + fn connect_offset_notify(&self, f: F) -> SignalHandlerId; + + #[doc(alias = "timeshift")] + fn connect_timeshift_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_timeshift_notify( - &self, - f: F, - ) -> SignalHandlerId; - - fn connect_property_waveform_notify( + #[doc(alias = "waveform")] + fn connect_waveform_notify( &self, f: F, ) -> SignalHandlerId; @@ -221,7 +213,8 @@ impl> LFOControlSourceExt for O { } } - fn connect_property_amplitude_notify( + #[doc(alias = "amplitude")] + fn connect_amplitude_notify( &self, f: F, ) -> SignalHandlerId { @@ -248,7 +241,8 @@ impl> LFOControlSourceExt for O { } } - fn connect_property_frequency_notify( + #[doc(alias = "frequency")] + fn connect_frequency_notify( &self, f: F, ) -> SignalHandlerId { @@ -275,10 +269,8 @@ impl> LFOControlSourceExt for O { } } - fn connect_property_offset_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "offset")] + fn connect_offset_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_offset_trampoline( this: *mut ffi::GstLFOControlSource, _param_spec: glib::ffi::gpointer, @@ -302,7 +294,8 @@ impl> LFOControlSourceExt for O { } } - fn connect_property_timeshift_notify( + #[doc(alias = "timeshift")] + fn connect_timeshift_notify( &self, f: F, ) -> SignalHandlerId { @@ -329,7 +322,8 @@ impl> LFOControlSourceExt for O { } } - fn connect_property_waveform_notify( + #[doc(alias = "waveform")] + fn connect_waveform_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-controller/src/auto/timed_value_control_source.rs b/gstreamer-controller/src/auto/timed_value_control_source.rs index 545c0390d..d11418d11 100644 --- a/gstreamer-controller/src/auto/timed_value_control_source.rs +++ b/gstreamer-controller/src/auto/timed_value_control_source.rs @@ -30,9 +30,11 @@ pub trait TimedValueControlSourceExt: 'static { //fn find_control_point_iter(&self, timestamp: gst::ClockTime) -> /*Ignored*/Option; //#[doc(alias = "gst_timed_value_control_source_get_all")] + //#[doc(alias = "get_all")] //fn all(&self) -> /*Ignored*/Vec; #[doc(alias = "gst_timed_value_control_source_get_count")] + #[doc(alias = "get_count")] fn count(&self) -> i32; #[doc(alias = "gst_timed_value_control_source_set")] @@ -47,16 +49,19 @@ pub trait TimedValueControlSourceExt: 'static { #[doc(alias = "gst_timed_value_control_source_unset_all")] fn unset_all(&self); + #[doc(alias = "value-added")] fn connect_value_added( &self, f: F, ) -> SignalHandlerId; + #[doc(alias = "value-changed")] fn connect_value_changed( &self, f: F, ) -> SignalHandlerId; + #[doc(alias = "value-removed")] fn connect_value_removed( &self, f: F, @@ -105,6 +110,7 @@ impl> TimedValueControlSourceExt for O { } } + #[doc(alias = "value-added")] fn connect_value_added( &self, f: F, @@ -138,6 +144,7 @@ impl> TimedValueControlSourceExt for O { } } + #[doc(alias = "value-changed")] fn connect_value_changed( &self, f: F, @@ -171,6 +178,7 @@ impl> TimedValueControlSourceExt for O { } } + #[doc(alias = "value-removed")] fn connect_value_removed( &self, f: F, diff --git a/gstreamer-controller/src/auto/trigger_control_source.rs b/gstreamer-controller/src/auto/trigger_control_source.rs index 99ab83988..f21b44c08 100644 --- a/gstreamer-controller/src/auto/trigger_control_source.rs +++ b/gstreamer-controller/src/auto/trigger_control_source.rs @@ -44,13 +44,12 @@ unsafe impl Sync for TriggerControlSource {} pub const NONE_TRIGGER_CONTROL_SOURCE: Option<&TriggerControlSource> = None; pub trait TriggerControlSourceExt: 'static { - #[doc(alias = "get_property_tolerance")] fn tolerance(&self) -> i64; - #[doc(alias = "set_property_tolerance")] fn set_tolerance(&self, tolerance: i64); - fn connect_property_tolerance_notify( + #[doc(alias = "tolerance")] + fn connect_tolerance_notify( &self, f: F, ) -> SignalHandlerId; @@ -81,7 +80,8 @@ impl> TriggerControlSourceExt for O { } } - fn connect_property_tolerance_notify( + #[doc(alias = "tolerance")] + fn connect_tolerance_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-controller/src/auto/versions.txt b/gstreamer-controller/src/auto/versions.txt index 33aa18251..1ed8d5e7b 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 @ 0516825) +Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-controller/sys/build.rs b/gstreamer-controller/sys/build.rs index bae1ce3d4..0cbbd0fe4 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-controller/sys/src/lib.rs b/gstreamer-controller/sys/src/lib.rs index 8751f1417..69a5c6df8 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-controller/sys/tests/abi.rs b/gstreamer-controller/sys/tests/abi.rs index 34c22d856..18d312b36 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-controller/sys/tests/constant.c b/gstreamer-controller/sys/tests/constant.c index a93fd6f28..9dd0f0f8f 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-controller/sys/tests/layout.c b/gstreamer-controller/sys/tests/layout.c index 0ab8e4eab..cb728396c 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-editing-services/src/auto/asset.rs b/gstreamer-editing-services/src/auto/asset.rs index b9bf1e692..5bc8f5824 100644 --- a/gstreamer-editing-services/src/auto/asset.rs +++ b/gstreamer-editing-services/src/auto/asset.rs @@ -125,18 +125,23 @@ pub trait AssetExt: 'static { fn extract(&self) -> Result; #[doc(alias = "ges_asset_get_error")] + #[doc(alias = "get_error")] fn error(&self) -> Option; #[doc(alias = "ges_asset_get_extractable_type")] + #[doc(alias = "get_extractable_type")] fn extractable_type(&self) -> glib::types::Type; #[doc(alias = "ges_asset_get_id")] + #[doc(alias = "get_id")] fn id(&self) -> Option; #[doc(alias = "ges_asset_get_proxy")] + #[doc(alias = "get_proxy")] fn proxy(&self) -> Option; #[doc(alias = "ges_asset_get_proxy_target")] + #[doc(alias = "get_proxy_target")] fn proxy_target(&self) -> Option; #[doc(alias = "ges_asset_list_proxies")] @@ -148,10 +153,11 @@ pub trait AssetExt: 'static { #[doc(alias = "ges_asset_unproxy")] fn unproxy>(&self, proxy: &P) -> Result<(), glib::error::BoolError>; - fn connect_property_proxy_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "proxy")] + fn connect_proxy_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_proxy_target_notify(&self, f: F) - -> SignalHandlerId; + #[doc(alias = "proxy-target")] + fn connect_proxy_target_notify(&self, f: F) -> SignalHandlerId; } impl> AssetExt for O { @@ -227,7 +233,8 @@ impl> AssetExt for O { } } - fn connect_property_proxy_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "proxy")] + fn connect_proxy_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_proxy_trampoline( this: *mut ffi::GESAsset, _param_spec: glib::ffi::gpointer, @@ -251,10 +258,8 @@ impl> AssetExt for O { } } - fn connect_property_proxy_target_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "proxy-target")] + fn connect_proxy_target_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_proxy_target_trampoline( this: *mut ffi::GESAsset, _param_spec: glib::ffi::gpointer, diff --git a/gstreamer-editing-services/src/auto/clip.rs b/gstreamer-editing-services/src/auto/clip.rs index 6231f6c9b..b92a74b07 100644 --- a/gstreamer-editing-services/src/auto/clip.rs +++ b/gstreamer-editing-services/src/auto/clip.rs @@ -73,11 +73,13 @@ pub trait ClipExt: 'static { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "ges_clip_get_duration_limit")] + #[doc(alias = "get_duration_limit")] fn duration_limit(&self) -> gst::ClockTime; #[cfg(any(feature = "v1_18", feature = "dox"))] #[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>( &self, child: &P, @@ -85,14 +87,17 @@ pub trait ClipExt: 'static { ) -> Result; #[doc(alias = "ges_clip_get_layer")] + #[doc(alias = "get_layer")] fn layer(&self) -> Option; #[doc(alias = "ges_clip_get_supported_formats")] + #[doc(alias = "get_supported_formats")] fn supported_formats(&self) -> TrackType; #[cfg(any(feature = "v1_18", feature = "dox"))] #[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>( &self, child: &P, @@ -102,18 +107,22 @@ pub trait ClipExt: 'static { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "ges_clip_get_timeline_time_from_source_frame")] + #[doc(alias = "get_timeline_time_from_source_frame")] fn timeline_time_from_source_frame( &self, frame_number: FrameNumber, ) -> Result; #[doc(alias = "ges_clip_get_top_effect_index")] + #[doc(alias = "get_top_effect_index")] fn top_effect_index>(&self, effect: &P) -> i32; #[doc(alias = "ges_clip_get_top_effect_position")] + #[doc(alias = "get_top_effect_position")] fn top_effect_position>(&self, effect: &P) -> 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")] @@ -165,17 +174,14 @@ pub trait ClipExt: 'static { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn connect_property_duration_limit_notify( - &self, - f: F, - ) -> SignalHandlerId; + #[doc(alias = "duration-limit")] + fn connect_duration_limit_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_layer_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "layer")] + fn connect_layer_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_supported_formats_notify( - &self, - f: F, - ) -> SignalHandlerId; + #[doc(alias = "supported-formats")] + fn connect_supported_formats_notify(&self, f: F) -> SignalHandlerId; } impl> ClipExt for O { @@ -521,10 +527,8 @@ impl> ClipExt for O { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn connect_property_duration_limit_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "duration-limit")] + fn connect_duration_limit_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_duration_limit_trampoline( this: *mut ffi::GESClip, _param_spec: glib::ffi::gpointer, @@ -548,7 +552,8 @@ impl> ClipExt for O { } } - fn connect_property_layer_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "layer")] + fn connect_layer_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_layer_trampoline( this: *mut ffi::GESClip, _param_spec: glib::ffi::gpointer, @@ -572,10 +577,8 @@ impl> ClipExt for O { } } - fn connect_property_supported_formats_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "supported-formats")] + fn connect_supported_formats_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_supported_formats_trampoline( this: *mut ffi::GESClip, _param_spec: glib::ffi::gpointer, diff --git a/gstreamer-editing-services/src/auto/container.rs b/gstreamer-editing-services/src/auto/container.rs index dd064788b..9785af103 100644 --- a/gstreamer-editing-services/src/auto/container.rs +++ b/gstreamer-editing-services/src/auto/container.rs @@ -51,6 +51,7 @@ pub trait GESContainerExt: 'static { ) -> Result<(), glib::error::BoolError>; #[doc(alias = "ges_container_get_children")] + #[doc(alias = "get_children")] fn children(&self, recursive: bool) -> Vec; #[doc(alias = "ges_container_remove")] @@ -59,20 +60,22 @@ pub trait GESContainerExt: 'static { #[doc(alias = "ges_container_ungroup")] fn ungroup(&self, recursive: bool) -> Vec; - #[doc(alias = "get_property_height")] fn height(&self) -> u32; + #[doc(alias = "child-added")] fn connect_child_added( &self, f: F, ) -> SignalHandlerId; + #[doc(alias = "child-removed")] fn connect_child_removed( &self, f: F, ) -> SignalHandlerId; - fn connect_property_height_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "height")] + fn connect_height_notify(&self, f: F) -> SignalHandlerId; } impl> GESContainerExt for O { @@ -155,6 +158,7 @@ impl> GESContainerExt for O { } } + #[doc(alias = "child-added")] fn connect_child_added( &self, f: F, @@ -185,6 +189,7 @@ impl> GESContainerExt for O { } } + #[doc(alias = "child-removed")] fn connect_child_removed( &self, f: F, @@ -215,7 +220,8 @@ impl> GESContainerExt for O { } } - fn connect_property_height_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "height")] + fn connect_height_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_height_trampoline( this: *mut ffi::GESContainer, _param_spec: glib::ffi::gpointer, diff --git a/gstreamer-editing-services/src/auto/effect.rs b/gstreamer-editing-services/src/auto/effect.rs index 5b44a2a8f..b778ebeb0 100644 --- a/gstreamer-editing-services/src/auto/effect.rs +++ b/gstreamer-editing-services/src/auto/effect.rs @@ -33,7 +33,7 @@ impl Effect { pub const NONE_EFFECT: Option<&Effect> = None; pub trait EffectExt: 'static { - #[doc(alias = "get_property_bin_description")] + #[doc(alias = "bin-description")] fn bin_description(&self) -> Option; } diff --git a/gstreamer-editing-services/src/auto/extractable.rs b/gstreamer-editing-services/src/auto/extractable.rs index e243b328f..73ee0d316 100644 --- a/gstreamer-editing-services/src/auto/extractable.rs +++ b/gstreamer-editing-services/src/auto/extractable.rs @@ -19,9 +19,11 @@ pub const NONE_EXTRACTABLE: Option<&Extractable> = None; pub trait ExtractableExt: 'static { #[doc(alias = "ges_extractable_get_asset")] + #[doc(alias = "get_asset")] fn asset(&self) -> Option; #[doc(alias = "ges_extractable_get_id")] + #[doc(alias = "get_id")] fn id(&self) -> Option; #[doc(alias = "ges_extractable_set_asset")] diff --git a/gstreamer-editing-services/src/auto/group.rs b/gstreamer-editing-services/src/auto/group.rs index 4c7539c98..0e87fcf0c 100644 --- a/gstreamer-editing-services/src/auto/group.rs +++ b/gstreamer-editing-services/src/auto/group.rs @@ -41,46 +41,44 @@ impl Default for Group { pub const NONE_GROUP: Option<&Group> = None; pub trait GroupExt: 'static { - #[doc(alias = "get_property_duration")] fn duration(&self) -> u64; - #[doc(alias = "set_property_duration")] fn set_duration(&self, duration: u64); - #[doc(alias = "get_property_in_point")] + #[doc(alias = "in-point")] fn in_point(&self) -> u64; - #[doc(alias = "set_property_in_point")] + #[doc(alias = "in-point")] fn set_in_point(&self, in_point: u64); - #[doc(alias = "get_property_max_duration")] + #[doc(alias = "max-duration")] fn max_duration(&self) -> u64; - #[doc(alias = "set_property_max_duration")] + #[doc(alias = "max-duration")] fn set_max_duration(&self, max_duration: u64); - #[doc(alias = "get_property_priority")] fn priority(&self) -> u32; - #[doc(alias = "set_property_priority")] fn set_priority(&self, priority: u32); - #[doc(alias = "get_property_start")] fn start(&self) -> u64; - #[doc(alias = "set_property_start")] fn set_start(&self, start: u64); - fn connect_property_duration_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "duration")] + fn connect_duration_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_in_point_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "in-point")] + fn connect_in_point_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_max_duration_notify(&self, f: F) - -> SignalHandlerId; + #[doc(alias = "max-duration")] + fn connect_max_duration_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_priority_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "priority")] + fn connect_priority_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_start_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "start")] + fn connect_start_notify(&self, f: F) -> SignalHandlerId; } impl> GroupExt for O { @@ -204,7 +202,8 @@ impl> GroupExt for O { } } - fn connect_property_duration_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "duration")] + fn connect_duration_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_duration_trampoline( this: *mut ffi::GESGroup, _param_spec: glib::ffi::gpointer, @@ -228,7 +227,8 @@ impl> GroupExt for O { } } - fn connect_property_in_point_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "in-point")] + fn connect_in_point_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_in_point_trampoline( this: *mut ffi::GESGroup, _param_spec: glib::ffi::gpointer, @@ -252,10 +252,8 @@ impl> GroupExt for O { } } - fn connect_property_max_duration_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "max-duration")] + fn connect_max_duration_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_max_duration_trampoline( this: *mut ffi::GESGroup, _param_spec: glib::ffi::gpointer, @@ -279,7 +277,8 @@ impl> GroupExt for O { } } - fn connect_property_priority_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "priority")] + fn connect_priority_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_priority_trampoline( this: *mut ffi::GESGroup, _param_spec: glib::ffi::gpointer, @@ -303,7 +302,8 @@ impl> GroupExt for O { } } - fn connect_property_start_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "start")] + fn connect_start_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_start_trampoline( this: *mut ffi::GESGroup, _param_spec: glib::ffi::gpointer, diff --git a/gstreamer-editing-services/src/auto/layer.rs b/gstreamer-editing-services/src/auto/layer.rs index a9c2af9c4..249368312 100644 --- a/gstreamer-editing-services/src/auto/layer.rs +++ b/gstreamer-editing-services/src/auto/layer.rs @@ -80,24 +80,31 @@ pub trait LayerExt: 'static { #[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; #[doc(alias = "ges_layer_get_auto_transition")] + #[doc(alias = "get_auto_transition")] fn is_auto_transition(&self) -> bool; #[doc(alias = "ges_layer_get_clips")] + #[doc(alias = "get_clips")] fn clips(&self) -> Vec; #[doc(alias = "ges_layer_get_clips_in_interval")] + #[doc(alias = "get_clips_in_interval")] fn clips_in_interval(&self, start: gst::ClockTime, end: gst::ClockTime) -> Vec; #[doc(alias = "ges_layer_get_duration")] + #[doc(alias = "get_duration")] fn duration(&self) -> gst::ClockTime; #[doc(alias = "ges_layer_get_priority")] + #[doc(alias = "get_priority")] fn priority(&self) -> u32; #[doc(alias = "ges_layer_get_timeline")] + #[doc(alias = "get_timeline")] fn timeline(&self) -> Option; #[doc(alias = "ges_layer_is_empty")] @@ -123,19 +130,21 @@ pub trait LayerExt: 'static { //#[cfg(any(feature = "v1_18", feature = "dox"))] //#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] + //#[doc(alias = "active-changed")] //fn connect_active_changed(&self, f: F) -> SignalHandlerId; + #[doc(alias = "clip-added")] fn connect_clip_added(&self, f: F) -> SignalHandlerId; + #[doc(alias = "clip-removed")] fn connect_clip_removed(&self, f: F) -> SignalHandlerId; - fn connect_property_auto_transition_notify( - &self, - f: F, - ) -> SignalHandlerId; + #[doc(alias = "auto-transition")] + fn connect_auto_transition_notify(&self, f: F) -> SignalHandlerId; #[cfg_attr(feature = "v1_16", deprecated = "Since 1.16")] - fn connect_property_priority_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "priority")] + fn connect_priority_notify(&self, f: F) -> SignalHandlerId; } impl> LayerExt for O { @@ -322,10 +331,12 @@ impl> LayerExt for O { //#[cfg(any(feature = "v1_18", feature = "dox"))] //#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] + //#[doc(alias = "active-changed")] //fn connect_active_changed(&self, f: F) -> SignalHandlerId { // Empty ctype tracks: *.PtrArray TypeId { ns_id: 1, id: 17 } //} + #[doc(alias = "clip-added")] fn connect_clip_added(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn clip_added_trampoline( this: *mut ffi::GESLayer, @@ -353,6 +364,7 @@ impl> LayerExt for O { } } + #[doc(alias = "clip-removed")] fn connect_clip_removed(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn clip_removed_trampoline( this: *mut ffi::GESLayer, @@ -380,10 +392,8 @@ impl> LayerExt for O { } } - fn connect_property_auto_transition_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "auto-transition")] + fn connect_auto_transition_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_auto_transition_trampoline( this: *mut ffi::GESLayer, _param_spec: glib::ffi::gpointer, @@ -407,7 +417,8 @@ impl> LayerExt for O { } } - fn connect_property_priority_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "priority")] + fn connect_priority_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_priority_trampoline( this: *mut ffi::GESLayer, _param_spec: glib::ffi::gpointer, diff --git a/gstreamer-editing-services/src/auto/pipeline.rs b/gstreamer-editing-services/src/auto/pipeline.rs index f216ec117..17f71f5da 100644 --- a/gstreamer-editing-services/src/auto/pipeline.rs +++ b/gstreamer-editing-services/src/auto/pipeline.rs @@ -42,12 +42,15 @@ pub const NONE_PIPELINE: Option<&Pipeline> = None; pub trait GESPipelineExt: 'static { #[doc(alias = "ges_pipeline_get_mode")] + #[doc(alias = "get_mode")] fn mode(&self) -> PipelineFlags; #[doc(alias = "ges_pipeline_get_thumbnail")] + #[doc(alias = "get_thumbnail")] fn thumbnail(&self, caps: &gst::Caps) -> Option; #[doc(alias = "ges_pipeline_get_thumbnail_rgb24")] + #[doc(alias = "get_thumbnail_rgb24")] fn thumbnail_rgb24(&self, width: i32, height: i32) -> Option; #[doc(alias = "ges_pipeline_preview_get_audio_sink")] @@ -84,46 +87,49 @@ pub trait GESPipelineExt: 'static { #[doc(alias = "ges_pipeline_set_timeline")] fn set_timeline>(&self, timeline: &P) -> Result<(), glib::error::BoolError>; - #[doc(alias = "get_property_audio_filter")] + #[doc(alias = "audio-filter")] fn audio_filter(&self) -> Option; - #[doc(alias = "set_property_audio_filter")] + #[doc(alias = "audio-filter")] fn set_audio_filter>(&self, audio_filter: Option<&P>); - #[doc(alias = "get_property_audio_sink")] + #[doc(alias = "audio-sink")] fn audio_sink(&self) -> Option; - #[doc(alias = "set_property_audio_sink")] + #[doc(alias = "audio-sink")] fn set_audio_sink>(&self, audio_sink: Option<&P>); - #[doc(alias = "get_property_timeline")] fn timeline(&self) -> Option; - #[doc(alias = "get_property_video_filter")] + #[doc(alias = "video-filter")] fn video_filter(&self) -> Option; - #[doc(alias = "set_property_video_filter")] + #[doc(alias = "video-filter")] fn set_video_filter>(&self, video_filter: Option<&P>); - #[doc(alias = "get_property_video_sink")] + #[doc(alias = "video-sink")] fn video_sink(&self) -> Option; - #[doc(alias = "set_property_video_sink")] + #[doc(alias = "video-sink")] fn set_video_sink>(&self, video_sink: Option<&P>); - fn connect_property_audio_filter_notify(&self, f: F) - -> SignalHandlerId; + #[doc(alias = "audio-filter")] + fn connect_audio_filter_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_audio_sink_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "audio-sink")] + fn connect_audio_sink_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_mode_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "mode")] + fn connect_mode_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_timeline_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "timeline")] + fn connect_timeline_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_video_filter_notify(&self, f: F) - -> SignalHandlerId; + #[doc(alias = "video-filter")] + fn connect_video_filter_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_video_sink_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "video-sink")] + fn connect_video_sink_notify(&self, f: F) -> SignalHandlerId; } impl> GESPipelineExt for O { @@ -357,10 +363,8 @@ impl> GESPipelineExt for O { } } - fn connect_property_audio_filter_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "audio-filter")] + fn connect_audio_filter_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_audio_filter_trampoline( this: *mut ffi::GESPipeline, _param_spec: glib::ffi::gpointer, @@ -384,7 +388,8 @@ impl> GESPipelineExt for O { } } - fn connect_property_audio_sink_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "audio-sink")] + fn connect_audio_sink_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_audio_sink_trampoline( this: *mut ffi::GESPipeline, _param_spec: glib::ffi::gpointer, @@ -408,7 +413,8 @@ impl> GESPipelineExt for O { } } - fn connect_property_mode_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "mode")] + fn connect_mode_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_mode_trampoline( this: *mut ffi::GESPipeline, _param_spec: glib::ffi::gpointer, @@ -432,7 +438,8 @@ impl> GESPipelineExt for O { } } - fn connect_property_timeline_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "timeline")] + fn connect_timeline_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_timeline_trampoline( this: *mut ffi::GESPipeline, _param_spec: glib::ffi::gpointer, @@ -456,10 +463,8 @@ impl> GESPipelineExt for O { } } - fn connect_property_video_filter_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "video-filter")] + fn connect_video_filter_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_video_filter_trampoline( this: *mut ffi::GESPipeline, _param_spec: glib::ffi::gpointer, @@ -483,7 +488,8 @@ impl> GESPipelineExt for O { } } - fn connect_property_video_sink_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "video-sink")] + fn connect_video_sink_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_video_sink_trampoline( this: *mut ffi::GESPipeline, _param_spec: glib::ffi::gpointer, diff --git a/gstreamer-editing-services/src/auto/project.rs b/gstreamer-editing-services/src/auto/project.rs index 83932bced..5baeec86a 100644 --- a/gstreamer-editing-services/src/auto/project.rs +++ b/gstreamer-editing-services/src/auto/project.rs @@ -58,12 +58,15 @@ pub trait ProjectExt: 'static { ) -> Result, glib::Error>; #[doc(alias = "ges_project_get_asset")] + #[doc(alias = "get_asset")] fn asset(&self, id: &str, extractable_type: glib::types::Type) -> Option; #[doc(alias = "ges_project_get_loading_assets")] + #[doc(alias = "get_loading_assets")] fn loading_assets(&self) -> Vec; #[doc(alias = "ges_project_get_uri")] + #[doc(alias = "get_uri")] fn uri(&self) -> Option; #[doc(alias = "ges_project_list_assets")] @@ -87,30 +90,38 @@ pub trait ProjectExt: 'static { overwrite: bool, ) -> Result<(), glib::Error>; + #[doc(alias = "asset-added")] fn connect_asset_added(&self, f: F) -> SignalHandlerId; + #[doc(alias = "asset-loading")] fn connect_asset_loading(&self, f: F) -> SignalHandlerId; + #[doc(alias = "asset-removed")] fn connect_asset_removed(&self, f: F) -> SignalHandlerId; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] + #[doc(alias = "error-loading")] fn connect_error_loading( &self, f: F, ) -> SignalHandlerId; + #[doc(alias = "error-loading-asset")] fn connect_error_loading_asset( &self, f: F, ) -> SignalHandlerId; + #[doc(alias = "loaded")] fn connect_loaded(&self, f: F) -> SignalHandlerId; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] + #[doc(alias = "loading")] fn connect_loading(&self, f: F) -> SignalHandlerId; + #[doc(alias = "missing-uri")] fn connect_missing_uri Option + 'static>( &self, f: F, @@ -271,6 +282,7 @@ impl> ProjectExt for O { } } + #[doc(alias = "asset-added")] fn connect_asset_added(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn asset_added_trampoline( this: *mut ffi::GESProject, @@ -298,6 +310,7 @@ impl> ProjectExt for O { } } + #[doc(alias = "asset-loading")] fn connect_asset_loading(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn asset_loading_trampoline( this: *mut ffi::GESProject, @@ -325,6 +338,7 @@ impl> ProjectExt for O { } } + #[doc(alias = "asset-removed")] fn connect_asset_removed(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn asset_removed_trampoline( this: *mut ffi::GESProject, @@ -354,6 +368,7 @@ impl> ProjectExt for O { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] + #[doc(alias = "error-loading")] fn connect_error_loading( &self, f: F, @@ -389,6 +404,7 @@ impl> ProjectExt for O { } } + #[doc(alias = "error-loading-asset")] fn connect_error_loading_asset< F: Fn(&Self, &glib::Error, &str, glib::types::Type) + 'static, >( @@ -428,6 +444,7 @@ impl> ProjectExt for O { } } + #[doc(alias = "loaded")] fn connect_loaded(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn loaded_trampoline( this: *mut ffi::GESProject, @@ -457,6 +474,7 @@ impl> ProjectExt for O { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] + #[doc(alias = "loading")] fn connect_loading(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn loading_trampoline( this: *mut ffi::GESProject, @@ -484,6 +502,7 @@ impl> ProjectExt for O { } } + #[doc(alias = "missing-uri")] fn connect_missing_uri< F: Fn(&Self, &glib::Error, &Asset) -> Option + 'static, >( diff --git a/gstreamer-editing-services/src/auto/timeline.rs b/gstreamer-editing-services/src/auto/timeline.rs index 762f4b589..f53378ec4 100644 --- a/gstreamer-editing-services/src/auto/timeline.rs +++ b/gstreamer-editing-services/src/auto/timeline.rs @@ -47,6 +47,7 @@ impl Timeline { } #[doc(alias = "ges_timeline_new_from_uri")] + #[doc(alias = "new_from_uri")] pub fn from_uri(uri: &str) -> Result, glib::Error> { assert_initialized_main_thread!(); unsafe { @@ -87,43 +88,55 @@ pub trait TimelineExt: 'static { fn commit_sync(&self) -> bool; #[doc(alias = "ges_timeline_get_auto_transition")] + #[doc(alias = "get_auto_transition")] fn is_auto_transition(&self) -> bool; #[doc(alias = "ges_timeline_get_duration")] + #[doc(alias = "get_duration")] fn duration(&self) -> gst::ClockTime; #[doc(alias = "ges_timeline_get_element")] + #[doc(alias = "get_element")] fn element(&self, name: &str) -> Option; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "ges_timeline_get_frame_at")] + #[doc(alias = "get_frame_at")] fn frame_at(&self, timestamp: gst::ClockTime) -> FrameNumber; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "ges_timeline_get_frame_time")] + #[doc(alias = "get_frame_time")] fn frame_time(&self, frame_number: FrameNumber) -> gst::ClockTime; #[doc(alias = "ges_timeline_get_groups")] + #[doc(alias = "get_groups")] fn groups(&self) -> Vec; #[doc(alias = "ges_timeline_get_layer")] + #[doc(alias = "get_layer")] fn layer(&self, priority: u32) -> Option; #[doc(alias = "ges_timeline_get_layers")] + #[doc(alias = "get_layers")] fn layers(&self) -> Vec; #[doc(alias = "ges_timeline_get_pad_for_track")] + #[doc(alias = "get_pad_for_track")] fn pad_for_track>(&self, track: &P) -> Option; #[doc(alias = "ges_timeline_get_snapping_distance")] + #[doc(alias = "get_snapping_distance")] fn snapping_distance(&self) -> gst::ClockTime; #[doc(alias = "ges_timeline_get_track_for_pad")] + #[doc(alias = "get_track_for_pad")] fn track_for_pad>(&self, pad: &P) -> Option; #[doc(alias = "ges_timeline_get_tracks")] + #[doc(alias = "get_tracks")] fn tracks(&self) -> Vec; #[doc(alias = "ges_timeline_is_empty")] @@ -169,50 +182,58 @@ pub trait TimelineExt: 'static { #[doc(alias = "ges_timeline_set_snapping_distance")] fn set_snapping_distance(&self, snapping_distance: gst::ClockTime); + #[doc(alias = "commited")] fn connect_commited(&self, f: F) -> SignalHandlerId; + #[doc(alias = "group-added")] fn connect_group_added(&self, f: F) -> SignalHandlerId; + //#[doc(alias = "group-removed")] //fn connect_group_removed(&self, f: F) -> SignalHandlerId; + #[doc(alias = "layer-added")] fn connect_layer_added(&self, f: F) -> SignalHandlerId; + #[doc(alias = "layer-removed")] fn connect_layer_removed(&self, f: F) -> SignalHandlerId; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] + #[doc(alias = "select-element-track")] fn connect_select_element_track Track + 'static>( &self, f: F, ) -> SignalHandlerId; + //#[doc(alias = "select-tracks-for-object")] //fn connect_select_tracks_for_object(&self, f: F) -> SignalHandlerId; + #[doc(alias = "snapping-ended")] fn connect_snapping_ended( &self, f: F, ) -> SignalHandlerId; + #[doc(alias = "snapping-started")] fn connect_snapping_started( &self, f: F, ) -> SignalHandlerId; + #[doc(alias = "track-added")] fn connect_track_added(&self, f: F) -> SignalHandlerId; + #[doc(alias = "track-removed")] fn connect_track_removed(&self, f: F) -> SignalHandlerId; - fn connect_property_auto_transition_notify( - &self, - f: F, - ) -> SignalHandlerId; + #[doc(alias = "auto-transition")] + fn connect_auto_transition_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_duration_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "duration")] + fn connect_duration_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_snapping_distance_notify( - &self, - f: F, - ) -> SignalHandlerId; + #[doc(alias = "snapping-distance")] + fn connect_snapping_distance_notify(&self, f: F) -> SignalHandlerId; } impl> TimelineExt for O { @@ -483,6 +504,7 @@ impl> TimelineExt for O { } } + #[doc(alias = "commited")] fn connect_commited(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn commited_trampoline( this: *mut ffi::GESTimeline, @@ -506,6 +528,7 @@ impl> TimelineExt for O { } } + #[doc(alias = "group-added")] fn connect_group_added(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn group_added_trampoline( this: *mut ffi::GESTimeline, @@ -533,10 +556,12 @@ impl> TimelineExt for O { } } + //#[doc(alias = "group-removed")] //fn connect_group_removed(&self, f: F) -> SignalHandlerId { // Empty ctype children: *.PtrArray TypeId { ns_id: 1, id: 54 } //} + #[doc(alias = "layer-added")] fn connect_layer_added(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn layer_added_trampoline( this: *mut ffi::GESTimeline, @@ -564,6 +589,7 @@ impl> TimelineExt for O { } } + #[doc(alias = "layer-removed")] fn connect_layer_removed(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn layer_removed_trampoline( this: *mut ffi::GESTimeline, @@ -593,6 +619,7 @@ impl> TimelineExt for O { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] + #[doc(alias = "select-element-track")] fn connect_select_element_track Track + 'static>( &self, f: F, @@ -630,10 +657,12 @@ impl> TimelineExt for O { } } + //#[doc(alias = "select-tracks-for-object")] //fn connect_select_tracks_for_object(&self, f: F) -> SignalHandlerId { // Empty ctype return value *.PtrArray TypeId { ns_id: 1, id: 17 } //} + #[doc(alias = "snapping-ended")] fn connect_snapping_ended( &self, f: F, @@ -671,6 +700,7 @@ impl> TimelineExt for O { } } + #[doc(alias = "snapping-started")] fn connect_snapping_started( &self, f: F, @@ -708,6 +738,7 @@ impl> TimelineExt for O { } } + #[doc(alias = "track-added")] fn connect_track_added(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn track_added_trampoline( this: *mut ffi::GESTimeline, @@ -735,6 +766,7 @@ impl> TimelineExt for O { } } + #[doc(alias = "track-removed")] fn connect_track_removed(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn track_removed_trampoline( this: *mut ffi::GESTimeline, @@ -762,10 +794,8 @@ impl> TimelineExt for O { } } - fn connect_property_auto_transition_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "auto-transition")] + fn connect_auto_transition_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_auto_transition_trampoline( this: *mut ffi::GESTimeline, _param_spec: glib::ffi::gpointer, @@ -789,7 +819,8 @@ impl> TimelineExt for O { } } - fn connect_property_duration_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "duration")] + fn connect_duration_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_duration_trampoline( this: *mut ffi::GESTimeline, _param_spec: glib::ffi::gpointer, @@ -813,10 +844,8 @@ impl> TimelineExt for O { } } - fn connect_property_snapping_distance_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "snapping-distance")] + fn connect_snapping_distance_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_snapping_distance_trampoline( this: *mut ffi::GESTimeline, _param_spec: glib::ffi::gpointer, diff --git a/gstreamer-editing-services/src/auto/timeline_element.rs b/gstreamer-editing-services/src/auto/timeline_element.rs index b3a70e451..c60cfa1cf 100644 --- a/gstreamer-editing-services/src/auto/timeline_element.rs +++ b/gstreamer-editing-services/src/auto/timeline_element.rs @@ -72,55 +72,71 @@ pub trait TimelineElementExt: 'static { ) -> Result<(), glib::Error>; //#[doc(alias = "ges_timeline_element_get_child_properties")] + //#[doc(alias = "get_child_properties")] //fn child_properties(&self, first_property_name: &str, : /*Unknown conversion*//*Unimplemented*/Fundamental: VarArgs); //#[doc(alias = "ges_timeline_element_get_child_property")] + //#[doc(alias = "get_child_property")] //fn child_property(&self, property_name: &str, value: /*Ignored*/glib::Value) -> bool; //#[doc(alias = "ges_timeline_element_get_child_property_by_pspec")] + //#[doc(alias = "get_child_property_by_pspec")] //fn child_property_by_pspec(&self, pspec: /*Ignored*/&glib::ParamSpec, value: /*Ignored*/glib::Value); //#[doc(alias = "ges_timeline_element_get_child_property_valist")] + //#[doc(alias = "get_child_property_valist")] //fn child_property_valist(&self, first_property_name: &str, var_args: /*Unknown conversion*//*Unimplemented*/Unsupported); #[doc(alias = "ges_timeline_element_get_duration")] + #[doc(alias = "get_duration")] fn duration(&self) -> gst::ClockTime; #[doc(alias = "ges_timeline_element_get_inpoint")] + #[doc(alias = "get_inpoint")] fn inpoint(&self) -> gst::ClockTime; #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] #[doc(alias = "ges_timeline_element_get_layer_priority")] + #[doc(alias = "get_layer_priority")] fn layer_priority(&self) -> u32; #[doc(alias = "ges_timeline_element_get_max_duration")] + #[doc(alias = "get_max_duration")] fn max_duration(&self) -> gst::ClockTime; #[doc(alias = "ges_timeline_element_get_name")] + #[doc(alias = "get_name")] fn name(&self) -> Option; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "ges_timeline_element_get_natural_framerate")] + #[doc(alias = "get_natural_framerate")] fn natural_framerate(&self) -> Option<(i32, i32)>; #[doc(alias = "ges_timeline_element_get_parent")] + #[doc(alias = "get_parent")] fn parent(&self) -> Option; #[doc(alias = "ges_timeline_element_get_priority")] + #[doc(alias = "get_priority")] fn priority(&self) -> u32; #[doc(alias = "ges_timeline_element_get_start")] + #[doc(alias = "get_start")] fn start(&self) -> gst::ClockTime; #[doc(alias = "ges_timeline_element_get_timeline")] + #[doc(alias = "get_timeline")] fn timeline(&self) -> Option; #[doc(alias = "ges_timeline_element_get_toplevel_parent")] + #[doc(alias = "get_toplevel_parent")] fn toplevel_parent(&self) -> Option; #[doc(alias = "ges_timeline_element_get_track_types")] + #[doc(alias = "get_track_types")] fn track_types(&self) -> TrackType; //#[doc(alias = "ges_timeline_element_list_children_properties")] @@ -193,47 +209,56 @@ pub trait TimelineElementExt: 'static { #[doc(alias = "ges_timeline_element_trim")] fn trim(&self, start: gst::ClockTime) -> Result<(), glib::error::BoolError>; - #[doc(alias = "get_property_in_point")] + #[doc(alias = "in-point")] fn in_point(&self) -> u64; - #[doc(alias = "set_property_in_point")] + #[doc(alias = "in-point")] fn set_in_point(&self, in_point: u64); - #[doc(alias = "get_property_serialize")] fn is_serialize(&self) -> bool; - #[doc(alias = "set_property_serialize")] fn set_serialize(&self, serialize: bool); //#[cfg(any(feature = "v1_18", feature = "dox"))] //#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] + //#[doc(alias = "child-property-added")] //fn connect_child_property_added(&self, f: F) -> SignalHandlerId; //#[cfg(any(feature = "v1_18", feature = "dox"))] //#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] + //#[doc(alias = "child-property-removed")] //fn connect_child_property_removed(&self, f: F) -> SignalHandlerId; + //#[doc(alias = "deep-notify")] //fn connect_deep_notify(&self, detail: Option<&str>, f: F) -> SignalHandlerId; - fn connect_property_duration_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "duration")] + fn connect_duration_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_in_point_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "in-point")] + fn connect_in_point_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_max_duration_notify(&self, f: F) - -> SignalHandlerId; + #[doc(alias = "max-duration")] + fn connect_max_duration_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_name_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "name")] + fn connect_name_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_parent_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "parent")] + fn connect_parent_notify(&self, f: F) -> SignalHandlerId; #[cfg_attr(feature = "v1_10", deprecated = "Since 1.10")] - fn connect_property_priority_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "priority")] + fn connect_priority_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_serialize_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "serialize")] + fn connect_serialize_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_start_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "start")] + fn connect_start_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_timeline_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "timeline")] + fn connect_timeline_notify(&self, f: F) -> SignalHandlerId; } impl> TimelineElementExt for O { @@ -648,21 +673,25 @@ impl> TimelineElementExt for O { //#[cfg(any(feature = "v1_18", feature = "dox"))] //#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] + //#[doc(alias = "child-property-added")] //fn connect_child_property_added(&self, f: F) -> SignalHandlerId { // Ignored prop: GObject.ParamSpec //} //#[cfg(any(feature = "v1_18", feature = "dox"))] //#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] + //#[doc(alias = "child-property-removed")] //fn connect_child_property_removed(&self, f: F) -> SignalHandlerId { // Ignored prop: GObject.ParamSpec //} + //#[doc(alias = "deep-notify")] //fn connect_deep_notify(&self, detail: Option<&str>, f: F) -> SignalHandlerId { // Ignored prop: GObject.ParamSpec //} - fn connect_property_duration_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "duration")] + fn connect_duration_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_duration_trampoline( this: *mut ffi::GESTimelineElement, _param_spec: glib::ffi::gpointer, @@ -686,7 +715,8 @@ impl> TimelineElementExt for O { } } - fn connect_property_in_point_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "in-point")] + fn connect_in_point_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_in_point_trampoline( this: *mut ffi::GESTimelineElement, _param_spec: glib::ffi::gpointer, @@ -710,10 +740,8 @@ impl> TimelineElementExt for O { } } - fn connect_property_max_duration_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "max-duration")] + fn connect_max_duration_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_max_duration_trampoline( this: *mut ffi::GESTimelineElement, _param_spec: glib::ffi::gpointer, @@ -737,7 +765,8 @@ impl> TimelineElementExt for O { } } - fn connect_property_name_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "name")] + fn connect_name_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_name_trampoline( this: *mut ffi::GESTimelineElement, _param_spec: glib::ffi::gpointer, @@ -761,7 +790,8 @@ impl> TimelineElementExt for O { } } - fn connect_property_parent_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "parent")] + fn connect_parent_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_parent_trampoline( this: *mut ffi::GESTimelineElement, _param_spec: glib::ffi::gpointer, @@ -785,7 +815,8 @@ impl> TimelineElementExt for O { } } - fn connect_property_priority_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "priority")] + fn connect_priority_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_priority_trampoline( this: *mut ffi::GESTimelineElement, _param_spec: glib::ffi::gpointer, @@ -809,7 +840,8 @@ impl> TimelineElementExt for O { } } - fn connect_property_serialize_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "serialize")] + fn connect_serialize_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_serialize_trampoline( this: *mut ffi::GESTimelineElement, _param_spec: glib::ffi::gpointer, @@ -833,7 +865,8 @@ impl> TimelineElementExt for O { } } - fn connect_property_start_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "start")] + fn connect_start_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_start_trampoline( this: *mut ffi::GESTimelineElement, _param_spec: glib::ffi::gpointer, @@ -857,7 +890,8 @@ impl> TimelineElementExt for O { } } - fn connect_property_timeline_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "timeline")] + fn connect_timeline_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_timeline_trampoline( this: *mut ffi::GESTimelineElement, _param_spec: glib::ffi::gpointer, diff --git a/gstreamer-editing-services/src/auto/track.rs b/gstreamer-editing-services/src/auto/track.rs index c02db6599..104d30322 100644 --- a/gstreamer-editing-services/src/auto/track.rs +++ b/gstreamer-editing-services/src/auto/track.rs @@ -52,20 +52,25 @@ pub trait GESTrackExt: 'static { fn commit(&self) -> bool; #[doc(alias = "ges_track_get_caps")] + #[doc(alias = "get_caps")] fn caps(&self) -> Option; #[doc(alias = "ges_track_get_elements")] + #[doc(alias = "get_elements")] fn elements(&self) -> Vec; #[doc(alias = "ges_track_get_mixing")] + #[doc(alias = "get_mixing")] fn is_mixing(&self) -> bool; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "ges_track_get_restriction_caps")] + #[doc(alias = "get_restriction_caps")] fn restriction_caps(&self) -> Option; #[doc(alias = "ges_track_get_timeline")] + #[doc(alias = "get_timeline")] fn timeline(&self) -> Option; #[doc(alias = "ges_track_remove_element")] @@ -94,48 +99,50 @@ pub trait GESTrackExt: 'static { #[doc(alias = "ges_track_update_restriction_caps")] fn update_restriction_caps(&self, caps: &gst::Caps); - #[doc(alias = "get_property_duration")] fn duration(&self) -> u64; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - #[doc(alias = "get_property_id")] fn id(&self) -> Option; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - #[doc(alias = "set_property_id")] fn set_id(&self, id: Option<&str>); + #[doc(alias = "restriction-caps")] fn get_property_restriction_caps(&self) -> Option; - #[doc(alias = "get_property_track_type")] + #[doc(alias = "track-type")] fn track_type(&self) -> TrackType; + #[doc(alias = "commited")] fn connect_commited(&self, f: F) -> SignalHandlerId; + #[doc(alias = "track-element-added")] fn connect_track_element_added( &self, f: F, ) -> SignalHandlerId; + #[doc(alias = "track-element-removed")] fn connect_track_element_removed( &self, f: F, ) -> SignalHandlerId; - fn connect_property_duration_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "duration")] + fn connect_duration_notify(&self, f: F) -> SignalHandlerId; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn connect_property_id_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "id")] + fn connect_id_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_mixing_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "mixing")] + fn connect_mixing_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_restriction_caps_notify( - &self, - f: F, - ) -> SignalHandlerId; + #[doc(alias = "restriction-caps")] + fn connect_restriction_caps_notify(&self, f: F) -> SignalHandlerId; } impl> GESTrackExt for O { @@ -341,6 +348,7 @@ impl> GESTrackExt for O { } } + #[doc(alias = "commited")] fn connect_commited(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn commited_trampoline( this: *mut ffi::GESTrack, @@ -364,6 +372,7 @@ impl> GESTrackExt for O { } } + #[doc(alias = "track-element-added")] fn connect_track_element_added( &self, f: F, @@ -394,6 +403,7 @@ impl> GESTrackExt for O { } } + #[doc(alias = "track-element-removed")] fn connect_track_element_removed( &self, f: F, @@ -427,7 +437,8 @@ impl> GESTrackExt for O { } } - fn connect_property_duration_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "duration")] + fn connect_duration_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_duration_trampoline( this: *mut ffi::GESTrack, _param_spec: glib::ffi::gpointer, @@ -453,7 +464,8 @@ impl> GESTrackExt for O { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn connect_property_id_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "id")] + fn connect_id_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_id_trampoline( this: *mut ffi::GESTrack, _param_spec: glib::ffi::gpointer, @@ -477,7 +489,8 @@ impl> GESTrackExt for O { } } - fn connect_property_mixing_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "mixing")] + fn connect_mixing_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_mixing_trampoline( this: *mut ffi::GESTrack, _param_spec: glib::ffi::gpointer, @@ -501,10 +514,8 @@ impl> GESTrackExt for O { } } - fn connect_property_restriction_caps_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "restriction-caps")] + fn connect_restriction_caps_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_restriction_caps_trampoline( this: *mut ffi::GESTrack, _param_spec: glib::ffi::gpointer, diff --git a/gstreamer-editing-services/src/auto/track_element.rs b/gstreamer-editing-services/src/auto/track_element.rs index 0778396e4..b20a35982 100644 --- a/gstreamer-editing-services/src/auto/track_element.rs +++ b/gstreamer-editing-services/src/auto/track_element.rs @@ -54,29 +54,37 @@ pub trait TrackElementExt: 'static { ) -> Result<(), glib::error::BoolError>; //#[doc(alias = "ges_track_element_get_all_control_bindings")] + //#[doc(alias = "get_all_control_bindings")] //fn all_control_bindings(&self) -> /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 0, id: 28 }/TypeId { ns_id: 6, id: 83 }; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "ges_track_element_get_auto_clamp_control_sources")] + #[doc(alias = "get_auto_clamp_control_sources")] fn is_auto_clamp_control_sources(&self) -> bool; //#[doc(alias = "ges_track_element_get_control_binding")] + //#[doc(alias = "get_control_binding")] //fn control_binding(&self, property_name: &str) -> /*Ignored*/Option; #[doc(alias = "ges_track_element_get_element")] + #[doc(alias = "get_element")] fn element(&self) -> Option; #[doc(alias = "ges_track_element_get_gnlobject")] + #[doc(alias = "get_gnlobject")] fn gnlobject(&self) -> Option; #[doc(alias = "ges_track_element_get_nleobject")] + #[doc(alias = "get_nleobject")] fn nleobject(&self) -> Option; #[doc(alias = "ges_track_element_get_track")] + #[doc(alias = "get_track")] fn track(&self) -> Option; #[doc(alias = "ges_track_element_get_track_type")] + #[doc(alias = "get_track_type")] fn track_type(&self) -> TrackType; #[cfg(any(feature = "v1_18", feature = "dox"))] @@ -117,29 +125,33 @@ pub trait TrackElementExt: 'static { #[doc(alias = "ges_track_element_set_track_type")] fn set_track_type(&self, type_: TrackType); + //#[doc(alias = "control-binding-added")] //fn connect_control_binding_added(&self, f: F) -> SignalHandlerId; + //#[doc(alias = "control-binding-removed")] //fn connect_control_binding_removed(&self, f: F) -> SignalHandlerId; - fn connect_property_active_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "active")] + fn connect_active_notify(&self, f: F) -> SignalHandlerId; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn connect_property_auto_clamp_control_sources_notify( + #[doc(alias = "auto-clamp-control-sources")] + fn connect_auto_clamp_control_sources_notify( &self, f: F, ) -> SignalHandlerId; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn connect_property_has_internal_source_notify( - &self, - f: F, - ) -> SignalHandlerId; + #[doc(alias = "has-internal-source")] + fn connect_has_internal_source_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_track_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "track")] + fn connect_track_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_track_type_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "track-type")] + fn connect_track_type_notify(&self, f: F) -> SignalHandlerId; } impl> TrackElementExt for O { @@ -339,15 +351,18 @@ impl> TrackElementExt for O { } } + //#[doc(alias = "control-binding-added")] //fn connect_control_binding_added(&self, f: F) -> SignalHandlerId { // Ignored control_binding: Gst.ControlBinding //} + //#[doc(alias = "control-binding-removed")] //fn connect_control_binding_removed(&self, f: F) -> SignalHandlerId { // Ignored control_binding: Gst.ControlBinding //} - fn connect_property_active_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "active")] + fn connect_active_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_active_trampoline( this: *mut ffi::GESTrackElement, _param_spec: glib::ffi::gpointer, @@ -373,7 +388,8 @@ impl> TrackElementExt for O { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn connect_property_auto_clamp_control_sources_notify( + #[doc(alias = "auto-clamp-control-sources")] + fn connect_auto_clamp_control_sources_notify( &self, f: F, ) -> SignalHandlerId { @@ -402,10 +418,8 @@ impl> TrackElementExt for O { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn connect_property_has_internal_source_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "has-internal-source")] + fn connect_has_internal_source_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_has_internal_source_trampoline( this: *mut ffi::GESTrackElement, _param_spec: glib::ffi::gpointer, @@ -429,7 +443,8 @@ impl> TrackElementExt for O { } } - fn connect_property_track_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "track")] + fn connect_track_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_track_trampoline( this: *mut ffi::GESTrackElement, _param_spec: glib::ffi::gpointer, @@ -453,7 +468,8 @@ impl> TrackElementExt for O { } } - fn connect_property_track_type_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "track-type")] + fn connect_track_type_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_track_type_trampoline( this: *mut ffi::GESTrackElement, _param_spec: glib::ffi::gpointer, diff --git a/gstreamer-editing-services/src/auto/transition_clip.rs b/gstreamer-editing-services/src/auto/transition_clip.rs index 533daafaf..09666ffd7 100644 --- a/gstreamer-editing-services/src/auto/transition_clip.rs +++ b/gstreamer-editing-services/src/auto/transition_clip.rs @@ -36,6 +36,7 @@ impl TransitionClip { } #[doc(alias = "ges_transition_clip_new_for_nick")] + #[doc(alias = "new_for_nick")] pub fn for_nick(nick: &str) -> Option { assert_initialized_main_thread!(); unsafe { from_glib_none(ffi::ges_transition_clip_new_for_nick(nick.to_glib_none().0)) } @@ -45,13 +46,12 @@ impl TransitionClip { pub const NONE_TRANSITION_CLIP: Option<&TransitionClip> = None; pub trait TransitionClipExt: 'static { - #[doc(alias = "get_property_vtype")] fn vtype(&self) -> VideoStandardTransitionType; - #[doc(alias = "set_property_vtype")] fn set_vtype(&self, vtype: VideoStandardTransitionType); - fn connect_property_vtype_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "vtype")] + fn connect_vtype_notify(&self, f: F) -> SignalHandlerId; } impl> TransitionClipExt for O { @@ -80,7 +80,8 @@ impl> TransitionClipExt for O { } } - fn connect_property_vtype_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "vtype")] + fn connect_vtype_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_vtype_trampoline( this: *mut ffi::GESTransitionClip, _param_spec: glib::ffi::gpointer, diff --git a/gstreamer-editing-services/src/auto/uri_clip.rs b/gstreamer-editing-services/src/auto/uri_clip.rs index e4da7a1ba..35b443894 100644 --- a/gstreamer-editing-services/src/auto/uri_clip.rs +++ b/gstreamer-editing-services/src/auto/uri_clip.rs @@ -38,6 +38,7 @@ pub const NONE_URI_CLIP: Option<&UriClip> = None; pub trait UriClipExt: 'static { #[doc(alias = "ges_uri_clip_get_uri")] + #[doc(alias = "get_uri")] fn uri(&self) -> Option; #[doc(alias = "ges_uri_clip_is_image")] @@ -52,14 +53,14 @@ pub trait UriClipExt: 'static { #[doc(alias = "ges_uri_clip_set_mute")] fn set_mute(&self, mute: bool); - fn connect_property_is_image_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "is-image")] + fn connect_is_image_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_mute_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "mute")] + fn connect_mute_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_supported_formats_notify( - &self, - f: F, - ) -> SignalHandlerId; + #[doc(alias = "supported-formats")] + fn connect_supported_formats_notify(&self, f: F) -> SignalHandlerId; } impl> UriClipExt for O { @@ -87,7 +88,8 @@ impl> UriClipExt for O { } } - fn connect_property_is_image_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "is-image")] + fn connect_is_image_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_is_image_trampoline( this: *mut ffi::GESUriClip, _param_spec: glib::ffi::gpointer, @@ -111,7 +113,8 @@ impl> UriClipExt for O { } } - fn connect_property_mute_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "mute")] + fn connect_mute_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_mute_trampoline( this: *mut ffi::GESUriClip, _param_spec: glib::ffi::gpointer, @@ -135,10 +138,8 @@ impl> UriClipExt for O { } } - fn connect_property_supported_formats_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "supported-formats")] + fn connect_supported_formats_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_supported_formats_trampoline( this: *mut ffi::GESUriClip, _param_spec: glib::ffi::gpointer, diff --git a/gstreamer-editing-services/src/auto/uri_clip_asset.rs b/gstreamer-editing-services/src/auto/uri_clip_asset.rs index ae65df0ce..187bab1ec 100644 --- a/gstreamer-editing-services/src/auto/uri_clip_asset.rs +++ b/gstreamer-editing-services/src/auto/uri_clip_asset.rs @@ -58,17 +58,21 @@ pub const NONE_URI_CLIP_ASSET: Option<&UriClipAsset> = None; pub trait UriClipAssetExt: 'static { #[doc(alias = "ges_uri_clip_asset_get_duration")] + #[doc(alias = "get_duration")] fn duration(&self) -> gst::ClockTime; #[doc(alias = "ges_uri_clip_asset_get_info")] + #[doc(alias = "get_info")] fn info(&self) -> Option; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "ges_uri_clip_asset_get_max_duration")] + #[doc(alias = "get_max_duration")] fn max_duration(&self) -> gst::ClockTime; #[doc(alias = "ges_uri_clip_asset_get_stream_assets")] + #[doc(alias = "get_stream_assets")] fn stream_assets(&self) -> Vec; #[cfg(any(feature = "v1_18", feature = "dox"))] @@ -76,22 +80,20 @@ pub trait UriClipAssetExt: 'static { #[doc(alias = "ges_uri_clip_asset_is_image")] fn is_image(&self) -> bool; - #[doc(alias = "set_property_duration")] fn set_duration(&self, duration: u64); #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - #[doc(alias = "get_property_is_nested_timeline")] + #[doc(alias = "is-nested-timeline")] fn is_nested_timeline(&self) -> bool; - fn connect_property_duration_notify(&self, f: F) -> SignalHandlerId; + #[doc(alias = "duration")] + fn connect_duration_notify(&self, f: F) -> SignalHandlerId; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn connect_property_is_nested_timeline_notify( - &self, - f: F, - ) -> SignalHandlerId; + #[doc(alias = "is-nested-timeline")] + fn connect_is_nested_timeline_notify(&self, f: F) -> SignalHandlerId; } impl> UriClipAssetExt for O { @@ -165,7 +167,8 @@ impl> UriClipAssetExt for O { } } - fn connect_property_duration_notify(&self, f: F) -> SignalHandlerId { + #[doc(alias = "duration")] + fn connect_duration_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_duration_trampoline( this: *mut ffi::GESUriClipAsset, _param_spec: glib::ffi::gpointer, @@ -191,10 +194,8 @@ impl> UriClipAssetExt for O { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn connect_property_is_nested_timeline_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "is-nested-timeline")] + fn connect_is_nested_timeline_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_is_nested_timeline_trampoline( this: *mut ffi::GESUriClipAsset, _param_spec: glib::ffi::gpointer, diff --git a/gstreamer-editing-services/src/auto/uri_source_asset.rs b/gstreamer-editing-services/src/auto/uri_source_asset.rs index 62d691373..df06bef9f 100644 --- a/gstreamer-editing-services/src/auto/uri_source_asset.rs +++ b/gstreamer-editing-services/src/auto/uri_source_asset.rs @@ -20,12 +20,15 @@ pub const NONE_URI_SOURCE_ASSET: Option<&UriSourceAsset> = None; pub trait UriSourceAssetExt: 'static { #[doc(alias = "ges_uri_source_asset_get_filesource_asset")] + #[doc(alias = "get_filesource_asset")] fn filesource_asset(&self) -> Option; #[doc(alias = "ges_uri_source_asset_get_stream_info")] + #[doc(alias = "get_stream_info")] fn stream_info(&self) -> Option; #[doc(alias = "ges_uri_source_asset_get_stream_uri")] + #[doc(alias = "get_stream_uri")] fn stream_uri(&self) -> Option; #[cfg(any(feature = "v1_18", feature = "dox"))] diff --git a/gstreamer-editing-services/src/auto/versions.txt b/gstreamer-editing-services/src/auto/versions.txt index 33aa18251..1ed8d5e7b 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 @ 0516825) +Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-editing-services/sys/build.rs b/gstreamer-editing-services/sys/build.rs index bae1ce3d4..0cbbd0fe4 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-editing-services/sys/src/lib.rs b/gstreamer-editing-services/sys/src/lib.rs index 753c38f8d..2a991660f 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-editing-services/sys/tests/abi.rs b/gstreamer-editing-services/sys/tests/abi.rs index 4a906ba49..6e1c1cfde 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-editing-services/sys/tests/constant.c b/gstreamer-editing-services/sys/tests/constant.c index 6b780fa27..d62d7a388 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-editing-services/sys/tests/layout.c b/gstreamer-editing-services/sys/tests/layout.c index 942d1e22a..316cb7c08 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // 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 033d77f36..cae146c01 100644 --- a/gstreamer-gl/egl/src/auto/gl_display_egl.rs +++ b/gstreamer-gl/egl/src/auto/gl_display_egl.rs @@ -22,6 +22,7 @@ impl GLDisplayEGL { } //#[doc(alias = "gst_gl_display_egl_new_with_egl_display")] + //#[doc(alias = "new_with_egl_display")] //pub fn with_egl_display(display: /*Unimplemented*/Option) -> GLDisplayEGL { // unsafe { TODO: call ffi:gst_gl_display_egl_new_with_egl_display() } //} @@ -37,6 +38,7 @@ impl GLDisplayEGL { } //#[doc(alias = "gst_gl_display_egl_get_from_native")] + //#[doc(alias = "get_from_native")] //pub fn from_native(type_: /*Ignored*/gst_gl::GLDisplayType, display: /*Unimplemented*/Fundamental: UIntPtr) -> /*Unimplemented*/Option { // unsafe { TODO: call ffi:gst_gl_display_egl_get_from_native() } //} diff --git a/gstreamer-gl/egl/src/auto/versions.txt b/gstreamer-gl/egl/src/auto/versions.txt index 33aa18251..1ed8d5e7b 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 @ 0516825) +Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-gl/egl/sys/build.rs b/gstreamer-gl/egl/sys/build.rs index bae1ce3d4..0cbbd0fe4 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/egl/sys/src/lib.rs b/gstreamer-gl/egl/sys/src/lib.rs index e25527fdf..aa52c43c5 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/egl/sys/tests/abi.rs b/gstreamer-gl/egl/sys/tests/abi.rs index 95aabe052..33c6cf169 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/egl/sys/tests/constant.c b/gstreamer-gl/egl/sys/tests/constant.c index 158e3f312..b7da1120f 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/egl/sys/tests/layout.c b/gstreamer-gl/egl/sys/tests/layout.c index c9cf71f74..4932ce26e 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/src/auto/enums.rs b/gstreamer-gl/src/auto/enums.rs index fa3ebdd46..a198f0a0b 100644 --- a/gstreamer-gl/src/auto/enums.rs +++ b/gstreamer-gl/src/auto/enums.rs @@ -572,6 +572,7 @@ impl GLSLVersion { } #[doc(alias = "gst_glsl_version_to_string")] + #[doc(alias = "to_string")] pub fn to_str(self) -> Option { assert_initialized_main_thread!(); unsafe { from_glib_none(ffi::gst_glsl_version_to_string(self.into_glib())) } @@ -786,6 +787,7 @@ impl GLTextureTarget { } #[doc(alias = "gst_gl_texture_target_to_string")] + #[doc(alias = "to_string")] pub fn to_str(self) -> Option { assert_initialized_main_thread!(); unsafe { from_glib_none(ffi::gst_gl_texture_target_to_string(self.into_glib())) } diff --git a/gstreamer-gl/src/auto/flags.rs b/gstreamer-gl/src/auto/flags.rs index bfb07e7d1..41af34bff 100644 --- a/gstreamer-gl/src/auto/flags.rs +++ b/gstreamer-gl/src/auto/flags.rs @@ -28,6 +28,7 @@ impl GLAPI { } #[doc(alias = "gst_gl_api_to_string")] + #[doc(alias = "to_string")] pub fn to_str(self) -> glib::GString { assert_initialized_main_thread!(); unsafe { from_glib_full(ffi::gst_gl_api_to_string(self.into_glib())) } @@ -179,6 +180,7 @@ impl GLPlatform { } #[doc(alias = "gst_gl_platform_to_string")] + #[doc(alias = "to_string")] pub fn to_str(self) -> glib::GString { assert_initialized_main_thread!(); unsafe { from_glib_full(ffi::gst_gl_platform_to_string(self.into_glib())) } @@ -258,6 +260,7 @@ impl GLSLProfile { } #[doc(alias = "gst_glsl_profile_to_string")] + #[doc(alias = "to_string")] pub fn to_str(self) -> Option { assert_initialized_main_thread!(); unsafe { from_glib_none(ffi::gst_glsl_profile_to_string(self.into_glib())) } diff --git a/gstreamer-gl/src/auto/gl_base_filter.rs b/gstreamer-gl/src/auto/gl_base_filter.rs index f65ceba3c..6e7c9ed55 100644 --- a/gstreamer-gl/src/auto/gl_base_filter.rs +++ b/gstreamer-gl/src/auto/gl_base_filter.rs @@ -35,15 +35,14 @@ pub trait GLBaseFilterExt: 'static { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "gst_gl_base_filter_get_gl_context")] + #[doc(alias = "get_gl_context")] fn gl_context(&self) -> Option; - #[doc(alias = "get_property_context")] fn context(&self) -> Option; - fn connect_property_context_notify( - &self, - f: F, - ) -> SignalHandlerId; + #[doc(alias = "context")] + fn connect_context_notify(&self, f: F) + -> SignalHandlerId; } impl> GLBaseFilterExt for O { @@ -81,7 +80,8 @@ impl> GLBaseFilterExt for O { } } - fn connect_property_context_notify( + #[doc(alias = "context")] + fn connect_context_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-gl/src/auto/gl_base_src.rs b/gstreamer-gl/src/auto/gl_base_src.rs index f42a3a57d..c2665e7ab 100644 --- a/gstreamer-gl/src/auto/gl_base_src.rs +++ b/gstreamer-gl/src/auto/gl_base_src.rs @@ -27,13 +27,14 @@ unsafe impl Sync for GLBaseSrc {} pub const NONE_GL_BASE_SRC: Option<&GLBaseSrc> = None; pub trait GLBaseSrcExt: 'static { - #[doc(alias = "get_property_timestamp_offset")] + #[doc(alias = "timestamp-offset")] fn timestamp_offset(&self) -> i64; - #[doc(alias = "set_property_timestamp_offset")] + #[doc(alias = "timestamp-offset")] fn set_timestamp_offset(&self, timestamp_offset: i64); - fn connect_property_timestamp_offset_notify( + #[doc(alias = "timestamp-offset")] + fn connect_timestamp_offset_notify( &self, f: F, ) -> SignalHandlerId; @@ -64,7 +65,8 @@ impl> GLBaseSrcExt for O { } } - fn connect_property_timestamp_offset_notify( + #[doc(alias = "timestamp-offset")] + fn connect_timestamp_offset_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-gl/src/auto/gl_context.rs b/gstreamer-gl/src/auto/gl_context.rs index 713347f38..63da50b25 100644 --- a/gstreamer-gl/src/auto/gl_context.rs +++ b/gstreamer-gl/src/auto/gl_context.rs @@ -30,12 +30,14 @@ impl GLContext { } #[doc(alias = "gst_gl_context_get_current")] + #[doc(alias = "get_current")] pub fn current() -> Option { assert_initialized_main_thread!(); unsafe { from_glib_none(ffi::gst_gl_context_get_current()) } } #[doc(alias = "gst_gl_context_get_current_gl_api")] + #[doc(alias = "get_current_gl_api")] pub fn current_gl_api(platform: GLPlatform) -> (GLAPI, u32, u32) { assert_initialized_main_thread!(); unsafe { @@ -90,21 +92,27 @@ pub trait GLContextExt: 'static { fn fill_info(&self) -> Result<(), glib::Error>; #[doc(alias = "gst_gl_context_get_display")] + #[doc(alias = "get_display")] fn display(&self) -> GLDisplay; #[doc(alias = "gst_gl_context_get_gl_api")] + #[doc(alias = "get_gl_api")] fn gl_api(&self) -> GLAPI; #[doc(alias = "gst_gl_context_get_gl_platform")] + #[doc(alias = "get_gl_platform")] fn gl_platform(&self) -> GLPlatform; #[doc(alias = "gst_gl_context_get_gl_platform_version")] + #[doc(alias = "get_gl_platform_version")] fn gl_platform_version(&self) -> (i32, i32); #[doc(alias = "gst_gl_context_get_gl_version")] + #[doc(alias = "get_gl_version")] fn gl_version(&self) -> (i32, i32); #[doc(alias = "gst_gl_context_get_window")] + #[doc(alias = "get_window")] fn window(&self) -> Option; #[doc(alias = "gst_gl_context_is_shared")] diff --git a/gstreamer-gl/src/auto/gl_display.rs b/gstreamer-gl/src/auto/gl_display.rs index 28637e28c..f28303a22 100644 --- a/gstreamer-gl/src/auto/gl_display.rs +++ b/gstreamer-gl/src/auto/gl_display.rs @@ -60,12 +60,15 @@ pub trait GLDisplayExt: 'static { fn filter_gl_api(&self, gl_api: GLAPI); #[doc(alias = "gst_gl_display_get_gl_api")] + #[doc(alias = "get_gl_api")] fn gl_api(&self) -> GLAPI; #[doc(alias = "gst_gl_display_get_gl_api_unlocked")] + #[doc(alias = "get_gl_api_unlocked")] fn gl_api_unlocked(&self) -> GLAPI; #[doc(alias = "gst_gl_display_get_handle_type")] + #[doc(alias = "get_handle_type")] fn handle_type(&self) -> GLDisplayType; #[cfg(any(feature = "v1_18", feature = "dox"))] @@ -81,6 +84,7 @@ pub trait GLDisplayExt: 'static { //#[doc(alias = "gst_gl_display_retrieve_window")] //fn retrieve_window(&self, data: /*Unimplemented*/Option, compare_func: /*Unimplemented*/FnMut(/*Unimplemented*/Option, /*Unimplemented*/Option) -> i32) -> Option; + #[doc(alias = "create-context")] fn connect_create_context GLContext + Send + Sync + 'static>( &self, f: F, @@ -189,6 +193,7 @@ impl> GLDisplayExt for O { // unsafe { TODO: call ffi:gst_gl_display_retrieve_window() } //} + #[doc(alias = "create-context")] fn connect_create_context GLContext + Send + Sync + 'static>( &self, f: F, diff --git a/gstreamer-gl/src/auto/gl_framebuffer.rs b/gstreamer-gl/src/auto/gl_framebuffer.rs index fe62c9cdd..8aaf31e8e 100644 --- a/gstreamer-gl/src/auto/gl_framebuffer.rs +++ b/gstreamer-gl/src/auto/gl_framebuffer.rs @@ -29,6 +29,7 @@ impl GLFramebuffer { } #[doc(alias = "gst_gl_framebuffer_new_with_default_depth")] + #[doc(alias = "new_with_default_depth")] pub fn with_default_depth>( context: &P, width: u32, @@ -61,9 +62,11 @@ pub trait GLFramebufferExt: 'static { //fn draw_to_texture(&self, mem: &mut GLMemory, func: /*Unimplemented*/FnMut(/*Unimplemented*/Option) -> bool, user_data: /*Unimplemented*/Option) -> bool; #[doc(alias = "gst_gl_framebuffer_get_effective_dimensions")] + #[doc(alias = "get_effective_dimensions")] fn effective_dimensions(&self) -> (u32, u32); #[doc(alias = "gst_gl_framebuffer_get_id")] + #[doc(alias = "get_id")] fn id(&self) -> u32; } diff --git a/gstreamer-gl/src/auto/gl_memory_allocator.rs b/gstreamer-gl/src/auto/gl_memory_allocator.rs index a85649f54..ba76c794c 100644 --- a/gstreamer-gl/src/auto/gl_memory_allocator.rs +++ b/gstreamer-gl/src/auto/gl_memory_allocator.rs @@ -18,6 +18,7 @@ glib::wrapper! { impl GLMemoryAllocator { #[doc(alias = "gst_gl_memory_allocator_get_default")] + #[doc(alias = "get_default")] pub fn default>(context: &P) -> Option { skip_assert_initialized!(); unsafe { diff --git a/gstreamer-gl/src/auto/gl_overlay_compositor.rs b/gstreamer-gl/src/auto/gl_overlay_compositor.rs index 05c331631..024f44e1a 100644 --- a/gstreamer-gl/src/auto/gl_overlay_compositor.rs +++ b/gstreamer-gl/src/auto/gl_overlay_compositor.rs @@ -63,7 +63,6 @@ impl GLOverlayCompositor { #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] - #[doc(alias = "get_property_yinvert")] pub fn is_yinvert(&self) -> bool { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -80,7 +79,6 @@ impl GLOverlayCompositor { #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] - #[doc(alias = "set_property_yinvert")] pub fn set_yinvert(&self, yinvert: bool) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -103,7 +101,8 @@ impl GLOverlayCompositor { #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] - pub fn connect_property_yinvert_notify( + #[doc(alias = "yinvert")] + pub fn connect_yinvert_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-gl/src/auto/gl_shader.rs b/gstreamer-gl/src/auto/gl_shader.rs index 3a7d03780..23aa97a8a 100644 --- a/gstreamer-gl/src/auto/gl_shader.rs +++ b/gstreamer-gl/src/auto/gl_shader.rs @@ -55,6 +55,7 @@ impl GLShader { //} //#[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 { // unsafe { TODO: call ffi:gst_gl_shader_new_with_stages() } //} @@ -133,6 +134,7 @@ impl GLShader { } #[doc(alias = "gst_gl_shader_get_attribute_location")] + #[doc(alias = "get_attribute_location")] pub fn attribute_location(&self, name: &str) -> i32 { unsafe { ffi::gst_gl_shader_get_attribute_location(self.to_glib_none().0, name.to_glib_none().0) @@ -140,6 +142,7 @@ impl GLShader { } #[doc(alias = "gst_gl_shader_get_program_handle")] + #[doc(alias = "get_program_handle")] pub fn program_handle(&self) -> i32 { unsafe { ffi::gst_gl_shader_get_program_handle(self.to_glib_none().0) } } @@ -363,6 +366,7 @@ impl GLShader { } #[doc(alias = "gst_gl_shader_use")] + #[doc(alias = "use")] pub fn use_(&self) { unsafe { ffi::gst_gl_shader_use(self.to_glib_none().0); @@ -423,7 +427,8 @@ impl GLShader { } } - pub fn connect_property_linked_notify( + #[doc(alias = "linked")] + pub fn connect_linked_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-gl/src/auto/gl_upload.rs b/gstreamer-gl/src/auto/gl_upload.rs index 2d616f238..0c265708d 100644 --- a/gstreamer-gl/src/auto/gl_upload.rs +++ b/gstreamer-gl/src/auto/gl_upload.rs @@ -24,6 +24,7 @@ impl GLUpload { } #[doc(alias = "gst_gl_upload_get_caps")] + #[doc(alias = "get_caps")] pub fn caps(&self) -> (gst::Caps, gst::Caps) { unsafe { let mut in_caps = ptr::null_mut(); @@ -81,6 +82,7 @@ impl GLUpload { } #[doc(alias = "gst_gl_upload_get_input_template_caps")] + #[doc(alias = "get_input_template_caps")] pub fn input_template_caps() -> gst::Caps { assert_initialized_main_thread!(); unsafe { from_glib_full(ffi::gst_gl_upload_get_input_template_caps()) } diff --git a/gstreamer-gl/src/auto/gl_view_convert.rs b/gstreamer-gl/src/auto/gl_view_convert.rs index f99a3587c..24c665c63 100644 --- a/gstreamer-gl/src/auto/gl_view_convert.rs +++ b/gstreamer-gl/src/auto/gl_view_convert.rs @@ -92,7 +92,7 @@ impl GLViewConvert { } } - #[doc(alias = "get_property_downmix_mode")] + #[doc(alias = "downmix-mode")] pub fn downmix_mode(&self) -> GLStereoDownmix { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -107,7 +107,7 @@ impl GLViewConvert { } } - #[doc(alias = "set_property_downmix_mode")] + #[doc(alias = "downmix-mode")] pub fn set_downmix_mode(&self, downmix_mode: GLStereoDownmix) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -118,7 +118,7 @@ impl GLViewConvert { } } - #[doc(alias = "get_property_input_flags_override")] + #[doc(alias = "input-flags-override")] pub fn input_flags_override(&self) -> gst_video::VideoMultiviewFlags { unsafe { let mut value = glib::Value::from_type( @@ -135,7 +135,7 @@ impl GLViewConvert { } } - #[doc(alias = "set_property_input_flags_override")] + #[doc(alias = "input-flags-override")] pub fn set_input_flags_override(&self, input_flags_override: gst_video::VideoMultiviewFlags) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -146,7 +146,7 @@ impl GLViewConvert { } } - #[doc(alias = "get_property_input_mode_override")] + #[doc(alias = "input-mode-override")] pub fn input_mode_override(&self) -> gst_video::VideoMultiviewMode { unsafe { let mut value = glib::Value::from_type( @@ -163,7 +163,7 @@ impl GLViewConvert { } } - #[doc(alias = "set_property_input_mode_override")] + #[doc(alias = "input-mode-override")] pub fn set_input_mode_override(&self, input_mode_override: gst_video::VideoMultiviewMode) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -174,7 +174,7 @@ impl GLViewConvert { } } - #[doc(alias = "get_property_output_flags_override")] + #[doc(alias = "output-flags-override")] pub fn output_flags_override(&self) -> gst_video::VideoMultiviewFlags { unsafe { let mut value = glib::Value::from_type( @@ -191,7 +191,7 @@ impl GLViewConvert { } } - #[doc(alias = "set_property_output_flags_override")] + #[doc(alias = "output-flags-override")] pub fn set_output_flags_override(&self, output_flags_override: gst_video::VideoMultiviewFlags) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -202,7 +202,7 @@ impl GLViewConvert { } } - #[doc(alias = "get_property_output_mode_override")] + #[doc(alias = "output-mode-override")] pub fn output_mode_override(&self) -> gst_video::VideoMultiviewMode { unsafe { let mut value = glib::Value::from_type( @@ -219,7 +219,7 @@ impl GLViewConvert { } } - #[doc(alias = "set_property_output_mode_override")] + #[doc(alias = "output-mode-override")] pub fn set_output_mode_override(&self, output_mode_override: gst_video::VideoMultiviewMode) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -230,7 +230,8 @@ impl GLViewConvert { } } - pub fn connect_property_downmix_mode_notify( + #[doc(alias = "downmix-mode")] + pub fn connect_downmix_mode_notify( &self, f: F, ) -> SignalHandlerId { @@ -257,9 +258,8 @@ impl GLViewConvert { } } - pub fn connect_property_input_flags_override_notify< - F: Fn(&GLViewConvert) + Send + Sync + 'static, - >( + #[doc(alias = "input-flags-override")] + pub fn connect_input_flags_override_notify( &self, f: F, ) -> SignalHandlerId { @@ -286,9 +286,8 @@ impl GLViewConvert { } } - pub fn connect_property_input_mode_override_notify< - F: Fn(&GLViewConvert) + Send + Sync + 'static, - >( + #[doc(alias = "input-mode-override")] + pub fn connect_input_mode_override_notify( &self, f: F, ) -> SignalHandlerId { @@ -315,9 +314,8 @@ impl GLViewConvert { } } - pub fn connect_property_output_flags_override_notify< - F: Fn(&GLViewConvert) + Send + Sync + 'static, - >( + #[doc(alias = "output-flags-override")] + pub fn connect_output_flags_override_notify( &self, f: F, ) -> SignalHandlerId { @@ -344,9 +342,8 @@ impl GLViewConvert { } } - pub fn connect_property_output_mode_override_notify< - F: Fn(&GLViewConvert) + Send + Sync + 'static, - >( + #[doc(alias = "output-mode-override")] + pub fn connect_output_mode_override_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-gl/src/auto/gl_window.rs b/gstreamer-gl/src/auto/gl_window.rs index 0c7332ec8..f77eb900c 100644 --- a/gstreamer-gl/src/auto/gl_window.rs +++ b/gstreamer-gl/src/auto/gl_window.rs @@ -45,9 +45,11 @@ pub trait GLWindowExt: 'static { fn draw(&self); #[doc(alias = "gst_gl_window_get_context")] + #[doc(alias = "get_context")] fn context(&self) -> Option; #[doc(alias = "gst_gl_window_get_surface_dimensions")] + #[doc(alias = "get_surface_dimensions")] fn surface_dimensions(&self) -> (u32, u32); #[doc(alias = "gst_gl_window_handle_events")] @@ -96,11 +98,13 @@ pub trait GLWindowExt: 'static { #[doc(alias = "gst_gl_window_show")] fn show(&self); + #[doc(alias = "key-event")] fn connect_key_event( &self, f: F, ) -> SignalHandlerId; + #[doc(alias = "mouse-event")] fn connect_mouse_event( &self, f: F, @@ -108,6 +112,7 @@ pub trait GLWindowExt: 'static { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] + #[doc(alias = "scroll-event")] fn connect_scroll_event( &self, f: F, @@ -266,6 +271,7 @@ impl> GLWindowExt for O { } } + #[doc(alias = "key-event")] fn connect_key_event( &self, f: F, @@ -301,6 +307,7 @@ impl> GLWindowExt for O { } } + #[doc(alias = "mouse-event")] fn connect_mouse_event( &self, f: F, @@ -342,6 +349,7 @@ impl> GLWindowExt for O { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] + #[doc(alias = "scroll-event")] fn connect_scroll_event( &self, f: F, diff --git a/gstreamer-gl/src/auto/glsl_stage.rs b/gstreamer-gl/src/auto/glsl_stage.rs index 30e7233ea..95224f3de 100644 --- a/gstreamer-gl/src/auto/glsl_stage.rs +++ b/gstreamer-gl/src/auto/glsl_stage.rs @@ -51,6 +51,7 @@ impl GLSLStage { } #[doc(alias = "gst_glsl_stage_new_with_string")] + #[doc(alias = "new_with_string")] pub fn with_string>( context: &P, type_: u32, @@ -71,6 +72,7 @@ impl GLSLStage { } #[doc(alias = "gst_glsl_stage_new_with_strings")] + #[doc(alias = "new_with_strings")] pub fn with_strings>( context: &P, type_: u32, @@ -106,21 +108,25 @@ impl GLSLStage { } #[doc(alias = "gst_glsl_stage_get_handle")] + #[doc(alias = "get_handle")] pub fn handle(&self) -> u32 { unsafe { ffi::gst_glsl_stage_get_handle(self.to_glib_none().0) } } #[doc(alias = "gst_glsl_stage_get_profile")] + #[doc(alias = "get_profile")] pub fn profile(&self) -> GLSLProfile { unsafe { from_glib(ffi::gst_glsl_stage_get_profile(self.to_glib_none().0)) } } #[doc(alias = "gst_glsl_stage_get_shader_type")] + #[doc(alias = "get_shader_type")] pub fn shader_type(&self) -> u32 { unsafe { ffi::gst_glsl_stage_get_shader_type(self.to_glib_none().0) } } #[doc(alias = "gst_glsl_stage_get_version")] + #[doc(alias = "get_version")] pub fn version(&self) -> GLSLVersion { unsafe { from_glib(ffi::gst_glsl_stage_get_version(self.to_glib_none().0)) } } diff --git a/gstreamer-gl/src/auto/versions.txt b/gstreamer-gl/src/auto/versions.txt index 33aa18251..1ed8d5e7b 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 @ 0516825) +Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-gl/sys/build.rs b/gstreamer-gl/sys/build.rs index bae1ce3d4..0cbbd0fe4 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/sys/src/lib.rs b/gstreamer-gl/sys/src/lib.rs index 683368d14..d4b9673ce 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/sys/tests/abi.rs b/gstreamer-gl/sys/tests/abi.rs index 257cb1b88..ad831209f 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/sys/tests/constant.c b/gstreamer-gl/sys/tests/constant.c index 8a3110826..0f7976196 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/sys/tests/layout.c b/gstreamer-gl/sys/tests/layout.c index 0f6d48375..715047d20 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/wayland/src/auto/gl_display_wayland.rs b/gstreamer-gl/wayland/src/auto/gl_display_wayland.rs index d7ef76167..1779e2115 100644 --- a/gstreamer-gl/wayland/src/auto/gl_display_wayland.rs +++ b/gstreamer-gl/wayland/src/auto/gl_display_wayland.rs @@ -21,6 +21,7 @@ impl GLDisplayWayland { } //#[doc(alias = "gst_gl_display_wayland_new_with_display")] + //#[doc(alias = "new_with_display")] //pub fn with_display(display: /*Unimplemented*/Option) -> GLDisplayWayland { // unsafe { TODO: call ffi:gst_gl_display_wayland_new_with_display() } //} diff --git a/gstreamer-gl/wayland/src/auto/versions.txt b/gstreamer-gl/wayland/src/auto/versions.txt index 33aa18251..1ed8d5e7b 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 @ 0516825) +Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-gl/wayland/sys/build.rs b/gstreamer-gl/wayland/sys/build.rs index bae1ce3d4..0cbbd0fe4 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/wayland/sys/src/lib.rs b/gstreamer-gl/wayland/sys/src/lib.rs index 023c54b72..59774ca6e 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/wayland/sys/tests/abi.rs b/gstreamer-gl/wayland/sys/tests/abi.rs index df23c78a0..c2a30c2b5 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/wayland/sys/tests/constant.c b/gstreamer-gl/wayland/sys/tests/constant.c index 2249df463..5299177e4 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/wayland/sys/tests/layout.c b/gstreamer-gl/wayland/sys/tests/layout.c index df41511be..e234b874b 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/x11/src/auto/gl_display_x11.rs b/gstreamer-gl/x11/src/auto/gl_display_x11.rs index 543d64174..037db2901 100644 --- a/gstreamer-gl/x11/src/auto/gl_display_x11.rs +++ b/gstreamer-gl/x11/src/auto/gl_display_x11.rs @@ -21,6 +21,7 @@ impl GLDisplayX11 { } //#[doc(alias = "gst_gl_display_x11_new_with_display")] + //#[doc(alias = "new_with_display")] //pub fn with_display(display: /*Unimplemented*/Fundamental: Pointer) -> GLDisplayX11 { // unsafe { TODO: call ffi:gst_gl_display_x11_new_with_display() } //} diff --git a/gstreamer-gl/x11/src/auto/versions.txt b/gstreamer-gl/x11/src/auto/versions.txt index 33aa18251..1ed8d5e7b 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 @ 0516825) +Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-gl/x11/sys/build.rs b/gstreamer-gl/x11/sys/build.rs index bae1ce3d4..0cbbd0fe4 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/x11/sys/src/lib.rs b/gstreamer-gl/x11/sys/src/lib.rs index 8be607625..0301a2ff2 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/x11/sys/tests/abi.rs b/gstreamer-gl/x11/sys/tests/abi.rs index 4b08354d3..678c073b1 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/x11/sys/tests/constant.c b/gstreamer-gl/x11/sys/tests/constant.c index 2249df463..5299177e4 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/x11/sys/tests/layout.c b/gstreamer-gl/x11/sys/tests/layout.c index f4327e7ba..da4e59ed4 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-mpegts/sys/build.rs b/gstreamer-mpegts/sys/build.rs index bae1ce3d4..0cbbd0fe4 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-mpegts/sys/src/lib.rs b/gstreamer-mpegts/sys/src/lib.rs index 312f2ab88..d48d17284 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-mpegts/sys/tests/abi.rs b/gstreamer-mpegts/sys/tests/abi.rs index 95d5224b9..9fab38f9e 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-mpegts/sys/tests/constant.c b/gstreamer-mpegts/sys/tests/constant.c index 744535d26..8e8e693b7 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-mpegts/sys/tests/layout.c b/gstreamer-mpegts/sys/tests/layout.c index 67134b928..b843d115e 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-net/src/auto/net_client_clock.rs b/gstreamer-net/src/auto/net_client_clock.rs index eaa742b99..51e880ff7 100644 --- a/gstreamer-net/src/auto/net_client_clock.rs +++ b/gstreamer-net/src/auto/net_client_clock.rs @@ -22,7 +22,6 @@ glib::wrapper! { } impl NetClientClock { - #[doc(alias = "get_property_address")] pub fn address(&self) -> Option { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -37,7 +36,6 @@ impl NetClientClock { } } - #[doc(alias = "set_property_address")] pub fn set_address(&self, address: Option<&str>) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -48,7 +46,7 @@ impl NetClientClock { } } - #[doc(alias = "get_property_base_time")] + #[doc(alias = "base-time")] pub fn base_time(&self) -> u64 { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -63,7 +61,6 @@ impl NetClientClock { } } - #[doc(alias = "get_property_bus")] pub fn bus(&self) -> Option { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -76,7 +73,6 @@ impl NetClientClock { } } - #[doc(alias = "set_property_bus")] pub fn set_bus>(&self, bus: Option<&P>) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -87,7 +83,7 @@ impl NetClientClock { } } - #[doc(alias = "get_property_internal_clock")] + #[doc(alias = "internal-clock")] pub fn internal_clock(&self) -> Option { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -102,7 +98,7 @@ impl NetClientClock { } } - #[doc(alias = "get_property_minimum_update_interval")] + #[doc(alias = "minimum-update-interval")] pub fn minimum_update_interval(&self) -> u64 { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -117,7 +113,7 @@ impl NetClientClock { } } - #[doc(alias = "set_property_minimum_update_interval")] + #[doc(alias = "minimum-update-interval")] pub fn set_minimum_update_interval(&self, minimum_update_interval: u64) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -128,7 +124,6 @@ impl NetClientClock { } } - #[doc(alias = "get_property_port")] pub fn port(&self) -> i32 { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -143,7 +138,6 @@ impl NetClientClock { } } - #[doc(alias = "set_property_port")] pub fn set_port(&self, port: i32) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -154,7 +148,7 @@ impl NetClientClock { } } - #[doc(alias = "get_property_qos_dscp")] + #[doc(alias = "qos-dscp")] pub fn qos_dscp(&self) -> i32 { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -169,7 +163,7 @@ impl NetClientClock { } } - #[doc(alias = "set_property_qos_dscp")] + #[doc(alias = "qos-dscp")] pub fn set_qos_dscp(&self, qos_dscp: i32) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -180,7 +174,7 @@ impl NetClientClock { } } - #[doc(alias = "get_property_round_trip_limit")] + #[doc(alias = "round-trip-limit")] pub fn round_trip_limit(&self) -> u64 { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -195,7 +189,7 @@ impl NetClientClock { } } - #[doc(alias = "set_property_round_trip_limit")] + #[doc(alias = "round-trip-limit")] pub fn set_round_trip_limit(&self, round_trip_limit: u64) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -206,7 +200,8 @@ impl NetClientClock { } } - pub fn connect_property_address_notify( + #[doc(alias = "address")] + pub fn connect_address_notify( &self, f: F, ) -> SignalHandlerId { @@ -233,7 +228,8 @@ impl NetClientClock { } } - pub fn connect_property_bus_notify( + #[doc(alias = "bus")] + pub fn connect_bus_notify( &self, f: F, ) -> SignalHandlerId { @@ -260,9 +256,8 @@ impl NetClientClock { } } - pub fn connect_property_internal_clock_notify< - F: Fn(&NetClientClock) + Send + Sync + 'static, - >( + #[doc(alias = "internal-clock")] + pub fn connect_internal_clock_notify( &self, f: F, ) -> SignalHandlerId { @@ -289,7 +284,8 @@ impl NetClientClock { } } - pub fn connect_property_minimum_update_interval_notify< + #[doc(alias = "minimum-update-interval")] + pub fn connect_minimum_update_interval_notify< F: Fn(&NetClientClock) + Send + Sync + 'static, >( &self, @@ -318,7 +314,8 @@ impl NetClientClock { } } - pub fn connect_property_port_notify( + #[doc(alias = "port")] + pub fn connect_port_notify( &self, f: F, ) -> SignalHandlerId { @@ -345,7 +342,8 @@ impl NetClientClock { } } - pub fn connect_property_qos_dscp_notify( + #[doc(alias = "qos-dscp")] + pub fn connect_qos_dscp_notify( &self, f: F, ) -> SignalHandlerId { @@ -372,9 +370,8 @@ impl NetClientClock { } } - pub fn connect_property_round_trip_limit_notify< - F: Fn(&NetClientClock) + Send + Sync + 'static, - >( + #[doc(alias = "round-trip-limit")] + pub fn connect_round_trip_limit_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-net/src/auto/net_time_provider.rs b/gstreamer-net/src/auto/net_time_provider.rs index 576f991c4..b593edb05 100644 --- a/gstreamer-net/src/auto/net_time_provider.rs +++ b/gstreamer-net/src/auto/net_time_provider.rs @@ -21,7 +21,6 @@ glib::wrapper! { } impl NetTimeProvider { - #[doc(alias = "get_property_active")] pub fn is_active(&self) -> bool { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -36,7 +35,6 @@ impl NetTimeProvider { } } - #[doc(alias = "set_property_active")] pub fn set_active(&self, active: bool) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -47,7 +45,6 @@ impl NetTimeProvider { } } - #[doc(alias = "get_property_address")] pub fn address(&self) -> Option { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -62,7 +59,6 @@ impl NetTimeProvider { } } - #[doc(alias = "get_property_clock")] pub fn clock(&self) -> Option { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -77,7 +73,6 @@ impl NetTimeProvider { } } - #[doc(alias = "get_property_port")] pub fn port(&self) -> i32 { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -92,7 +87,7 @@ impl NetTimeProvider { } } - #[doc(alias = "get_property_qos_dscp")] + #[doc(alias = "qos-dscp")] pub fn qos_dscp(&self) -> i32 { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -107,7 +102,7 @@ impl NetTimeProvider { } } - #[doc(alias = "set_property_qos_dscp")] + #[doc(alias = "qos-dscp")] pub fn set_qos_dscp(&self, qos_dscp: i32) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -118,7 +113,8 @@ impl NetTimeProvider { } } - pub fn connect_property_active_notify( + #[doc(alias = "active")] + pub fn connect_active_notify( &self, f: F, ) -> SignalHandlerId { @@ -145,7 +141,8 @@ impl NetTimeProvider { } } - pub fn connect_property_qos_dscp_notify( + #[doc(alias = "qos-dscp")] + pub fn connect_qos_dscp_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-net/src/auto/ptp_clock.rs b/gstreamer-net/src/auto/ptp_clock.rs index 51e316569..019cbbfe6 100644 --- a/gstreamer-net/src/auto/ptp_clock.rs +++ b/gstreamer-net/src/auto/ptp_clock.rs @@ -20,7 +20,6 @@ glib::wrapper! { } impl PtpClock { - #[doc(alias = "get_property_domain")] pub fn domain(&self) -> u32 { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -35,7 +34,7 @@ impl PtpClock { } } - #[doc(alias = "get_property_grandmaster_clock_id")] + #[doc(alias = "grandmaster-clock-id")] pub fn grandmaster_clock_id(&self) -> u64 { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -50,7 +49,7 @@ impl PtpClock { } } - #[doc(alias = "get_property_internal_clock")] + #[doc(alias = "internal-clock")] pub fn internal_clock(&self) -> Option { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -65,7 +64,7 @@ impl PtpClock { } } - #[doc(alias = "get_property_master_clock_id")] + #[doc(alias = "master-clock-id")] pub fn master_clock_id(&self) -> u64 { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -80,9 +79,8 @@ impl PtpClock { } } - pub fn connect_property_grandmaster_clock_id_notify< - F: Fn(&PtpClock) + Send + Sync + 'static, - >( + #[doc(alias = "grandmaster-clock-id")] + pub fn connect_grandmaster_clock_id_notify( &self, f: F, ) -> SignalHandlerId { @@ -109,7 +107,8 @@ impl PtpClock { } } - pub fn connect_property_internal_clock_notify( + #[doc(alias = "internal-clock")] + pub fn connect_internal_clock_notify( &self, f: F, ) -> SignalHandlerId { @@ -136,7 +135,8 @@ impl PtpClock { } } - pub fn connect_property_master_clock_id_notify( + #[doc(alias = "master-clock-id")] + pub fn connect_master_clock_id_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-net/src/auto/versions.txt b/gstreamer-net/src/auto/versions.txt index 33aa18251..1ed8d5e7b 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 @ 0516825) +Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-net/sys/build.rs b/gstreamer-net/sys/build.rs index bae1ce3d4..0cbbd0fe4 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-net/sys/src/lib.rs b/gstreamer-net/sys/src/lib.rs index 1de429d7b..f699ee35d 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-net/sys/tests/abi.rs b/gstreamer-net/sys/tests/abi.rs index bf80eba3e..7d61bb23b 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-net/sys/tests/constant.c b/gstreamer-net/sys/tests/constant.c index 9658627cd..90938c3f3 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-net/sys/tests/layout.c b/gstreamer-net/sys/tests/layout.c index 4b5335221..2ce62fd33 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-pbutils/src/auto/discoverer.rs b/gstreamer-pbutils/src/auto/discoverer.rs index 49d4d69f1..de0a9d457 100644 --- a/gstreamer-pbutils/src/auto/discoverer.rs +++ b/gstreamer-pbutils/src/auto/discoverer.rs @@ -84,7 +84,7 @@ impl Discoverer { #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] - #[doc(alias = "get_property_use_cache")] + #[doc(alias = "use-cache")] pub fn uses_cache(&self) -> bool { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -101,7 +101,7 @@ impl Discoverer { #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] - #[doc(alias = "set_property_use_cache")] + #[doc(alias = "use-cache")] pub fn set_use_cache(&self, use_cache: bool) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -112,6 +112,7 @@ impl Discoverer { } } + #[doc(alias = "discovered")] pub fn connect_discovered< F: Fn(&Discoverer, &DiscovererInfo, Option<&glib::Error>) + Send + Sync + 'static, >( @@ -148,6 +149,7 @@ impl Discoverer { } } + #[doc(alias = "finished")] pub fn connect_finished( &self, f: F, @@ -172,6 +174,7 @@ impl Discoverer { } } + #[doc(alias = "source-setup")] pub fn connect_source_setup( &self, f: F, @@ -199,6 +202,7 @@ impl Discoverer { } } + #[doc(alias = "starting")] pub fn connect_starting( &self, f: F, @@ -225,7 +229,8 @@ impl Discoverer { #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] - pub fn connect_property_use_cache_notify( + #[doc(alias = "use-cache")] + pub fn connect_use_cache_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-pbutils/src/auto/discoverer_audio_info.rs b/gstreamer-pbutils/src/auto/discoverer_audio_info.rs index ce0f0e81b..7e6708903 100644 --- a/gstreamer-pbutils/src/auto/discoverer_audio_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_audio_info.rs @@ -16,6 +16,7 @@ glib::wrapper! { impl DiscovererAudioInfo { #[doc(alias = "gst_discoverer_audio_info_get_bitrate")] + #[doc(alias = "get_bitrate")] pub fn bitrate(&self) -> u32 { unsafe { ffi::gst_discoverer_audio_info_get_bitrate(self.to_glib_none().0) } } @@ -23,21 +24,25 @@ impl DiscovererAudioInfo { #[cfg(any(feature = "v1_14", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_14")))] #[doc(alias = "gst_discoverer_audio_info_get_channel_mask")] + #[doc(alias = "get_channel_mask")] pub fn channel_mask(&self) -> u64 { unsafe { ffi::gst_discoverer_audio_info_get_channel_mask(self.to_glib_none().0) } } #[doc(alias = "gst_discoverer_audio_info_get_channels")] + #[doc(alias = "get_channels")] pub fn channels(&self) -> u32 { unsafe { ffi::gst_discoverer_audio_info_get_channels(self.to_glib_none().0) } } #[doc(alias = "gst_discoverer_audio_info_get_depth")] + #[doc(alias = "get_depth")] pub fn depth(&self) -> u32 { unsafe { ffi::gst_discoverer_audio_info_get_depth(self.to_glib_none().0) } } #[doc(alias = "gst_discoverer_audio_info_get_language")] + #[doc(alias = "get_language")] pub fn language(&self) -> Option { unsafe { from_glib_none(ffi::gst_discoverer_audio_info_get_language( @@ -47,11 +52,13 @@ impl DiscovererAudioInfo { } #[doc(alias = "gst_discoverer_audio_info_get_max_bitrate")] + #[doc(alias = "get_max_bitrate")] pub fn max_bitrate(&self) -> u32 { unsafe { ffi::gst_discoverer_audio_info_get_max_bitrate(self.to_glib_none().0) } } #[doc(alias = "gst_discoverer_audio_info_get_sample_rate")] + #[doc(alias = "get_sample_rate")] pub fn sample_rate(&self) -> u32 { unsafe { ffi::gst_discoverer_audio_info_get_sample_rate(self.to_glib_none().0) } } diff --git a/gstreamer-pbutils/src/auto/discoverer_container_info.rs b/gstreamer-pbutils/src/auto/discoverer_container_info.rs index 03ff1b10b..64d69debe 100644 --- a/gstreamer-pbutils/src/auto/discoverer_container_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_container_info.rs @@ -16,6 +16,7 @@ glib::wrapper! { impl DiscovererContainerInfo { #[doc(alias = "gst_discoverer_container_info_get_streams")] + #[doc(alias = "get_streams")] pub fn streams(&self) -> Vec { unsafe { FromGlibPtrContainer::from_glib_full(ffi::gst_discoverer_container_info_get_streams( diff --git a/gstreamer-pbutils/src/auto/discoverer_info.rs b/gstreamer-pbutils/src/auto/discoverer_info.rs index e421552b6..857ec941c 100644 --- a/gstreamer-pbutils/src/auto/discoverer_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_info.rs @@ -23,6 +23,7 @@ impl DiscovererInfo { } #[doc(alias = "gst_discoverer_info_get_audio_streams")] + #[doc(alias = "get_audio_streams")] pub fn audio_streams(&self) -> Vec { unsafe { FromGlibPtrContainer::from_glib_full(ffi::gst_discoverer_info_get_audio_streams( @@ -32,6 +33,7 @@ impl DiscovererInfo { } #[doc(alias = "gst_discoverer_info_get_container_streams")] + #[doc(alias = "get_container_streams")] pub fn container_streams(&self) -> Vec { unsafe { FromGlibPtrContainer::from_glib_full(ffi::gst_discoverer_info_get_container_streams( @@ -41,6 +43,7 @@ impl DiscovererInfo { } #[doc(alias = "gst_discoverer_info_get_duration")] + #[doc(alias = "get_duration")] pub fn duration(&self) -> gst::ClockTime { unsafe { from_glib(ffi::gst_discoverer_info_get_duration(self.to_glib_none().0)) } } @@ -48,16 +51,19 @@ impl DiscovererInfo { #[cfg(any(feature = "v1_14", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_14")))] #[doc(alias = "gst_discoverer_info_get_live")] + #[doc(alias = "get_live")] pub fn is_live(&self) -> bool { unsafe { from_glib(ffi::gst_discoverer_info_get_live(self.to_glib_none().0)) } } #[doc(alias = "gst_discoverer_info_get_misc")] + #[doc(alias = "get_misc")] pub fn misc(&self) -> Option { unsafe { from_glib_none(ffi::gst_discoverer_info_get_misc(self.to_glib_none().0)) } } #[doc(alias = "gst_discoverer_info_get_missing_elements_installer_details")] + #[doc(alias = "get_missing_elements_installer_details")] pub fn missing_elements_installer_details(&self) -> Vec { unsafe { FromGlibPtrContainer::from_glib_none( @@ -69,16 +75,19 @@ impl DiscovererInfo { } #[doc(alias = "gst_discoverer_info_get_result")] + #[doc(alias = "get_result")] pub fn result(&self) -> DiscovererResult { unsafe { from_glib(ffi::gst_discoverer_info_get_result(self.to_glib_none().0)) } } #[doc(alias = "gst_discoverer_info_get_seekable")] + #[doc(alias = "get_seekable")] pub fn is_seekable(&self) -> bool { unsafe { from_glib(ffi::gst_discoverer_info_get_seekable(self.to_glib_none().0)) } } #[doc(alias = "gst_discoverer_info_get_stream_info")] + #[doc(alias = "get_stream_info")] pub fn stream_info(&self) -> Option { unsafe { from_glib_full(ffi::gst_discoverer_info_get_stream_info( @@ -88,6 +97,7 @@ impl DiscovererInfo { } #[doc(alias = "gst_discoverer_info_get_stream_list")] + #[doc(alias = "get_stream_list")] pub fn stream_list(&self) -> Vec { unsafe { FromGlibPtrContainer::from_glib_full(ffi::gst_discoverer_info_get_stream_list( @@ -97,6 +107,7 @@ impl DiscovererInfo { } #[doc(alias = "gst_discoverer_info_get_streams")] + #[doc(alias = "get_streams")] pub fn streams(&self, streamtype: glib::types::Type) -> Vec { unsafe { FromGlibPtrContainer::from_glib_full(ffi::gst_discoverer_info_get_streams( @@ -107,6 +118,7 @@ impl DiscovererInfo { } #[doc(alias = "gst_discoverer_info_get_subtitle_streams")] + #[doc(alias = "get_subtitle_streams")] pub fn subtitle_streams(&self) -> Vec { unsafe { FromGlibPtrContainer::from_glib_full(ffi::gst_discoverer_info_get_subtitle_streams( @@ -116,21 +128,25 @@ impl DiscovererInfo { } #[doc(alias = "gst_discoverer_info_get_tags")] + #[doc(alias = "get_tags")] pub fn tags(&self) -> Option { unsafe { from_glib_none(ffi::gst_discoverer_info_get_tags(self.to_glib_none().0)) } } #[doc(alias = "gst_discoverer_info_get_toc")] + #[doc(alias = "get_toc")] pub fn toc(&self) -> Option { unsafe { from_glib_none(ffi::gst_discoverer_info_get_toc(self.to_glib_none().0)) } } #[doc(alias = "gst_discoverer_info_get_uri")] + #[doc(alias = "get_uri")] pub fn uri(&self) -> Option { unsafe { from_glib_none(ffi::gst_discoverer_info_get_uri(self.to_glib_none().0)) } } #[doc(alias = "gst_discoverer_info_get_video_streams")] + #[doc(alias = "get_video_streams")] pub fn video_streams(&self) -> Vec { unsafe { FromGlibPtrContainer::from_glib_full(ffi::gst_discoverer_info_get_video_streams( diff --git a/gstreamer-pbutils/src/auto/discoverer_stream_info.rs b/gstreamer-pbutils/src/auto/discoverer_stream_info.rs index fb39d4960..318ebabdf 100644 --- a/gstreamer-pbutils/src/auto/discoverer_stream_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_stream_info.rs @@ -21,27 +21,35 @@ pub const NONE_DISCOVERER_STREAM_INFO: Option<&DiscovererStreamInfo> = None; pub trait DiscovererStreamInfoExt: 'static { #[doc(alias = "gst_discoverer_stream_info_get_caps")] + #[doc(alias = "get_caps")] fn caps(&self) -> Option; #[doc(alias = "gst_discoverer_stream_info_get_misc")] + #[doc(alias = "get_misc")] fn misc(&self) -> Option; #[doc(alias = "gst_discoverer_stream_info_get_next")] + #[doc(alias = "get_next")] fn next(&self) -> Option; #[doc(alias = "gst_discoverer_stream_info_get_previous")] + #[doc(alias = "get_previous")] fn previous(&self) -> Option; #[doc(alias = "gst_discoverer_stream_info_get_stream_id")] + #[doc(alias = "get_stream_id")] fn stream_id(&self) -> Option; #[doc(alias = "gst_discoverer_stream_info_get_stream_type_nick")] + #[doc(alias = "get_stream_type_nick")] fn stream_type_nick(&self) -> glib::GString; #[doc(alias = "gst_discoverer_stream_info_get_tags")] + #[doc(alias = "get_tags")] fn tags(&self) -> Option; #[doc(alias = "gst_discoverer_stream_info_get_toc")] + #[doc(alias = "get_toc")] fn toc(&self) -> Option; } diff --git a/gstreamer-pbutils/src/auto/discoverer_subtitle_info.rs b/gstreamer-pbutils/src/auto/discoverer_subtitle_info.rs index a80eb4a82..0e42a66c2 100644 --- a/gstreamer-pbutils/src/auto/discoverer_subtitle_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_subtitle_info.rs @@ -16,6 +16,7 @@ glib::wrapper! { impl DiscovererSubtitleInfo { #[doc(alias = "gst_discoverer_subtitle_info_get_language")] + #[doc(alias = "get_language")] pub fn language(&self) -> Option { unsafe { from_glib_none(ffi::gst_discoverer_subtitle_info_get_language( diff --git a/gstreamer-pbutils/src/auto/discoverer_video_info.rs b/gstreamer-pbutils/src/auto/discoverer_video_info.rs index 38afd4367..9f51bd03e 100644 --- a/gstreamer-pbutils/src/auto/discoverer_video_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_video_info.rs @@ -16,26 +16,31 @@ glib::wrapper! { impl DiscovererVideoInfo { #[doc(alias = "gst_discoverer_video_info_get_bitrate")] + #[doc(alias = "get_bitrate")] pub fn bitrate(&self) -> u32 { unsafe { ffi::gst_discoverer_video_info_get_bitrate(self.to_glib_none().0) } } #[doc(alias = "gst_discoverer_video_info_get_depth")] + #[doc(alias = "get_depth")] pub fn depth(&self) -> u32 { unsafe { ffi::gst_discoverer_video_info_get_depth(self.to_glib_none().0) } } #[doc(alias = "gst_discoverer_video_info_get_height")] + #[doc(alias = "get_height")] pub fn height(&self) -> u32 { unsafe { ffi::gst_discoverer_video_info_get_height(self.to_glib_none().0) } } #[doc(alias = "gst_discoverer_video_info_get_max_bitrate")] + #[doc(alias = "get_max_bitrate")] pub fn max_bitrate(&self) -> u32 { unsafe { ffi::gst_discoverer_video_info_get_max_bitrate(self.to_glib_none().0) } } #[doc(alias = "gst_discoverer_video_info_get_width")] + #[doc(alias = "get_width")] pub fn width(&self) -> u32 { unsafe { ffi::gst_discoverer_video_info_get_width(self.to_glib_none().0) } } diff --git a/gstreamer-pbutils/src/auto/encoding_container_profile.rs b/gstreamer-pbutils/src/auto/encoding_container_profile.rs index 89c34fe3e..19c163cb8 100644 --- a/gstreamer-pbutils/src/auto/encoding_container_profile.rs +++ b/gstreamer-pbutils/src/auto/encoding_container_profile.rs @@ -27,6 +27,7 @@ impl EncodingContainerProfile { } #[doc(alias = "gst_encoding_container_profile_get_profiles")] + #[doc(alias = "get_profiles")] pub fn profiles(&self) -> Vec { unsafe { FromGlibPtrContainer::from_glib_none(ffi::gst_encoding_container_profile_get_profiles( diff --git a/gstreamer-pbutils/src/auto/encoding_profile.rs b/gstreamer-pbutils/src/auto/encoding_profile.rs index 47387389d..7888e7ef5 100644 --- a/gstreamer-pbutils/src/auto/encoding_profile.rs +++ b/gstreamer-pbutils/src/auto/encoding_profile.rs @@ -58,38 +58,49 @@ pub trait EncodingProfileExt: 'static { fn copy(&self) -> EncodingProfile; #[doc(alias = "gst_encoding_profile_get_allow_dynamic_output")] + #[doc(alias = "get_allow_dynamic_output")] fn allows_dynamic_output(&self) -> bool; #[doc(alias = "gst_encoding_profile_get_description")] + #[doc(alias = "get_description")] fn description(&self) -> Option; #[doc(alias = "gst_encoding_profile_get_file_extension")] + #[doc(alias = "get_file_extension")] fn file_extension(&self) -> Option; #[doc(alias = "gst_encoding_profile_get_format")] + #[doc(alias = "get_format")] fn format(&self) -> gst::Caps; #[doc(alias = "gst_encoding_profile_get_input_caps")] + #[doc(alias = "get_input_caps")] fn input_caps(&self) -> gst::Caps; #[doc(alias = "gst_encoding_profile_get_name")] + #[doc(alias = "get_name")] fn name(&self) -> Option; #[doc(alias = "gst_encoding_profile_get_presence")] + #[doc(alias = "get_presence")] fn presence(&self) -> u32; #[doc(alias = "gst_encoding_profile_get_preset")] + #[doc(alias = "get_preset")] fn preset(&self) -> Option; #[doc(alias = "gst_encoding_profile_get_preset_name")] + #[doc(alias = "get_preset_name")] fn preset_name(&self) -> Option; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "gst_encoding_profile_get_single_segment")] + #[doc(alias = "get_single_segment")] fn is_single_segment(&self) -> bool; #[doc(alias = "gst_encoding_profile_get_type_nick")] + #[doc(alias = "get_type_nick")] fn type_nick(&self) -> Option; #[doc(alias = "gst_encoding_profile_is_enabled")] diff --git a/gstreamer-pbutils/src/auto/encoding_target.rs b/gstreamer-pbutils/src/auto/encoding_target.rs index 8c19bc9be..4bef4c38c 100644 --- a/gstreamer-pbutils/src/auto/encoding_target.rs +++ b/gstreamer-pbutils/src/auto/encoding_target.rs @@ -36,11 +36,13 @@ impl EncodingTarget { } #[doc(alias = "gst_encoding_target_get_category")] + #[doc(alias = "get_category")] pub fn category(&self) -> glib::GString { unsafe { from_glib_none(ffi::gst_encoding_target_get_category(self.to_glib_none().0)) } } #[doc(alias = "gst_encoding_target_get_description")] + #[doc(alias = "get_description")] pub fn description(&self) -> glib::GString { unsafe { from_glib_none(ffi::gst_encoding_target_get_description( @@ -50,6 +52,7 @@ impl EncodingTarget { } #[doc(alias = "gst_encoding_target_get_name")] + #[doc(alias = "get_name")] pub fn name(&self) -> glib::GString { unsafe { from_glib_none(ffi::gst_encoding_target_get_name(self.to_glib_none().0)) } } @@ -57,11 +60,13 @@ impl EncodingTarget { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "gst_encoding_target_get_path")] + #[doc(alias = "get_path")] pub fn path(&self) -> Option { unsafe { from_glib_none(ffi::gst_encoding_target_get_path(self.to_glib_none().0)) } } #[doc(alias = "gst_encoding_target_get_profile")] + #[doc(alias = "get_profile")] pub fn profile(&self, name: &str) -> Option { unsafe { from_glib_full(ffi::gst_encoding_target_get_profile( @@ -72,6 +77,7 @@ impl EncodingTarget { } #[doc(alias = "gst_encoding_target_get_profiles")] + #[doc(alias = "get_profiles")] pub fn profiles(&self) -> Vec { unsafe { FromGlibPtrContainer::from_glib_none(ffi::gst_encoding_target_get_profiles( diff --git a/gstreamer-pbutils/src/auto/encoding_video_profile.rs b/gstreamer-pbutils/src/auto/encoding_video_profile.rs index e7b47c577..70f97eae1 100644 --- a/gstreamer-pbutils/src/auto/encoding_video_profile.rs +++ b/gstreamer-pbutils/src/auto/encoding_video_profile.rs @@ -16,11 +16,13 @@ glib::wrapper! { impl EncodingVideoProfile { #[doc(alias = "gst_encoding_video_profile_get_pass")] + #[doc(alias = "get_pass")] pub fn pass(&self) -> u32 { unsafe { ffi::gst_encoding_video_profile_get_pass(self.to_glib_none().0) } } #[doc(alias = "gst_encoding_video_profile_get_variableframerate")] + #[doc(alias = "get_variableframerate")] pub fn is_variableframerate(&self) -> bool { unsafe { from_glib(ffi::gst_encoding_video_profile_get_variableframerate( diff --git a/gstreamer-pbutils/src/auto/versions.txt b/gstreamer-pbutils/src/auto/versions.txt index 33aa18251..1ed8d5e7b 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 @ 0516825) +Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-pbutils/sys/build.rs b/gstreamer-pbutils/sys/build.rs index bae1ce3d4..0cbbd0fe4 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-pbutils/sys/src/lib.rs b/gstreamer-pbutils/sys/src/lib.rs index 3a6ebd75e..64e033975 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-pbutils/sys/tests/abi.rs b/gstreamer-pbutils/sys/tests/abi.rs index c34e064ab..d70f6bec7 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-pbutils/sys/tests/constant.c b/gstreamer-pbutils/sys/tests/constant.c index 5c845aa6f..863bb0d40 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-pbutils/sys/tests/layout.c b/gstreamer-pbutils/sys/tests/layout.c index 35b592257..68c20d77b 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/enums.rs b/gstreamer-player/src/auto/enums.rs index 9d76ef415..b9849e991 100644 --- a/gstreamer-player/src/auto/enums.rs +++ b/gstreamer-player/src/auto/enums.rs @@ -29,6 +29,7 @@ pub enum PlayerColorBalanceType { impl PlayerColorBalanceType { #[doc(alias = "gst_player_color_balance_type_get_name")] + #[doc(alias = "get_name")] pub fn name(self) -> Option { assert_initialized_main_thread!(); unsafe { @@ -113,6 +114,7 @@ pub enum PlayerError { impl PlayerError { #[doc(alias = "gst_player_error_get_name")] + #[doc(alias = "get_name")] pub fn name(self) -> Option { assert_initialized_main_thread!(); unsafe { from_glib_none(ffi::gst_player_error_get_name(self.into_glib())) } @@ -262,6 +264,7 @@ pub enum PlayerState { impl PlayerState { #[doc(alias = "gst_player_state_get_name")] + #[doc(alias = "get_name")] pub fn name(self) -> Option { assert_initialized_main_thread!(); unsafe { from_glib_none(ffi::gst_player_state_get_name(self.into_glib())) } diff --git a/gstreamer-player/src/auto/player.rs b/gstreamer-player/src/auto/player.rs index 073fc8115..7003ffb0f 100644 --- a/gstreamer-player/src/auto/player.rs +++ b/gstreamer-player/src/auto/player.rs @@ -30,16 +30,19 @@ glib::wrapper! { impl Player { #[doc(alias = "gst_player_get_audio_video_offset")] + #[doc(alias = "get_audio_video_offset")] pub fn audio_video_offset(&self) -> i64 { unsafe { ffi::gst_player_get_audio_video_offset(self.to_glib_none().0) } } #[doc(alias = "gst_player_get_color_balance")] + #[doc(alias = "get_color_balance")] pub fn color_balance(&self, type_: PlayerColorBalanceType) -> f64 { unsafe { ffi::gst_player_get_color_balance(self.to_glib_none().0, type_.into_glib()) } } #[doc(alias = "gst_player_get_current_audio_track")] + #[doc(alias = "get_current_audio_track")] pub fn current_audio_track(&self) -> Option { unsafe { from_glib_full(ffi::gst_player_get_current_audio_track( @@ -49,6 +52,7 @@ impl Player { } #[doc(alias = "gst_player_get_current_subtitle_track")] + #[doc(alias = "get_current_subtitle_track")] pub fn current_subtitle_track(&self) -> Option { unsafe { from_glib_full(ffi::gst_player_get_current_subtitle_track( @@ -58,6 +62,7 @@ impl Player { } #[doc(alias = "gst_player_get_current_video_track")] + #[doc(alias = "get_current_video_track")] pub fn current_video_track(&self) -> Option { unsafe { from_glib_full(ffi::gst_player_get_current_video_track( @@ -67,6 +72,7 @@ impl Player { } #[doc(alias = "gst_player_get_current_visualization")] + #[doc(alias = "get_current_visualization")] pub fn current_visualization(&self) -> Option { unsafe { from_glib_full(ffi::gst_player_get_current_visualization( @@ -76,46 +82,55 @@ impl Player { } #[doc(alias = "gst_player_get_duration")] + #[doc(alias = "get_duration")] pub fn duration(&self) -> gst::ClockTime { unsafe { from_glib(ffi::gst_player_get_duration(self.to_glib_none().0)) } } #[doc(alias = "gst_player_get_media_info")] + #[doc(alias = "get_media_info")] pub fn media_info(&self) -> Option { unsafe { from_glib_full(ffi::gst_player_get_media_info(self.to_glib_none().0)) } } #[doc(alias = "gst_player_get_multiview_flags")] + #[doc(alias = "get_multiview_flags")] pub fn multiview_flags(&self) -> gst_video::VideoMultiviewFlags { unsafe { from_glib(ffi::gst_player_get_multiview_flags(self.to_glib_none().0)) } } #[doc(alias = "gst_player_get_multiview_mode")] + #[doc(alias = "get_multiview_mode")] pub fn multiview_mode(&self) -> gst_video::VideoMultiviewFramePacking { unsafe { from_glib(ffi::gst_player_get_multiview_mode(self.to_glib_none().0)) } } #[doc(alias = "gst_player_get_mute")] + #[doc(alias = "get_mute")] pub fn is_muted(&self) -> bool { unsafe { from_glib(ffi::gst_player_get_mute(self.to_glib_none().0)) } } #[doc(alias = "gst_player_get_pipeline")] + #[doc(alias = "get_pipeline")] pub fn pipeline(&self) -> gst::Element { unsafe { from_glib_full(ffi::gst_player_get_pipeline(self.to_glib_none().0)) } } #[doc(alias = "gst_player_get_position")] + #[doc(alias = "get_position")] pub fn position(&self) -> gst::ClockTime { unsafe { from_glib(ffi::gst_player_get_position(self.to_glib_none().0)) } } #[doc(alias = "gst_player_get_rate")] + #[doc(alias = "get_rate")] pub fn rate(&self) -> f64 { unsafe { ffi::gst_player_get_rate(self.to_glib_none().0) } } #[doc(alias = "gst_player_get_subtitle_uri")] + #[doc(alias = "get_subtitle_uri")] pub fn subtitle_uri(&self) -> Option { unsafe { from_glib_full(ffi::gst_player_get_subtitle_uri(self.to_glib_none().0)) } } @@ -123,16 +138,19 @@ impl Player { #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] #[doc(alias = "gst_player_get_subtitle_video_offset")] + #[doc(alias = "get_subtitle_video_offset")] pub fn subtitle_video_offset(&self) -> i64 { unsafe { ffi::gst_player_get_subtitle_video_offset(self.to_glib_none().0) } } #[doc(alias = "gst_player_get_uri")] + #[doc(alias = "get_uri")] pub fn uri(&self) -> Option { unsafe { from_glib_full(ffi::gst_player_get_uri(self.to_glib_none().0)) } } #[doc(alias = "gst_player_get_video_snapshot")] + #[doc(alias = "get_video_snapshot")] pub fn video_snapshot( &self, format: PlayerSnapshotFormat, @@ -148,6 +166,7 @@ impl Player { } #[doc(alias = "gst_player_get_volume")] + #[doc(alias = "get_volume")] pub fn volume(&self) -> f64 { unsafe { ffi::gst_player_get_volume(self.to_glib_none().0) } } @@ -325,7 +344,6 @@ impl Player { } } - #[doc(alias = "get_property_suburi")] pub fn suburi(&self) -> Option { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -340,7 +358,6 @@ impl Player { } } - #[doc(alias = "set_property_suburi")] pub fn set_suburi(&self, suburi: Option<&str>) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -351,7 +368,7 @@ impl Player { } } - #[doc(alias = "get_property_video_multiview_flags")] + #[doc(alias = "video-multiview-flags")] pub fn video_multiview_flags(&self) -> gst_video::VideoMultiviewFlags { unsafe { let mut value = glib::Value::from_type( @@ -368,7 +385,7 @@ impl Player { } } - #[doc(alias = "set_property_video_multiview_flags")] + #[doc(alias = "video-multiview-flags")] pub fn set_video_multiview_flags(&self, video_multiview_flags: gst_video::VideoMultiviewFlags) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -379,7 +396,7 @@ impl Player { } } - #[doc(alias = "get_property_video_multiview_mode")] + #[doc(alias = "video-multiview-mode")] pub fn video_multiview_mode(&self) -> gst_video::VideoMultiviewFramePacking { unsafe { let mut value = glib::Value::from_type( @@ -396,7 +413,7 @@ impl Player { } } - #[doc(alias = "set_property_video_multiview_mode")] + #[doc(alias = "video-multiview-mode")] pub fn set_video_multiview_mode( &self, video_multiview_mode: gst_video::VideoMultiviewFramePacking, @@ -411,6 +428,7 @@ impl Player { } #[doc(alias = "gst_player_get_audio_streams")] + #[doc(alias = "get_audio_streams")] pub fn audio_streams(info: &PlayerMediaInfo) -> Vec { skip_assert_initialized!(); unsafe { @@ -421,6 +439,7 @@ impl Player { } #[doc(alias = "gst_player_get_subtitle_streams")] + #[doc(alias = "get_subtitle_streams")] pub fn subtitle_streams(info: &PlayerMediaInfo) -> Vec { skip_assert_initialized!(); unsafe { @@ -431,6 +450,7 @@ impl Player { } #[doc(alias = "gst_player_get_video_streams")] + #[doc(alias = "get_video_streams")] pub fn video_streams(info: &PlayerMediaInfo) -> Vec { skip_assert_initialized!(); unsafe { @@ -446,6 +466,7 @@ impl Player { unsafe { FromGlibPtrContainer::from_glib_full(ffi::gst_player_visualizations_get()) } } + #[doc(alias = "buffering")] pub fn connect_buffering(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn buffering_trampoline( this: *mut ffi::GstPlayer, @@ -468,6 +489,7 @@ impl Player { } } + #[doc(alias = "end-of-stream")] pub fn connect_end_of_stream(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn end_of_stream_trampoline( this: *mut ffi::GstPlayer, @@ -489,6 +511,7 @@ impl Player { } } + #[doc(alias = "error")] pub fn connect_error( &self, f: F, @@ -514,6 +537,7 @@ impl Player { } } + #[doc(alias = "media-info-updated")] pub fn connect_media_info_updated( &self, f: F, @@ -541,6 +565,7 @@ impl Player { } } + #[doc(alias = "mute-changed")] pub fn connect_mute_changed(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn mute_changed_trampoline( this: *mut ffi::GstPlayer, @@ -562,6 +587,7 @@ impl Player { } } + #[doc(alias = "state-changed")] pub fn connect_state_changed( &self, f: F, @@ -589,6 +615,7 @@ impl Player { } } + #[doc(alias = "uri-loaded")] pub fn connect_uri_loaded( &self, f: F, @@ -617,6 +644,7 @@ impl Player { } } + #[doc(alias = "video-dimensions-changed")] pub fn connect_video_dimensions_changed( &self, f: F, @@ -645,6 +673,7 @@ impl Player { } } + #[doc(alias = "volume-changed")] pub fn connect_volume_changed(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn volume_changed_trampoline( this: *mut ffi::GstPlayer, @@ -666,6 +695,7 @@ impl Player { } } + #[doc(alias = "warning")] pub fn connect_warning( &self, f: F, @@ -691,7 +721,8 @@ impl Player { } } - pub fn connect_property_audio_video_offset_notify( + #[doc(alias = "audio-video-offset")] + pub fn connect_audio_video_offset_notify( &self, f: F, ) -> SignalHandlerId { @@ -718,7 +749,8 @@ impl Player { } } - pub fn connect_property_current_audio_track_notify( + #[doc(alias = "current-audio-track")] + pub fn connect_current_audio_track_notify( &self, f: F, ) -> SignalHandlerId { @@ -745,9 +777,8 @@ impl Player { } } - pub fn connect_property_current_subtitle_track_notify< - F: Fn(&Player) + Send + Sync + 'static, - >( + #[doc(alias = "current-subtitle-track")] + pub fn connect_current_subtitle_track_notify( &self, f: F, ) -> SignalHandlerId { @@ -774,7 +805,8 @@ impl Player { } } - pub fn connect_property_current_video_track_notify( + #[doc(alias = "current-video-track")] + pub fn connect_current_video_track_notify( &self, f: F, ) -> SignalHandlerId { @@ -801,7 +833,8 @@ impl Player { } } - pub fn connect_property_duration_notify( + #[doc(alias = "duration")] + pub fn connect_duration_notify( &self, f: F, ) -> SignalHandlerId { @@ -826,7 +859,8 @@ impl Player { } } - pub fn connect_property_media_info_notify( + #[doc(alias = "media-info")] + pub fn connect_media_info_notify( &self, f: F, ) -> SignalHandlerId { @@ -853,7 +887,8 @@ impl Player { } } - pub fn connect_property_mute_notify( + #[doc(alias = "mute")] + pub fn connect_mute_notify( &self, f: F, ) -> SignalHandlerId { @@ -878,7 +913,8 @@ impl Player { } } - pub fn connect_property_pipeline_notify( + #[doc(alias = "pipeline")] + pub fn connect_pipeline_notify( &self, f: F, ) -> SignalHandlerId { @@ -903,7 +939,8 @@ impl Player { } } - pub fn connect_property_position_notify( + #[doc(alias = "position")] + pub fn connect_position_notify( &self, f: F, ) -> SignalHandlerId { @@ -928,7 +965,8 @@ impl Player { } } - pub fn connect_property_rate_notify( + #[doc(alias = "rate")] + pub fn connect_rate_notify( &self, f: F, ) -> SignalHandlerId { @@ -955,7 +993,8 @@ impl Player { #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] - pub fn connect_property_subtitle_video_offset_notify( + #[doc(alias = "subtitle-video-offset")] + pub fn connect_subtitle_video_offset_notify( &self, f: F, ) -> SignalHandlerId { @@ -982,7 +1021,8 @@ impl Player { } } - pub fn connect_property_suburi_notify( + #[doc(alias = "suburi")] + pub fn connect_suburi_notify( &self, f: F, ) -> SignalHandlerId { @@ -1007,7 +1047,8 @@ impl Player { } } - pub fn connect_property_uri_notify( + #[doc(alias = "uri")] + pub fn connect_uri_notify( &self, f: F, ) -> SignalHandlerId { @@ -1032,7 +1073,8 @@ impl Player { } } - pub fn connect_property_video_multiview_flags_notify( + #[doc(alias = "video-multiview-flags")] + pub fn connect_video_multiview_flags_notify( &self, f: F, ) -> SignalHandlerId { @@ -1059,7 +1101,8 @@ impl Player { } } - pub fn connect_property_video_multiview_mode_notify( + #[doc(alias = "video-multiview-mode")] + pub fn connect_video_multiview_mode_notify( &self, f: F, ) -> SignalHandlerId { @@ -1086,7 +1129,8 @@ impl Player { } } - pub fn connect_property_volume_notify( + #[doc(alias = "volume")] + pub fn connect_volume_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-player/src/auto/player_audio_info.rs b/gstreamer-player/src/auto/player_audio_info.rs index cc7b8aa52..90c92f4f2 100644 --- a/gstreamer-player/src/auto/player_audio_info.rs +++ b/gstreamer-player/src/auto/player_audio_info.rs @@ -16,16 +16,19 @@ glib::wrapper! { impl PlayerAudioInfo { #[doc(alias = "gst_player_audio_info_get_bitrate")] + #[doc(alias = "get_bitrate")] pub fn bitrate(&self) -> i32 { unsafe { ffi::gst_player_audio_info_get_bitrate(self.to_glib_none().0) } } #[doc(alias = "gst_player_audio_info_get_channels")] + #[doc(alias = "get_channels")] pub fn channels(&self) -> i32 { unsafe { ffi::gst_player_audio_info_get_channels(self.to_glib_none().0) } } #[doc(alias = "gst_player_audio_info_get_language")] + #[doc(alias = "get_language")] pub fn language(&self) -> Option { unsafe { from_glib_none(ffi::gst_player_audio_info_get_language( @@ -35,11 +38,13 @@ impl PlayerAudioInfo { } #[doc(alias = "gst_player_audio_info_get_max_bitrate")] + #[doc(alias = "get_max_bitrate")] pub fn max_bitrate(&self) -> i32 { unsafe { ffi::gst_player_audio_info_get_max_bitrate(self.to_glib_none().0) } } #[doc(alias = "gst_player_audio_info_get_sample_rate")] + #[doc(alias = "get_sample_rate")] pub fn sample_rate(&self) -> i32 { unsafe { ffi::gst_player_audio_info_get_sample_rate(self.to_glib_none().0) } } diff --git a/gstreamer-player/src/auto/player_gmain_context_signal_dispatcher.rs b/gstreamer-player/src/auto/player_gmain_context_signal_dispatcher.rs index 9a81c2d16..af01c8fb9 100644 --- a/gstreamer-player/src/auto/player_gmain_context_signal_dispatcher.rs +++ b/gstreamer-player/src/auto/player_gmain_context_signal_dispatcher.rs @@ -17,7 +17,7 @@ glib::wrapper! { } impl PlayerGMainContextSignalDispatcher { - #[doc(alias = "get_property_application_context")] + #[doc(alias = "application-context")] pub fn application_context(&self) -> Option { unsafe { let mut value = diff --git a/gstreamer-player/src/auto/player_media_info.rs b/gstreamer-player/src/auto/player_media_info.rs index 04c3bf2b1..d46ab9fbe 100644 --- a/gstreamer-player/src/auto/player_media_info.rs +++ b/gstreamer-player/src/auto/player_media_info.rs @@ -19,6 +19,7 @@ glib::wrapper! { impl PlayerMediaInfo { #[doc(alias = "gst_player_media_info_get_audio_streams")] + #[doc(alias = "get_audio_streams")] pub fn audio_streams(&self) -> Vec { unsafe { FromGlibPtrContainer::from_glib_none(ffi::gst_player_media_info_get_audio_streams( @@ -28,6 +29,7 @@ impl PlayerMediaInfo { } #[doc(alias = "gst_player_media_info_get_container_format")] + #[doc(alias = "get_container_format")] pub fn container_format(&self) -> Option { unsafe { from_glib_none(ffi::gst_player_media_info_get_container_format( @@ -37,6 +39,7 @@ impl PlayerMediaInfo { } #[doc(alias = "gst_player_media_info_get_duration")] + #[doc(alias = "get_duration")] pub fn duration(&self) -> gst::ClockTime { unsafe { from_glib(ffi::gst_player_media_info_get_duration( @@ -46,6 +49,7 @@ impl PlayerMediaInfo { } #[doc(alias = "gst_player_media_info_get_image_sample")] + #[doc(alias = "get_image_sample")] pub fn image_sample(&self) -> Option { unsafe { from_glib_none(ffi::gst_player_media_info_get_image_sample( @@ -55,26 +59,31 @@ impl PlayerMediaInfo { } #[doc(alias = "gst_player_media_info_get_number_of_audio_streams")] + #[doc(alias = "get_number_of_audio_streams")] pub fn number_of_audio_streams(&self) -> u32 { unsafe { ffi::gst_player_media_info_get_number_of_audio_streams(self.to_glib_none().0) } } #[doc(alias = "gst_player_media_info_get_number_of_streams")] + #[doc(alias = "get_number_of_streams")] pub fn number_of_streams(&self) -> u32 { unsafe { ffi::gst_player_media_info_get_number_of_streams(self.to_glib_none().0) } } #[doc(alias = "gst_player_media_info_get_number_of_subtitle_streams")] + #[doc(alias = "get_number_of_subtitle_streams")] pub fn number_of_subtitle_streams(&self) -> u32 { unsafe { ffi::gst_player_media_info_get_number_of_subtitle_streams(self.to_glib_none().0) } } #[doc(alias = "gst_player_media_info_get_number_of_video_streams")] + #[doc(alias = "get_number_of_video_streams")] pub fn number_of_video_streams(&self) -> u32 { unsafe { ffi::gst_player_media_info_get_number_of_video_streams(self.to_glib_none().0) } } #[doc(alias = "gst_player_media_info_get_stream_list")] + #[doc(alias = "get_stream_list")] pub fn stream_list(&self) -> Vec { unsafe { FromGlibPtrContainer::from_glib_none(ffi::gst_player_media_info_get_stream_list( @@ -84,6 +93,7 @@ impl PlayerMediaInfo { } #[doc(alias = "gst_player_media_info_get_subtitle_streams")] + #[doc(alias = "get_subtitle_streams")] pub fn subtitle_streams(&self) -> Vec { unsafe { FromGlibPtrContainer::from_glib_none(ffi::gst_player_media_info_get_subtitle_streams( @@ -93,21 +103,25 @@ impl PlayerMediaInfo { } #[doc(alias = "gst_player_media_info_get_tags")] + #[doc(alias = "get_tags")] pub fn tags(&self) -> Option { unsafe { from_glib_none(ffi::gst_player_media_info_get_tags(self.to_glib_none().0)) } } #[doc(alias = "gst_player_media_info_get_title")] + #[doc(alias = "get_title")] pub fn title(&self) -> Option { unsafe { from_glib_none(ffi::gst_player_media_info_get_title(self.to_glib_none().0)) } } #[doc(alias = "gst_player_media_info_get_uri")] + #[doc(alias = "get_uri")] pub fn uri(&self) -> glib::GString { unsafe { from_glib_none(ffi::gst_player_media_info_get_uri(self.to_glib_none().0)) } } #[doc(alias = "gst_player_media_info_get_video_streams")] + #[doc(alias = "get_video_streams")] pub fn video_streams(&self) -> Vec { unsafe { FromGlibPtrContainer::from_glib_none(ffi::gst_player_media_info_get_video_streams( diff --git a/gstreamer-player/src/auto/player_stream_info.rs b/gstreamer-player/src/auto/player_stream_info.rs index c014fc7bd..1770a62f5 100644 --- a/gstreamer-player/src/auto/player_stream_info.rs +++ b/gstreamer-player/src/auto/player_stream_info.rs @@ -21,18 +21,23 @@ pub const NONE_PLAYER_STREAM_INFO: Option<&PlayerStreamInfo> = None; pub trait PlayerStreamInfoExt: 'static { #[doc(alias = "gst_player_stream_info_get_caps")] + #[doc(alias = "get_caps")] fn caps(&self) -> Option; #[doc(alias = "gst_player_stream_info_get_codec")] + #[doc(alias = "get_codec")] fn codec(&self) -> Option; #[doc(alias = "gst_player_stream_info_get_index")] + #[doc(alias = "get_index")] fn index(&self) -> i32; #[doc(alias = "gst_player_stream_info_get_stream_type")] + #[doc(alias = "get_stream_type")] fn stream_type(&self) -> glib::GString; #[doc(alias = "gst_player_stream_info_get_tags")] + #[doc(alias = "get_tags")] fn tags(&self) -> Option; } diff --git a/gstreamer-player/src/auto/player_subtitle_info.rs b/gstreamer-player/src/auto/player_subtitle_info.rs index b52ca23e4..06c91253f 100644 --- a/gstreamer-player/src/auto/player_subtitle_info.rs +++ b/gstreamer-player/src/auto/player_subtitle_info.rs @@ -16,6 +16,7 @@ glib::wrapper! { impl PlayerSubtitleInfo { #[doc(alias = "gst_player_subtitle_info_get_language")] + #[doc(alias = "get_language")] pub fn language(&self) -> Option { unsafe { from_glib_none(ffi::gst_player_subtitle_info_get_language( diff --git a/gstreamer-player/src/auto/player_video_info.rs b/gstreamer-player/src/auto/player_video_info.rs index 416c76fad..d31d0bda9 100644 --- a/gstreamer-player/src/auto/player_video_info.rs +++ b/gstreamer-player/src/auto/player_video_info.rs @@ -16,21 +16,25 @@ glib::wrapper! { impl PlayerVideoInfo { #[doc(alias = "gst_player_video_info_get_bitrate")] + #[doc(alias = "get_bitrate")] pub fn bitrate(&self) -> i32 { unsafe { ffi::gst_player_video_info_get_bitrate(self.to_glib_none().0) } } #[doc(alias = "gst_player_video_info_get_height")] + #[doc(alias = "get_height")] pub fn height(&self) -> i32 { unsafe { ffi::gst_player_video_info_get_height(self.to_glib_none().0) } } #[doc(alias = "gst_player_video_info_get_max_bitrate")] + #[doc(alias = "get_max_bitrate")] pub fn max_bitrate(&self) -> i32 { unsafe { ffi::gst_player_video_info_get_max_bitrate(self.to_glib_none().0) } } #[doc(alias = "gst_player_video_info_get_width")] + #[doc(alias = "get_width")] pub fn width(&self) -> i32 { unsafe { ffi::gst_player_video_info_get_width(self.to_glib_none().0) } } diff --git a/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs b/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs index 24d9e1e2f..774188545 100644 --- a/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs +++ b/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs @@ -32,6 +32,7 @@ impl PlayerVideoOverlayVideoRenderer { } #[doc(alias = "gst_player_video_overlay_video_renderer_get_render_rectangle")] + #[doc(alias = "get_render_rectangle")] pub fn render_rectangle(&self) -> (i32, i32, i32, i32) { unsafe { let mut x = mem::MaybeUninit::uninit(); @@ -54,6 +55,7 @@ impl PlayerVideoOverlayVideoRenderer { } //#[doc(alias = "gst_player_video_overlay_video_renderer_get_window_handle")] + //#[doc(alias = "get_window_handle")] //pub fn window_handle(&self) -> /*Unimplemented*/Option { // unsafe { TODO: call ffi:gst_player_video_overlay_video_renderer_get_window_handle() } //} @@ -76,7 +78,7 @@ impl PlayerVideoOverlayVideoRenderer { // unsafe { TODO: call ffi:gst_player_video_overlay_video_renderer_set_window_handle() } //} - #[doc(alias = "get_property_video_sink")] + #[doc(alias = "video-sink")] pub fn video_sink(&self) -> Option { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -91,7 +93,7 @@ impl PlayerVideoOverlayVideoRenderer { } } - #[doc(alias = "set_property_video_sink")] + #[doc(alias = "video-sink")] pub fn set_video_sink>(&self, video_sink: Option<&P>) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -112,7 +114,8 @@ impl PlayerVideoOverlayVideoRenderer { // unsafe { TODO: call ffi:gst_player_video_overlay_video_renderer_new_with_sink() } //} - pub fn connect_property_video_sink_notify< + #[doc(alias = "video-sink")] + pub fn connect_video_sink_notify< F: Fn(&PlayerVideoOverlayVideoRenderer) + Send + Sync + 'static, >( &self, @@ -141,7 +144,8 @@ impl PlayerVideoOverlayVideoRenderer { } } - pub fn connect_property_window_handle_notify< + #[doc(alias = "window-handle")] + pub fn connect_window_handle_notify< F: Fn(&PlayerVideoOverlayVideoRenderer) + Send + Sync + 'static, >( &self, diff --git a/gstreamer-player/src/auto/versions.txt b/gstreamer-player/src/auto/versions.txt index 33aa18251..1ed8d5e7b 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 @ 0516825) +Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-player/sys/build.rs b/gstreamer-player/sys/build.rs index bae1ce3d4..0cbbd0fe4 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-player/sys/src/lib.rs b/gstreamer-player/sys/src/lib.rs index 475fd963a..b3f0042b6 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-player/sys/tests/abi.rs b/gstreamer-player/sys/tests/abi.rs index b1e08d8f6..cd56d3c58 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-player/sys/tests/constant.c b/gstreamer-player/sys/tests/constant.c index 6df723694..bb4f6e06d 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-player/sys/tests/layout.c b/gstreamer-player/sys/tests/layout.c index 980048e07..cbf43a8ad 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtp/src/auto/versions.txt b/gstreamer-rtp/src/auto/versions.txt index 33aa18251..1ed8d5e7b 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 @ 0516825) +Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-rtp/sys/build.rs b/gstreamer-rtp/sys/build.rs index bae1ce3d4..0cbbd0fe4 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtp/sys/src/lib.rs b/gstreamer-rtp/sys/src/lib.rs index c66762382..08895196f 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtp/sys/tests/abi.rs b/gstreamer-rtp/sys/tests/abi.rs index 4b68f608c..90d4b2770 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtp/sys/tests/constant.c b/gstreamer-rtp/sys/tests/constant.c index 030513b5a..8683f7afc 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtp/sys/tests/layout.c b/gstreamer-rtp/sys/tests/layout.c index ba333d7ef..edc030dd3 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/rtsp_auth.rs b/gstreamer-rtsp-server/src/auto/rtsp_auth.rs index f8220e6fd..4065e5d45 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_auth.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_auth.rs @@ -71,25 +71,31 @@ pub trait RTSPAuthExt: 'static { fn add_digest(&self, user: &str, pass: &str, token: &RTSPToken); #[doc(alias = "gst_rtsp_auth_get_default_token")] + #[doc(alias = "get_default_token")] fn default_token(&self) -> Option; #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] #[doc(alias = "gst_rtsp_auth_get_realm")] + #[doc(alias = "get_realm")] fn realm(&self) -> Option; #[cfg(any(feature = "v1_12", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))] #[doc(alias = "gst_rtsp_auth_get_supported_methods")] + #[doc(alias = "get_supported_methods")] fn supported_methods(&self) -> gst_rtsp::RTSPAuthMethod; #[doc(alias = "gst_rtsp_auth_get_tls_authentication_mode")] + #[doc(alias = "get_tls_authentication_mode")] fn tls_authentication_mode(&self) -> gio::TlsAuthenticationMode; #[doc(alias = "gst_rtsp_auth_get_tls_certificate")] + #[doc(alias = "get_tls_certificate")] fn tls_certificate(&self) -> Option; #[doc(alias = "gst_rtsp_auth_get_tls_database")] + #[doc(alias = "get_tls_database")] fn tls_database(&self) -> Option; #[cfg(any(feature = "v1_16", feature = "dox"))] @@ -124,6 +130,7 @@ pub trait RTSPAuthExt: 'static { #[doc(alias = "gst_rtsp_auth_set_tls_database")] fn set_tls_database>(&self, database: Option<&P>); + #[doc(alias = "accept-certificate")] fn connect_accept_certificate< F: Fn(&Self, &gio::TlsConnection, &gio::TlsCertificate, gio::TlsCertificateFlags) -> bool + Send @@ -279,6 +286,7 @@ impl> RTSPAuthExt for O { } } + #[doc(alias = "accept-certificate")] fn connect_accept_certificate< F: Fn(&Self, &gio::TlsConnection, &gio::TlsCertificate, gio::TlsCertificateFlags) -> bool + Send diff --git a/gstreamer-rtsp-server/src/auto/rtsp_client.rs b/gstreamer-rtsp-server/src/auto/rtsp_client.rs index 0c0b31445..e352bd250 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_client.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_client.rs @@ -55,28 +55,35 @@ pub trait RTSPClientExt: 'static { fn close(&self); #[doc(alias = "gst_rtsp_client_get_auth")] + #[doc(alias = "get_auth")] fn auth(&self) -> Option; //#[doc(alias = "gst_rtsp_client_get_connection")] + //#[doc(alias = "get_connection")] //fn connection(&self) -> /*Ignored*/Option; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "gst_rtsp_client_get_content_length_limit")] + #[doc(alias = "get_content_length_limit")] fn content_length_limit(&self) -> u32; #[doc(alias = "gst_rtsp_client_get_mount_points")] + #[doc(alias = "get_mount_points")] fn mount_points(&self) -> Option; #[doc(alias = "gst_rtsp_client_get_session_pool")] + #[doc(alias = "get_session_pool")] fn session_pool(&self) -> Option; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "gst_rtsp_client_get_stream_transport")] + #[doc(alias = "get_stream_transport")] fn stream_transport(&self, channel: u8) -> Option; #[doc(alias = "gst_rtsp_client_get_thread_pool")] + #[doc(alias = "get_thread_pool")] fn thread_pool(&self) -> Option; //#[doc(alias = "gst_rtsp_client_handle_message")] @@ -119,57 +126,67 @@ pub trait RTSPClientExt: 'static { #[doc(alias = "gst_rtsp_client_set_thread_pool")] fn set_thread_pool>(&self, pool: Option<&P>); - #[doc(alias = "get_property_drop_backlog")] + #[doc(alias = "drop-backlog")] fn is_drop_backlog(&self) -> bool; - #[doc(alias = "set_property_drop_backlog")] + #[doc(alias = "drop-backlog")] fn set_drop_backlog(&self, drop_backlog: bool); - #[doc(alias = "get_property_post_session_timeout")] + #[doc(alias = "post-session-timeout")] fn post_session_timeout(&self) -> i32; - #[doc(alias = "set_property_post_session_timeout")] + #[doc(alias = "post-session-timeout")] fn set_post_session_timeout(&self, post_session_timeout: i32); + #[doc(alias = "announce-request")] fn connect_announce_request( &self, f: F, ) -> SignalHandlerId; + //#[doc(alias = "check-requirements")] //fn connect_check_requirements(&self, f: F) -> SignalHandlerId; + #[doc(alias = "closed")] fn connect_closed(&self, f: F) -> SignalHandlerId; + #[doc(alias = "describe-request")] fn connect_describe_request( &self, f: F, ) -> SignalHandlerId; + #[doc(alias = "get-parameter-request")] fn connect_get_parameter_request( &self, f: F, ) -> SignalHandlerId; + #[doc(alias = "handle-response")] fn connect_handle_response( &self, f: F, ) -> SignalHandlerId; + #[doc(alias = "new-session")] fn connect_new_session( &self, f: F, ) -> SignalHandlerId; + #[doc(alias = "options-request")] fn connect_options_request( &self, f: F, ) -> SignalHandlerId; + #[doc(alias = "pause-request")] fn connect_pause_request( &self, f: F, ) -> SignalHandlerId; + #[doc(alias = "play-request")] fn connect_play_request( &self, f: F, @@ -177,6 +194,7 @@ pub trait RTSPClientExt: 'static { #[cfg(any(feature = "v1_12", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))] + #[doc(alias = "pre-announce-request")] fn connect_pre_announce_request< F: Fn(&Self, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static, >( @@ -186,6 +204,7 @@ pub trait RTSPClientExt: 'static { #[cfg(any(feature = "v1_12", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))] + #[doc(alias = "pre-describe-request")] fn connect_pre_describe_request< F: Fn(&Self, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static, >( @@ -195,6 +214,7 @@ pub trait RTSPClientExt: 'static { #[cfg(any(feature = "v1_12", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))] + #[doc(alias = "pre-get-parameter-request")] fn connect_pre_get_parameter_request< F: Fn(&Self, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static, >( @@ -204,6 +224,7 @@ pub trait RTSPClientExt: 'static { #[cfg(any(feature = "v1_12", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))] + #[doc(alias = "pre-options-request")] fn connect_pre_options_request< F: Fn(&Self, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static, >( @@ -213,6 +234,7 @@ pub trait RTSPClientExt: 'static { #[cfg(any(feature = "v1_12", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))] + #[doc(alias = "pre-pause-request")] fn connect_pre_pause_request< F: Fn(&Self, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static, >( @@ -222,6 +244,7 @@ pub trait RTSPClientExt: 'static { #[cfg(any(feature = "v1_12", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))] + #[doc(alias = "pre-play-request")] fn connect_pre_play_request< F: Fn(&Self, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static, >( @@ -231,6 +254,7 @@ pub trait RTSPClientExt: 'static { #[cfg(any(feature = "v1_12", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))] + #[doc(alias = "pre-record-request")] fn connect_pre_record_request< F: Fn(&Self, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static, >( @@ -240,6 +264,7 @@ pub trait RTSPClientExt: 'static { #[cfg(any(feature = "v1_12", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))] + #[doc(alias = "pre-set-parameter-request")] fn connect_pre_set_parameter_request< F: Fn(&Self, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static, >( @@ -249,6 +274,7 @@ pub trait RTSPClientExt: 'static { #[cfg(any(feature = "v1_12", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))] + #[doc(alias = "pre-setup-request")] fn connect_pre_setup_request< F: Fn(&Self, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static, >( @@ -258,6 +284,7 @@ pub trait RTSPClientExt: 'static { #[cfg(any(feature = "v1_12", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))] + #[doc(alias = "pre-teardown-request")] fn connect_pre_teardown_request< F: Fn(&Self, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static, >( @@ -265,44 +292,53 @@ pub trait RTSPClientExt: 'static { f: F, ) -> SignalHandlerId; + #[doc(alias = "record-request")] fn connect_record_request( &self, f: F, ) -> SignalHandlerId; + //#[doc(alias = "send-message")] //fn connect_send_message(&self, f: F) -> SignalHandlerId; + #[doc(alias = "set-parameter-request")] fn connect_set_parameter_request( &self, f: F, ) -> SignalHandlerId; + #[doc(alias = "setup-request")] fn connect_setup_request( &self, f: F, ) -> SignalHandlerId; + #[doc(alias = "teardown-request")] fn connect_teardown_request( &self, f: F, ) -> SignalHandlerId; - fn connect_property_drop_backlog_notify( + #[doc(alias = "drop-backlog")] + fn connect_drop_backlog_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_mount_points_notify( + #[doc(alias = "mount-points")] + fn connect_mount_points_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_post_session_timeout_notify( + #[doc(alias = "post-session-timeout")] + fn connect_post_session_timeout_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_session_pool_notify( + #[doc(alias = "session-pool")] + fn connect_session_pool_notify( &self, f: F, ) -> SignalHandlerId; @@ -523,6 +559,7 @@ impl> RTSPClientExt for O { } } + #[doc(alias = "announce-request")] fn connect_announce_request( &self, f: F, @@ -556,10 +593,12 @@ impl> RTSPClientExt for O { } } + //#[doc(alias = "check-requirements")] //fn connect_check_requirements(&self, f: F) -> SignalHandlerId { // Empty ctype arr: *.CArray TypeId { ns_id: 0, id: 28 } //} + #[doc(alias = "closed")] fn connect_closed(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn closed_trampoline( this: *mut ffi::GstRTSPClient, @@ -583,6 +622,7 @@ impl> RTSPClientExt for O { } } + #[doc(alias = "describe-request")] fn connect_describe_request( &self, f: F, @@ -616,6 +656,7 @@ impl> RTSPClientExt for O { } } + #[doc(alias = "get-parameter-request")] fn connect_get_parameter_request( &self, f: F, @@ -649,6 +690,7 @@ impl> RTSPClientExt for O { } } + #[doc(alias = "handle-response")] fn connect_handle_response( &self, f: F, @@ -682,6 +724,7 @@ impl> RTSPClientExt for O { } } + #[doc(alias = "new-session")] fn connect_new_session( &self, f: F, @@ -715,6 +758,7 @@ impl> RTSPClientExt for O { } } + #[doc(alias = "options-request")] fn connect_options_request( &self, f: F, @@ -748,6 +792,7 @@ impl> RTSPClientExt for O { } } + #[doc(alias = "pause-request")] fn connect_pause_request( &self, f: F, @@ -781,6 +826,7 @@ impl> RTSPClientExt for O { } } + #[doc(alias = "play-request")] fn connect_play_request( &self, f: F, @@ -816,6 +862,7 @@ impl> RTSPClientExt for O { #[cfg(any(feature = "v1_12", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))] + #[doc(alias = "pre-announce-request")] fn connect_pre_announce_request< F: Fn(&Self, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static, >( @@ -855,6 +902,7 @@ impl> RTSPClientExt for O { #[cfg(any(feature = "v1_12", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))] + #[doc(alias = "pre-describe-request")] fn connect_pre_describe_request< F: Fn(&Self, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static, >( @@ -894,6 +942,7 @@ impl> RTSPClientExt for O { #[cfg(any(feature = "v1_12", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))] + #[doc(alias = "pre-get-parameter-request")] fn connect_pre_get_parameter_request< F: Fn(&Self, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static, >( @@ -933,6 +982,7 @@ impl> RTSPClientExt for O { #[cfg(any(feature = "v1_12", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))] + #[doc(alias = "pre-options-request")] fn connect_pre_options_request< F: Fn(&Self, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static, >( @@ -972,6 +1022,7 @@ impl> RTSPClientExt for O { #[cfg(any(feature = "v1_12", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))] + #[doc(alias = "pre-pause-request")] fn connect_pre_pause_request< F: Fn(&Self, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static, >( @@ -1011,6 +1062,7 @@ impl> RTSPClientExt for O { #[cfg(any(feature = "v1_12", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))] + #[doc(alias = "pre-play-request")] fn connect_pre_play_request< F: Fn(&Self, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static, >( @@ -1050,6 +1102,7 @@ impl> RTSPClientExt for O { #[cfg(any(feature = "v1_12", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))] + #[doc(alias = "pre-record-request")] fn connect_pre_record_request< F: Fn(&Self, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static, >( @@ -1089,6 +1142,7 @@ impl> RTSPClientExt for O { #[cfg(any(feature = "v1_12", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))] + #[doc(alias = "pre-set-parameter-request")] fn connect_pre_set_parameter_request< F: Fn(&Self, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static, >( @@ -1128,6 +1182,7 @@ impl> RTSPClientExt for O { #[cfg(any(feature = "v1_12", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))] + #[doc(alias = "pre-setup-request")] fn connect_pre_setup_request< F: Fn(&Self, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static, >( @@ -1167,6 +1222,7 @@ impl> RTSPClientExt for O { #[cfg(any(feature = "v1_12", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))] + #[doc(alias = "pre-teardown-request")] fn connect_pre_teardown_request< F: Fn(&Self, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static, >( @@ -1204,6 +1260,7 @@ impl> RTSPClientExt for O { } } + #[doc(alias = "record-request")] fn connect_record_request( &self, f: F, @@ -1237,10 +1294,12 @@ impl> RTSPClientExt for O { } } + //#[doc(alias = "send-message")] //fn connect_send_message(&self, f: F) -> SignalHandlerId { // Ignored message: GstRtsp.RTSPMessage //} + #[doc(alias = "set-parameter-request")] fn connect_set_parameter_request( &self, f: F, @@ -1274,6 +1333,7 @@ impl> RTSPClientExt for O { } } + #[doc(alias = "setup-request")] fn connect_setup_request( &self, f: F, @@ -1307,6 +1367,7 @@ impl> RTSPClientExt for O { } } + #[doc(alias = "teardown-request")] fn connect_teardown_request( &self, f: F, @@ -1340,7 +1401,8 @@ impl> RTSPClientExt for O { } } - fn connect_property_drop_backlog_notify( + #[doc(alias = "drop-backlog")] + fn connect_drop_backlog_notify( &self, f: F, ) -> SignalHandlerId { @@ -1367,7 +1429,8 @@ impl> RTSPClientExt for O { } } - fn connect_property_mount_points_notify( + #[doc(alias = "mount-points")] + fn connect_mount_points_notify( &self, f: F, ) -> SignalHandlerId { @@ -1394,7 +1457,8 @@ impl> RTSPClientExt for O { } } - fn connect_property_post_session_timeout_notify( + #[doc(alias = "post-session-timeout")] + fn connect_post_session_timeout_notify( &self, f: F, ) -> SignalHandlerId { @@ -1424,7 +1488,8 @@ impl> RTSPClientExt for O { } } - fn connect_property_session_pool_notify( + #[doc(alias = "session-pool")] + fn connect_session_pool_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-rtsp-server/src/auto/rtsp_media.rs b/gstreamer-rtsp-server/src/auto/rtsp_media.rs index 3ba84a317..d7dc2b8a4 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_media.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_media.rs @@ -65,82 +65,105 @@ pub trait RTSPMediaExt: 'static { fn find_stream(&self, control: &str) -> Option; #[doc(alias = "gst_rtsp_media_get_address_pool")] + #[doc(alias = "get_address_pool")] fn address_pool(&self) -> Option; #[doc(alias = "gst_rtsp_media_get_base_time")] + #[doc(alias = "get_base_time")] fn base_time(&self) -> gst::ClockTime; #[doc(alias = "gst_rtsp_media_get_buffer_size")] + #[doc(alias = "get_buffer_size")] fn buffer_size(&self) -> u32; #[doc(alias = "gst_rtsp_media_get_clock")] + #[doc(alias = "get_clock")] fn clock(&self) -> Option; #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] #[doc(alias = "gst_rtsp_media_get_do_retransmission")] + #[doc(alias = "get_do_retransmission")] fn does_retransmission(&self) -> bool; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "gst_rtsp_media_get_dscp_qos")] + #[doc(alias = "get_dscp_qos")] fn dscp_qos(&self) -> i32; #[doc(alias = "gst_rtsp_media_get_element")] + #[doc(alias = "get_element")] fn element(&self) -> Option; #[doc(alias = "gst_rtsp_media_get_latency")] + #[doc(alias = "get_latency")] fn latency(&self) -> u32; #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] #[doc(alias = "gst_rtsp_media_get_max_mcast_ttl")] + #[doc(alias = "get_max_mcast_ttl")] fn max_mcast_ttl(&self) -> u32; #[doc(alias = "gst_rtsp_media_get_multicast_iface")] + #[doc(alias = "get_multicast_iface")] fn multicast_iface(&self) -> Option; //#[doc(alias = "gst_rtsp_media_get_permissions")] + //#[doc(alias = "get_permissions")] //fn permissions(&self) -> /*Ignored*/Option; #[doc(alias = "gst_rtsp_media_get_profiles")] + #[doc(alias = "get_profiles")] fn profiles(&self) -> gst_rtsp::RTSPProfile; #[doc(alias = "gst_rtsp_media_get_protocols")] + #[doc(alias = "get_protocols")] fn protocols(&self) -> gst_rtsp::RTSPLowerTrans; #[doc(alias = "gst_rtsp_media_get_publish_clock_mode")] + #[doc(alias = "get_publish_clock_mode")] fn publish_clock_mode(&self) -> RTSPPublishClockMode; #[doc(alias = "gst_rtsp_media_get_range_string")] + #[doc(alias = "get_range_string")] fn range_string(&self, play: bool, unit: gst_rtsp::RTSPRangeUnit) -> Option; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "gst_rtsp_media_get_rate_control")] + #[doc(alias = "get_rate_control")] fn is_rate_control(&self) -> bool; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "gst_rtsp_media_get_rates")] + #[doc(alias = "get_rates")] fn rates(&self) -> Option<(f64, f64)>; #[doc(alias = "gst_rtsp_media_get_retransmission_time")] + #[doc(alias = "get_retransmission_time")] fn retransmission_time(&self) -> gst::ClockTime; #[doc(alias = "gst_rtsp_media_get_status")] + #[doc(alias = "get_status")] fn status(&self) -> RTSPMediaStatus; #[doc(alias = "gst_rtsp_media_get_stream")] + #[doc(alias = "get_stream")] fn stream(&self, idx: u32) -> Option; #[doc(alias = "gst_rtsp_media_get_suspend_mode")] + #[doc(alias = "get_suspend_mode")] fn suspend_mode(&self) -> RTSPSuspendMode; //#[doc(alias = "gst_rtsp_media_get_time_provider")] + //#[doc(alias = "get_time_provider")] //fn time_provider(&self, address: Option<&str>, port: u16) -> /*Ignored*/Option; #[doc(alias = "gst_rtsp_media_get_transport_mode")] + #[doc(alias = "get_transport_mode")] fn transport_mode(&self) -> RTSPTransportMode; //#[doc(alias = "gst_rtsp_media_handle_sdp")] @@ -304,114 +327,133 @@ pub trait RTSPMediaExt: 'static { #[doc(alias = "gst_rtsp_media_use_time_provider")] fn use_time_provider(&self, time_provider: bool); + #[doc(alias = "bind-mcast-address")] fn get_property_bind_mcast_address(&self) -> bool; + #[doc(alias = "bind-mcast-address")] fn set_property_bind_mcast_address(&self, bind_mcast_address: bool); + #[doc(alias = "dscp-qos")] fn get_property_dscp_qos(&self) -> i32; + #[doc(alias = "dscp-qos")] fn set_property_dscp_qos(&self, dscp_qos: i32); + #[doc(alias = "max-mcast-ttl")] fn get_property_max_mcast_ttl(&self) -> u32; + #[doc(alias = "max-mcast-ttl")] fn set_property_max_mcast_ttl(&self, max_mcast_ttl: u32); - #[doc(alias = "set_property_time_provider")] + #[doc(alias = "time-provider")] fn set_time_provider(&self, time_provider: bool); + #[doc(alias = "new-state")] fn connect_new_state(&self, f: F) -> SignalHandlerId; + #[doc(alias = "new-stream")] fn connect_new_stream( &self, f: F, ) -> SignalHandlerId; + #[doc(alias = "prepared")] fn connect_prepared(&self, f: F) -> SignalHandlerId; + #[doc(alias = "removed-stream")] fn connect_removed_stream( &self, f: F, ) -> SignalHandlerId; + #[doc(alias = "target-state")] fn connect_target_state( &self, f: F, ) -> SignalHandlerId; + #[doc(alias = "unprepared")] fn connect_unprepared(&self, f: F) -> SignalHandlerId; - fn connect_property_bind_mcast_address_notify( + #[doc(alias = "bind-mcast-address")] + fn connect_bind_mcast_address_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_buffer_size_notify( + #[doc(alias = "buffer-size")] + fn connect_buffer_size_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_clock_notify( + #[doc(alias = "clock")] + fn connect_clock_notify(&self, f: F) -> SignalHandlerId; + + #[doc(alias = "dscp-qos")] + fn connect_dscp_qos_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_dscp_qos_notify( + #[doc(alias = "eos-shutdown")] + fn connect_eos_shutdown_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_eos_shutdown_notify( + #[doc(alias = "latency")] + fn connect_latency_notify(&self, f: F) + -> SignalHandlerId; + + #[doc(alias = "max-mcast-ttl")] + fn connect_max_mcast_ttl_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_latency_notify( + #[doc(alias = "profiles")] + fn connect_profiles_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_max_mcast_ttl_notify( + #[doc(alias = "protocols")] + fn connect_protocols_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_profiles_notify( + #[doc(alias = "reusable")] + fn connect_reusable_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_protocols_notify( + #[doc(alias = "shared")] + fn connect_shared_notify(&self, f: F) -> SignalHandlerId; + + #[doc(alias = "stop-on-disconnect")] + fn connect_stop_on_disconnect_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_reusable_notify( + #[doc(alias = "suspend-mode")] + fn connect_suspend_mode_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_shared_notify( + #[doc(alias = "time-provider")] + fn connect_time_provider_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_stop_on_disconnect_notify( - &self, - f: F, - ) -> SignalHandlerId; - - fn connect_property_suspend_mode_notify( - &self, - f: F, - ) -> SignalHandlerId; - - fn connect_property_time_provider_notify( - &self, - f: F, - ) -> SignalHandlerId; - - fn connect_property_transport_mode_notify( + #[doc(alias = "transport-mode")] + fn connect_transport_mode_notify( &self, f: F, ) -> SignalHandlerId; @@ -1076,6 +1118,7 @@ impl> RTSPMediaExt for O { } } + #[doc(alias = "new-state")] fn connect_new_state( &self, f: F, @@ -1103,6 +1146,7 @@ impl> RTSPMediaExt for O { } } + #[doc(alias = "new-stream")] fn connect_new_stream( &self, f: F, @@ -1136,6 +1180,7 @@ impl> RTSPMediaExt for O { } } + #[doc(alias = "prepared")] fn connect_prepared(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn prepared_trampoline( this: *mut ffi::GstRTSPMedia, @@ -1159,6 +1204,7 @@ impl> RTSPMediaExt for O { } } + #[doc(alias = "removed-stream")] fn connect_removed_stream( &self, f: F, @@ -1192,6 +1238,7 @@ impl> RTSPMediaExt for O { } } + #[doc(alias = "target-state")] fn connect_target_state( &self, f: F, @@ -1219,6 +1266,7 @@ impl> RTSPMediaExt for O { } } + #[doc(alias = "unprepared")] fn connect_unprepared(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn unprepared_trampoline( this: *mut ffi::GstRTSPMedia, @@ -1242,7 +1290,8 @@ impl> RTSPMediaExt for O { } } - fn connect_property_bind_mcast_address_notify( + #[doc(alias = "bind-mcast-address")] + fn connect_bind_mcast_address_notify( &self, f: F, ) -> SignalHandlerId { @@ -1272,7 +1321,8 @@ impl> RTSPMediaExt for O { } } - fn connect_property_buffer_size_notify( + #[doc(alias = "buffer-size")] + fn connect_buffer_size_notify( &self, f: F, ) -> SignalHandlerId { @@ -1299,10 +1349,8 @@ impl> RTSPMediaExt for O { } } - fn connect_property_clock_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "clock")] + fn connect_clock_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_clock_trampoline( this: *mut ffi::GstRTSPMedia, _param_spec: glib::ffi::gpointer, @@ -1326,7 +1374,8 @@ impl> RTSPMediaExt for O { } } - fn connect_property_dscp_qos_notify( + #[doc(alias = "dscp-qos")] + fn connect_dscp_qos_notify( &self, f: F, ) -> SignalHandlerId { @@ -1353,7 +1402,8 @@ impl> RTSPMediaExt for O { } } - fn connect_property_eos_shutdown_notify( + #[doc(alias = "eos-shutdown")] + fn connect_eos_shutdown_notify( &self, f: F, ) -> SignalHandlerId { @@ -1380,7 +1430,8 @@ impl> RTSPMediaExt for O { } } - fn connect_property_latency_notify( + #[doc(alias = "latency")] + fn connect_latency_notify( &self, f: F, ) -> SignalHandlerId { @@ -1407,7 +1458,8 @@ impl> RTSPMediaExt for O { } } - fn connect_property_max_mcast_ttl_notify( + #[doc(alias = "max-mcast-ttl")] + fn connect_max_mcast_ttl_notify( &self, f: F, ) -> SignalHandlerId { @@ -1434,7 +1486,8 @@ impl> RTSPMediaExt for O { } } - fn connect_property_profiles_notify( + #[doc(alias = "profiles")] + fn connect_profiles_notify( &self, f: F, ) -> SignalHandlerId { @@ -1461,7 +1514,8 @@ impl> RTSPMediaExt for O { } } - fn connect_property_protocols_notify( + #[doc(alias = "protocols")] + fn connect_protocols_notify( &self, f: F, ) -> SignalHandlerId { @@ -1488,7 +1542,8 @@ impl> RTSPMediaExt for O { } } - fn connect_property_reusable_notify( + #[doc(alias = "reusable")] + fn connect_reusable_notify( &self, f: F, ) -> SignalHandlerId { @@ -1515,10 +1570,8 @@ impl> RTSPMediaExt for O { } } - fn connect_property_shared_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "shared")] + fn connect_shared_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_shared_trampoline( this: *mut ffi::GstRTSPMedia, _param_spec: glib::ffi::gpointer, @@ -1542,7 +1595,8 @@ impl> RTSPMediaExt for O { } } - fn connect_property_stop_on_disconnect_notify( + #[doc(alias = "stop-on-disconnect")] + fn connect_stop_on_disconnect_notify( &self, f: F, ) -> SignalHandlerId { @@ -1572,7 +1626,8 @@ impl> RTSPMediaExt for O { } } - fn connect_property_suspend_mode_notify( + #[doc(alias = "suspend-mode")] + fn connect_suspend_mode_notify( &self, f: F, ) -> SignalHandlerId { @@ -1599,7 +1654,8 @@ impl> RTSPMediaExt for O { } } - fn connect_property_time_provider_notify( + #[doc(alias = "time-provider")] + fn connect_time_provider_notify( &self, f: F, ) -> SignalHandlerId { @@ -1626,7 +1682,8 @@ impl> RTSPMediaExt for O { } } - fn connect_property_transport_mode_notify( + #[doc(alias = "transport-mode")] + fn connect_transport_mode_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-rtsp-server/src/auto/rtsp_media_factory.rs b/gstreamer-rtsp-server/src/auto/rtsp_media_factory.rs index 65cda552d..564543591 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_media_factory.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_media_factory.rs @@ -56,60 +56,77 @@ pub trait RTSPMediaFactoryExt: 'static { fn create_element(&self, url: &gst_rtsp::RTSPUrl) -> Result; #[doc(alias = "gst_rtsp_media_factory_get_address_pool")] + #[doc(alias = "get_address_pool")] fn address_pool(&self) -> Option; #[doc(alias = "gst_rtsp_media_factory_get_buffer_size")] + #[doc(alias = "get_buffer_size")] fn buffer_size(&self) -> u32; #[doc(alias = "gst_rtsp_media_factory_get_clock")] + #[doc(alias = "get_clock")] fn clock(&self) -> Option; #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] #[doc(alias = "gst_rtsp_media_factory_get_do_retransmission")] + #[doc(alias = "get_do_retransmission")] fn does_retransmission(&self) -> bool; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "gst_rtsp_media_factory_get_dscp_qos")] + #[doc(alias = "get_dscp_qos")] fn dscp_qos(&self) -> i32; #[doc(alias = "gst_rtsp_media_factory_get_latency")] + #[doc(alias = "get_latency")] fn latency(&self) -> u32; #[doc(alias = "gst_rtsp_media_factory_get_launch")] + #[doc(alias = "get_launch")] fn launch(&self) -> Option; #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] #[doc(alias = "gst_rtsp_media_factory_get_max_mcast_ttl")] + #[doc(alias = "get_max_mcast_ttl")] fn max_mcast_ttl(&self) -> u32; #[doc(alias = "gst_rtsp_media_factory_get_media_gtype")] + #[doc(alias = "get_media_gtype")] fn media_gtype(&self) -> glib::types::Type; #[doc(alias = "gst_rtsp_media_factory_get_multicast_iface")] + #[doc(alias = "get_multicast_iface")] fn multicast_iface(&self) -> Option; //#[doc(alias = "gst_rtsp_media_factory_get_permissions")] + //#[doc(alias = "get_permissions")] //fn permissions(&self) -> /*Ignored*/Option; #[doc(alias = "gst_rtsp_media_factory_get_profiles")] + #[doc(alias = "get_profiles")] fn profiles(&self) -> gst_rtsp::RTSPProfile; #[doc(alias = "gst_rtsp_media_factory_get_protocols")] + #[doc(alias = "get_protocols")] fn protocols(&self) -> gst_rtsp::RTSPLowerTrans; #[doc(alias = "gst_rtsp_media_factory_get_publish_clock_mode")] + #[doc(alias = "get_publish_clock_mode")] fn publish_clock_mode(&self) -> RTSPPublishClockMode; #[doc(alias = "gst_rtsp_media_factory_get_retransmission_time")] + #[doc(alias = "get_retransmission_time")] fn retransmission_time(&self) -> gst::ClockTime; #[doc(alias = "gst_rtsp_media_factory_get_suspend_mode")] + #[doc(alias = "get_suspend_mode")] fn suspend_mode(&self) -> RTSPSuspendMode; #[doc(alias = "gst_rtsp_media_factory_get_transport_mode")] + #[doc(alias = "get_transport_mode")] fn transport_mode(&self) -> RTSPTransportMode; #[cfg(any(feature = "v1_16", feature = "dox"))] @@ -197,97 +214,108 @@ pub trait RTSPMediaFactoryExt: 'static { #[doc(alias = "gst_rtsp_media_factory_set_transport_mode")] fn set_transport_mode(&self, mode: RTSPTransportMode); + #[doc(alias = "bind-mcast-address")] fn get_property_bind_mcast_address(&self) -> bool; + #[doc(alias = "bind-mcast-address")] fn set_property_bind_mcast_address(&self, bind_mcast_address: bool); + #[doc(alias = "dscp-qos")] fn get_property_dscp_qos(&self) -> i32; + #[doc(alias = "dscp-qos")] fn set_property_dscp_qos(&self, dscp_qos: i32); + #[doc(alias = "max-mcast-ttl")] fn get_property_max_mcast_ttl(&self) -> u32; + #[doc(alias = "max-mcast-ttl")] fn set_property_max_mcast_ttl(&self, max_mcast_ttl: u32); - #[doc(alias = "get_property_stop_on_disconnect")] + #[doc(alias = "stop-on-disconnect")] fn is_stop_on_disconnect(&self) -> bool; + #[doc(alias = "media-configure")] fn connect_media_configure( &self, f: F, ) -> SignalHandlerId; + #[doc(alias = "media-constructed")] fn connect_media_constructed( &self, f: F, ) -> SignalHandlerId; - fn connect_property_bind_mcast_address_notify( + #[doc(alias = "bind-mcast-address")] + fn connect_bind_mcast_address_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_buffer_size_notify( + #[doc(alias = "buffer-size")] + fn connect_buffer_size_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_clock_notify( + #[doc(alias = "clock")] + fn connect_clock_notify(&self, f: F) -> SignalHandlerId; + + #[doc(alias = "dscp-qos")] + fn connect_dscp_qos_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_dscp_qos_notify( + #[doc(alias = "eos-shutdown")] + fn connect_eos_shutdown_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_eos_shutdown_notify( + #[doc(alias = "latency")] + fn connect_latency_notify(&self, f: F) + -> SignalHandlerId; + + #[doc(alias = "launch")] + fn connect_launch_notify(&self, f: F) -> SignalHandlerId; + + #[doc(alias = "max-mcast-ttl")] + fn connect_max_mcast_ttl_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_latency_notify( + #[doc(alias = "profiles")] + fn connect_profiles_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_launch_notify( + #[doc(alias = "protocols")] + fn connect_protocols_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_max_mcast_ttl_notify( + #[doc(alias = "shared")] + fn connect_shared_notify(&self, f: F) -> SignalHandlerId; + + #[doc(alias = "stop-on-disconnect")] + fn connect_stop_on_disconnect_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_profiles_notify( + #[doc(alias = "suspend-mode")] + fn connect_suspend_mode_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_protocols_notify( - &self, - f: F, - ) -> SignalHandlerId; - - fn connect_property_shared_notify( - &self, - f: F, - ) -> SignalHandlerId; - - fn connect_property_stop_on_disconnect_notify( - &self, - f: F, - ) -> SignalHandlerId; - - fn connect_property_suspend_mode_notify( - &self, - f: F, - ) -> SignalHandlerId; - - fn connect_property_transport_mode_notify( + #[doc(alias = "transport-mode")] + fn connect_transport_mode_notify( &self, f: F, ) -> SignalHandlerId; @@ -743,6 +771,7 @@ impl> RTSPMediaFactoryExt for O { } } + #[doc(alias = "media-configure")] fn connect_media_configure( &self, f: F, @@ -776,6 +805,7 @@ impl> RTSPMediaFactoryExt for O { } } + #[doc(alias = "media-constructed")] fn connect_media_constructed( &self, f: F, @@ -809,7 +839,8 @@ impl> RTSPMediaFactoryExt for O { } } - fn connect_property_bind_mcast_address_notify( + #[doc(alias = "bind-mcast-address")] + fn connect_bind_mcast_address_notify( &self, f: F, ) -> SignalHandlerId { @@ -839,7 +870,8 @@ impl> RTSPMediaFactoryExt for O { } } - fn connect_property_buffer_size_notify( + #[doc(alias = "buffer-size")] + fn connect_buffer_size_notify( &self, f: F, ) -> SignalHandlerId { @@ -866,10 +898,8 @@ impl> RTSPMediaFactoryExt for O { } } - fn connect_property_clock_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "clock")] + fn connect_clock_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_clock_trampoline( this: *mut ffi::GstRTSPMediaFactory, _param_spec: glib::ffi::gpointer, @@ -893,7 +923,8 @@ impl> RTSPMediaFactoryExt for O { } } - fn connect_property_dscp_qos_notify( + #[doc(alias = "dscp-qos")] + fn connect_dscp_qos_notify( &self, f: F, ) -> SignalHandlerId { @@ -920,7 +951,8 @@ impl> RTSPMediaFactoryExt for O { } } - fn connect_property_eos_shutdown_notify( + #[doc(alias = "eos-shutdown")] + fn connect_eos_shutdown_notify( &self, f: F, ) -> SignalHandlerId { @@ -947,7 +979,8 @@ impl> RTSPMediaFactoryExt for O { } } - fn connect_property_latency_notify( + #[doc(alias = "latency")] + fn connect_latency_notify( &self, f: F, ) -> SignalHandlerId { @@ -974,10 +1007,8 @@ impl> RTSPMediaFactoryExt for O { } } - fn connect_property_launch_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "launch")] + fn connect_launch_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_launch_trampoline( this: *mut ffi::GstRTSPMediaFactory, _param_spec: glib::ffi::gpointer, @@ -1001,7 +1032,8 @@ impl> RTSPMediaFactoryExt for O { } } - fn connect_property_max_mcast_ttl_notify( + #[doc(alias = "max-mcast-ttl")] + fn connect_max_mcast_ttl_notify( &self, f: F, ) -> SignalHandlerId { @@ -1028,7 +1060,8 @@ impl> RTSPMediaFactoryExt for O { } } - fn connect_property_profiles_notify( + #[doc(alias = "profiles")] + fn connect_profiles_notify( &self, f: F, ) -> SignalHandlerId { @@ -1055,7 +1088,8 @@ impl> RTSPMediaFactoryExt for O { } } - fn connect_property_protocols_notify( + #[doc(alias = "protocols")] + fn connect_protocols_notify( &self, f: F, ) -> SignalHandlerId { @@ -1082,10 +1116,8 @@ impl> RTSPMediaFactoryExt for O { } } - fn connect_property_shared_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "shared")] + fn connect_shared_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_shared_trampoline( this: *mut ffi::GstRTSPMediaFactory, _param_spec: glib::ffi::gpointer, @@ -1109,7 +1141,8 @@ impl> RTSPMediaFactoryExt for O { } } - fn connect_property_stop_on_disconnect_notify( + #[doc(alias = "stop-on-disconnect")] + fn connect_stop_on_disconnect_notify( &self, f: F, ) -> SignalHandlerId { @@ -1139,7 +1172,8 @@ impl> RTSPMediaFactoryExt for O { } } - fn connect_property_suspend_mode_notify( + #[doc(alias = "suspend-mode")] + fn connect_suspend_mode_notify( &self, f: F, ) -> SignalHandlerId { @@ -1166,7 +1200,8 @@ impl> RTSPMediaFactoryExt for O { } } - fn connect_property_transport_mode_notify( + #[doc(alias = "transport-mode")] + fn connect_transport_mode_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-rtsp-server/src/auto/rtsp_media_factory_uri.rs b/gstreamer-rtsp-server/src/auto/rtsp_media_factory_uri.rs index 10bc4b7e2..4fe191734 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_media_factory_uri.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_media_factory_uri.rs @@ -43,23 +43,23 @@ pub const NONE_RTSP_MEDIA_FACTORY_URI: Option<&RTSPMediaFactoryURI> = None; pub trait RTSPMediaFactoryURIExt: 'static { #[doc(alias = "gst_rtsp_media_factory_uri_get_uri")] + #[doc(alias = "get_uri")] fn uri(&self) -> Option; #[doc(alias = "gst_rtsp_media_factory_uri_set_uri")] fn set_uri(&self, uri: &str); - #[doc(alias = "get_property_use_gstpay")] + #[doc(alias = "use-gstpay")] fn uses_gstpay(&self) -> bool; - #[doc(alias = "set_property_use_gstpay")] + #[doc(alias = "use-gstpay")] fn set_use_gstpay(&self, use_gstpay: bool); - fn connect_property_uri_notify( - &self, - f: F, - ) -> SignalHandlerId; + #[doc(alias = "uri")] + fn connect_uri_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_use_gstpay_notify( + #[doc(alias = "use-gstpay")] + fn connect_use_gstpay_notify( &self, f: F, ) -> SignalHandlerId; @@ -107,10 +107,8 @@ impl> RTSPMediaFactoryURIExt for O { } } - fn connect_property_uri_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "uri")] + fn connect_uri_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_uri_trampoline( this: *mut ffi::GstRTSPMediaFactoryURI, _param_spec: glib::ffi::gpointer, @@ -134,7 +132,8 @@ impl> RTSPMediaFactoryURIExt for O { } } - fn connect_property_use_gstpay_notify( + #[doc(alias = "use-gstpay")] + fn connect_use_gstpay_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-rtsp-server/src/auto/rtsp_mount_points.rs b/gstreamer-rtsp-server/src/auto/rtsp_mount_points.rs index 4ddc5b9b2..4b1bd7292 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_mount_points.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_mount_points.rs @@ -43,6 +43,7 @@ pub trait RTSPMountPointsExt: 'static { fn make_path(&self, url: &gst_rtsp::RTSPUrl) -> Result; #[doc(alias = "gst_rtsp_mount_points_match")] + #[doc(alias = "match")] fn match_(&self, path: &str) -> (RTSPMediaFactory, i32); #[doc(alias = "gst_rtsp_mount_points_remove_factory")] diff --git a/gstreamer-rtsp-server/src/auto/rtsp_server.rs b/gstreamer-rtsp-server/src/auto/rtsp_server.rs index 71b67a19a..c6ad38048 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_server.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_server.rs @@ -86,32 +86,41 @@ pub trait RTSPServerExt: 'static { ) -> Result; #[doc(alias = "gst_rtsp_server_get_address")] + #[doc(alias = "get_address")] fn address(&self) -> Option; #[doc(alias = "gst_rtsp_server_get_auth")] + #[doc(alias = "get_auth")] fn auth(&self) -> Option; #[doc(alias = "gst_rtsp_server_get_backlog")] + #[doc(alias = "get_backlog")] fn backlog(&self) -> i32; #[doc(alias = "gst_rtsp_server_get_bound_port")] + #[doc(alias = "get_bound_port")] fn bound_port(&self) -> i32; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "gst_rtsp_server_get_content_length_limit")] + #[doc(alias = "get_content_length_limit")] fn content_length_limit(&self) -> u32; #[doc(alias = "gst_rtsp_server_get_mount_points")] + #[doc(alias = "get_mount_points")] fn mount_points(&self) -> Option; #[doc(alias = "gst_rtsp_server_get_service")] + #[doc(alias = "get_service")] fn service(&self) -> Option; #[doc(alias = "gst_rtsp_server_get_session_pool")] + #[doc(alias = "get_session_pool")] fn session_pool(&self) -> Option; #[doc(alias = "gst_rtsp_server_get_thread_pool")] + #[doc(alias = "get_thread_pool")] fn thread_pool(&self) -> Option; #[doc(alias = "gst_rtsp_server_set_address")] @@ -149,46 +158,50 @@ pub trait RTSPServerExt: 'static { initial_buffer: Option<&str>, ) -> Result<(), glib::error::BoolError>; + #[doc(alias = "content-length-limit")] fn get_property_content_length_limit(&self) -> u32; + #[doc(alias = "content-length-limit")] fn set_property_content_length_limit(&self, content_length_limit: u32); + #[doc(alias = "client-connected")] fn connect_client_connected( &self, f: F, ) -> SignalHandlerId; - fn connect_property_address_notify( + #[doc(alias = "address")] + fn connect_address_notify(&self, f: F) + -> SignalHandlerId; + + #[doc(alias = "backlog")] + fn connect_backlog_notify(&self, f: F) + -> SignalHandlerId; + + #[doc(alias = "bound-port")] + fn connect_bound_port_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_backlog_notify( + #[doc(alias = "content-length-limit")] + fn connect_content_length_limit_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_bound_port_notify( + #[doc(alias = "mount-points")] + fn connect_mount_points_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_content_length_limit_notify( - &self, - f: F, - ) -> SignalHandlerId; + #[doc(alias = "service")] + fn connect_service_notify(&self, f: F) + -> SignalHandlerId; - fn connect_property_mount_points_notify( - &self, - f: F, - ) -> SignalHandlerId; - - fn connect_property_service_notify( - &self, - f: F, - ) -> SignalHandlerId; - - fn connect_property_session_pool_notify( + #[doc(alias = "session-pool")] + fn connect_session_pool_notify( &self, f: F, ) -> SignalHandlerId; @@ -449,6 +462,7 @@ impl> RTSPServerExt for O { } } + #[doc(alias = "client-connected")] fn connect_client_connected( &self, f: F, @@ -482,7 +496,8 @@ impl> RTSPServerExt for O { } } - fn connect_property_address_notify( + #[doc(alias = "address")] + fn connect_address_notify( &self, f: F, ) -> SignalHandlerId { @@ -509,7 +524,8 @@ impl> RTSPServerExt for O { } } - fn connect_property_backlog_notify( + #[doc(alias = "backlog")] + fn connect_backlog_notify( &self, f: F, ) -> SignalHandlerId { @@ -536,7 +552,8 @@ impl> RTSPServerExt for O { } } - fn connect_property_bound_port_notify( + #[doc(alias = "bound-port")] + fn connect_bound_port_notify( &self, f: F, ) -> SignalHandlerId { @@ -563,7 +580,8 @@ impl> RTSPServerExt for O { } } - fn connect_property_content_length_limit_notify( + #[doc(alias = "content-length-limit")] + fn connect_content_length_limit_notify( &self, f: F, ) -> SignalHandlerId { @@ -593,7 +611,8 @@ impl> RTSPServerExt for O { } } - fn connect_property_mount_points_notify( + #[doc(alias = "mount-points")] + fn connect_mount_points_notify( &self, f: F, ) -> SignalHandlerId { @@ -620,7 +639,8 @@ impl> RTSPServerExt for O { } } - fn connect_property_service_notify( + #[doc(alias = "service")] + fn connect_service_notify( &self, f: F, ) -> SignalHandlerId { @@ -647,7 +667,8 @@ impl> RTSPServerExt for O { } } - fn connect_property_session_pool_notify( + #[doc(alias = "session-pool")] + fn connect_session_pool_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-rtsp-server/src/auto/rtsp_session.rs b/gstreamer-rtsp-server/src/auto/rtsp_session.rs index ca1efac43..eb3e63056 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_session.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_session.rs @@ -49,15 +49,19 @@ pub trait RTSPSessionExt: 'static { ) -> Vec; #[doc(alias = "gst_rtsp_session_get_header")] + #[doc(alias = "get_header")] fn header(&self) -> Option; #[doc(alias = "gst_rtsp_session_get_media")] + #[doc(alias = "get_media")] fn media(&self, path: &str) -> (Option, i32); #[doc(alias = "gst_rtsp_session_get_sessionid")] + #[doc(alias = "get_sessionid")] fn sessionid(&self) -> Option; #[doc(alias = "gst_rtsp_session_get_timeout")] + #[doc(alias = "get_timeout")] fn timeout(&self) -> u32; //#[doc(alias = "gst_rtsp_session_is_expired")] @@ -91,29 +95,30 @@ pub trait RTSPSessionExt: 'static { #[doc(alias = "gst_rtsp_session_touch")] fn touch(&self); - #[doc(alias = "get_property_extra_timeout")] + #[doc(alias = "extra-timeout")] fn extra_timeout(&self) -> u32; - #[doc(alias = "set_property_extra_timeout")] + #[doc(alias = "extra-timeout")] fn set_extra_timeout(&self, extra_timeout: u32); - #[doc(alias = "get_property_timeout_always_visible")] + #[doc(alias = "timeout-always-visible")] fn is_timeout_always_visible(&self) -> bool; - #[doc(alias = "set_property_timeout_always_visible")] + #[doc(alias = "timeout-always-visible")] fn set_timeout_always_visible(&self, timeout_always_visible: bool); - fn connect_property_extra_timeout_notify( + #[doc(alias = "extra-timeout")] + fn connect_extra_timeout_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_timeout_notify( - &self, - f: F, - ) -> SignalHandlerId; + #[doc(alias = "timeout")] + fn connect_timeout_notify(&self, f: F) + -> SignalHandlerId; - fn connect_property_timeout_always_visible_notify( + #[doc(alias = "timeout-always-visible")] + fn connect_timeout_always_visible_notify( &self, f: F, ) -> SignalHandlerId; @@ -314,7 +319,8 @@ impl> RTSPSessionExt for O { } } - fn connect_property_extra_timeout_notify( + #[doc(alias = "extra-timeout")] + fn connect_extra_timeout_notify( &self, f: F, ) -> SignalHandlerId { @@ -341,7 +347,8 @@ impl> RTSPSessionExt for O { } } - fn connect_property_timeout_notify( + #[doc(alias = "timeout")] + fn connect_timeout_notify( &self, f: F, ) -> SignalHandlerId { @@ -368,7 +375,8 @@ impl> RTSPSessionExt for O { } } - fn connect_property_timeout_always_visible_notify( + #[doc(alias = "timeout-always-visible")] + fn connect_timeout_always_visible_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-rtsp-server/src/auto/rtsp_session_media.rs b/gstreamer-rtsp-server/src/auto/rtsp_session_media.rs index f876a5226..81190eed9 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_session_media.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_session_media.rs @@ -40,23 +40,29 @@ pub trait RTSPSessionMediaExt: 'static { //fn alloc_channels(&self, range: /*Ignored*/gst_rtsp::RTSPRange) -> bool; #[doc(alias = "gst_rtsp_session_media_get_base_time")] + #[doc(alias = "get_base_time")] fn base_time(&self) -> gst::ClockTime; #[doc(alias = "gst_rtsp_session_media_get_media")] + #[doc(alias = "get_media")] fn media(&self) -> Option; #[doc(alias = "gst_rtsp_session_media_get_rtpinfo")] + #[doc(alias = "get_rtpinfo")] fn rtpinfo(&self) -> Option; //#[doc(alias = "gst_rtsp_session_media_get_rtsp_state")] + //#[doc(alias = "get_rtsp_state")] //fn rtsp_state(&self) -> /*Ignored*/gst_rtsp::RTSPState; #[doc(alias = "gst_rtsp_session_media_get_transport")] + #[doc(alias = "get_transport")] fn transport(&self, idx: u32) -> Option; #[cfg(any(feature = "v1_14", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_14")))] #[doc(alias = "gst_rtsp_session_media_get_transports")] + #[doc(alias = "get_transports")] fn transports(&self) -> Vec; #[doc(alias = "gst_rtsp_session_media_matches")] diff --git a/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs b/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs index 758ec5691..36fda1a1f 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs @@ -57,9 +57,11 @@ pub trait RTSPSessionPoolExt: 'static { fn find(&self, sessionid: &str) -> Option; #[doc(alias = "gst_rtsp_session_pool_get_max_sessions")] + #[doc(alias = "get_max_sessions")] fn max_sessions(&self) -> u32; #[doc(alias = "gst_rtsp_session_pool_get_n_sessions")] + #[doc(alias = "get_n_sessions")] fn n_sessions(&self) -> u32; #[doc(alias = "gst_rtsp_session_pool_remove")] @@ -68,12 +70,14 @@ pub trait RTSPSessionPoolExt: 'static { #[doc(alias = "gst_rtsp_session_pool_set_max_sessions")] fn set_max_sessions(&self, max: u32); + #[doc(alias = "session-removed")] fn connect_session_removed( &self, f: F, ) -> SignalHandlerId; - fn connect_property_max_sessions_notify( + #[doc(alias = "max-sessions")] + fn connect_max_sessions_notify( &self, f: F, ) -> SignalHandlerId; @@ -172,6 +176,7 @@ impl> RTSPSessionPoolExt for O { } } + #[doc(alias = "session-removed")] fn connect_session_removed( &self, f: F, @@ -205,7 +210,8 @@ impl> RTSPSessionPoolExt for O { } } - fn connect_property_max_sessions_notify( + #[doc(alias = "max-sessions")] + fn connect_max_sessions_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-rtsp-server/src/auto/rtsp_stream.rs b/gstreamer-rtsp-server/src/auto/rtsp_stream.rs index 5f177dc9f..f7ed42257 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_stream.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_stream.rs @@ -75,122 +75,157 @@ pub trait RTSPStreamExt: 'static { //fn complete_stream(&self, transport: /*Ignored*/&gst_rtsp::RTSPTransport) -> bool; #[doc(alias = "gst_rtsp_stream_get_address_pool")] + #[doc(alias = "get_address_pool")] fn address_pool(&self) -> Option; #[doc(alias = "gst_rtsp_stream_get_buffer_size")] + #[doc(alias = "get_buffer_size")] fn buffer_size(&self) -> u32; #[doc(alias = "gst_rtsp_stream_get_caps")] + #[doc(alias = "get_caps")] fn caps(&self) -> Option; #[doc(alias = "gst_rtsp_stream_get_control")] + #[doc(alias = "get_control")] fn control(&self) -> Option; #[doc(alias = "gst_rtsp_stream_get_current_seqnum")] + #[doc(alias = "get_current_seqnum")] fn current_seqnum(&self) -> u16; #[doc(alias = "gst_rtsp_stream_get_dscp_qos")] + #[doc(alias = "get_dscp_qos")] fn dscp_qos(&self) -> i32; #[doc(alias = "gst_rtsp_stream_get_index")] + #[doc(alias = "get_index")] fn index(&self) -> u32; #[doc(alias = "gst_rtsp_stream_get_joined_bin")] + #[doc(alias = "get_joined_bin")] fn joined_bin(&self) -> Option; #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] #[doc(alias = "gst_rtsp_stream_get_max_mcast_ttl")] + #[doc(alias = "get_max_mcast_ttl")] fn max_mcast_ttl(&self) -> u32; #[doc(alias = "gst_rtsp_stream_get_mtu")] + #[doc(alias = "get_mtu")] fn mtu(&self) -> u32; #[doc(alias = "gst_rtsp_stream_get_multicast_address")] + #[doc(alias = "get_multicast_address")] fn multicast_address(&self, family: gio::SocketFamily) -> Option; #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] #[doc(alias = "gst_rtsp_stream_get_multicast_client_addresses")] + #[doc(alias = "get_multicast_client_addresses")] fn multicast_client_addresses(&self) -> Option; #[doc(alias = "gst_rtsp_stream_get_multicast_iface")] + #[doc(alias = "get_multicast_iface")] fn multicast_iface(&self) -> Option; #[doc(alias = "gst_rtsp_stream_get_profiles")] + #[doc(alias = "get_profiles")] fn profiles(&self) -> gst_rtsp::RTSPProfile; #[doc(alias = "gst_rtsp_stream_get_protocols")] + #[doc(alias = "get_protocols")] fn protocols(&self) -> gst_rtsp::RTSPLowerTrans; #[doc(alias = "gst_rtsp_stream_get_pt")] + #[doc(alias = "get_pt")] fn pt(&self) -> u32; #[doc(alias = "gst_rtsp_stream_get_publish_clock_mode")] + #[doc(alias = "get_publish_clock_mode")] fn publish_clock_mode(&self) -> RTSPPublishClockMode; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "gst_rtsp_stream_get_rate_control")] + #[doc(alias = "get_rate_control")] fn is_rate_control(&self) -> bool; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "gst_rtsp_stream_get_rates")] + #[doc(alias = "get_rates")] fn rates(&self) -> Option<(f64, f64)>; #[doc(alias = "gst_rtsp_stream_get_retransmission_pt")] + #[doc(alias = "get_retransmission_pt")] fn retransmission_pt(&self) -> u32; #[doc(alias = "gst_rtsp_stream_get_retransmission_time")] + #[doc(alias = "get_retransmission_time")] fn retransmission_time(&self) -> gst::ClockTime; #[cfg(any(feature = "v1_14", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_14")))] #[doc(alias = "gst_rtsp_stream_get_rtcp_multicast_socket")] + #[doc(alias = "get_rtcp_multicast_socket")] fn rtcp_multicast_socket(&self, family: gio::SocketFamily) -> Option; #[doc(alias = "gst_rtsp_stream_get_rtcp_socket")] + #[doc(alias = "get_rtcp_socket")] fn rtcp_socket(&self, family: gio::SocketFamily) -> Option; #[doc(alias = "gst_rtsp_stream_get_rtp_multicast_socket")] + #[doc(alias = "get_rtp_multicast_socket")] fn rtp_multicast_socket(&self, family: gio::SocketFamily) -> Option; #[doc(alias = "gst_rtsp_stream_get_rtp_socket")] + #[doc(alias = "get_rtp_socket")] fn rtp_socket(&self, family: gio::SocketFamily) -> Option; #[doc(alias = "gst_rtsp_stream_get_rtpinfo")] + #[doc(alias = "get_rtpinfo")] fn rtpinfo(&self) -> Option<(u32, u32, u32, gst::ClockTime)>; #[doc(alias = "gst_rtsp_stream_get_rtpsession")] + #[doc(alias = "get_rtpsession")] fn rtpsession(&self) -> Option; //#[doc(alias = "gst_rtsp_stream_get_server_port")] + //#[doc(alias = "get_server_port")] //fn server_port(&self, server_port: /*Ignored*/gst_rtsp::RTSPRange, family: gio::SocketFamily); #[doc(alias = "gst_rtsp_stream_get_sinkpad")] + #[doc(alias = "get_sinkpad")] fn sinkpad(&self) -> Option; #[doc(alias = "gst_rtsp_stream_get_srcpad")] + #[doc(alias = "get_srcpad")] fn srcpad(&self) -> Option; #[doc(alias = "gst_rtsp_stream_get_srtp_encoder")] + #[doc(alias = "get_srtp_encoder")] fn srtp_encoder(&self) -> Option; #[doc(alias = "gst_rtsp_stream_get_ssrc")] + #[doc(alias = "get_ssrc")] fn ssrc(&self) -> u32; #[doc(alias = "gst_rtsp_stream_get_ulpfec_enabled")] + #[doc(alias = "get_ulpfec_enabled")] fn is_ulpfec_enabled(&self) -> bool; #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] #[doc(alias = "gst_rtsp_stream_get_ulpfec_percentage")] + #[doc(alias = "get_ulpfec_percentage")] fn ulpfec_percentage(&self) -> u32; #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] #[doc(alias = "gst_rtsp_stream_get_ulpfec_pt")] + #[doc(alias = "get_ulpfec_pt")] fn ulpfec_pt(&self) -> u32; #[cfg(any(feature = "v1_16", feature = "dox"))] @@ -378,32 +413,36 @@ pub trait RTSPStreamExt: 'static { #[doc(alias = "gst_rtsp_stream_verify_mcast_ttl")] fn verify_mcast_ttl(&self, ttl: u32) -> bool; + #[doc(alias = "new-rtcp-encoder")] fn connect_new_rtcp_encoder( &self, f: F, ) -> SignalHandlerId; + #[doc(alias = "new-rtp-encoder")] fn connect_new_rtp_encoder( &self, f: F, ) -> SignalHandlerId; + #[doc(alias = "new-rtp-rtcp-decoder")] fn connect_new_rtp_rtcp_decoder( &self, f: F, ) -> SignalHandlerId; - fn connect_property_control_notify( + #[doc(alias = "control")] + fn connect_control_notify(&self, f: F) + -> SignalHandlerId; + + #[doc(alias = "profiles")] + fn connect_profiles_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_profiles_notify( - &self, - f: F, - ) -> SignalHandlerId; - - fn connect_property_protocols_notify( + #[doc(alias = "protocols")] + fn connect_protocols_notify( &self, f: F, ) -> SignalHandlerId; @@ -1196,6 +1235,7 @@ impl> RTSPStreamExt for O { } } + #[doc(alias = "new-rtcp-encoder")] fn connect_new_rtcp_encoder( &self, f: F, @@ -1229,6 +1269,7 @@ impl> RTSPStreamExt for O { } } + #[doc(alias = "new-rtp-encoder")] fn connect_new_rtp_encoder( &self, f: F, @@ -1262,6 +1303,7 @@ impl> RTSPStreamExt for O { } } + #[doc(alias = "new-rtp-rtcp-decoder")] fn connect_new_rtp_rtcp_decoder( &self, f: F, @@ -1295,7 +1337,8 @@ impl> RTSPStreamExt for O { } } - fn connect_property_control_notify( + #[doc(alias = "control")] + fn connect_control_notify( &self, f: F, ) -> SignalHandlerId { @@ -1322,7 +1365,8 @@ impl> RTSPStreamExt for O { } } - fn connect_property_profiles_notify( + #[doc(alias = "profiles")] + fn connect_profiles_notify( &self, f: F, ) -> SignalHandlerId { @@ -1349,7 +1393,8 @@ impl> RTSPStreamExt for O { } } - fn connect_property_protocols_notify( + #[doc(alias = "protocols")] + fn connect_protocols_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs b/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs index 7aa8fd820..acf1db762 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs @@ -27,15 +27,19 @@ pub const NONE_RTSP_STREAM_TRANSPORT: Option<&RTSPStreamTransport> = None; pub trait RTSPStreamTransportExt: 'static { #[doc(alias = "gst_rtsp_stream_transport_get_rtpinfo")] + #[doc(alias = "get_rtpinfo")] fn rtpinfo(&self, start_time: gst::ClockTime) -> Option; #[doc(alias = "gst_rtsp_stream_transport_get_stream")] + #[doc(alias = "get_stream")] fn stream(&self) -> Option; //#[doc(alias = "gst_rtsp_stream_transport_get_transport")] + //#[doc(alias = "get_transport")] //fn transport(&self) -> /*Ignored*/Option; #[doc(alias = "gst_rtsp_stream_transport_get_url")] + #[doc(alias = "get_url")] fn url(&self) -> Option; #[doc(alias = "gst_rtsp_stream_transport_is_timed_out")] diff --git a/gstreamer-rtsp-server/src/auto/rtsp_thread_pool.rs b/gstreamer-rtsp-server/src/auto/rtsp_thread_pool.rs index 25d71208b..6f406e32a 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_thread_pool.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_thread_pool.rs @@ -51,15 +51,18 @@ pub const NONE_RTSP_THREAD_POOL: Option<&RTSPThreadPool> = None; pub trait RTSPThreadPoolExt: 'static { #[doc(alias = "gst_rtsp_thread_pool_get_max_threads")] + #[doc(alias = "get_max_threads")] fn max_threads(&self) -> i32; #[doc(alias = "gst_rtsp_thread_pool_get_thread")] + #[doc(alias = "get_thread")] fn thread(&self, type_: RTSPThreadType, ctx: &RTSPContext) -> Option; #[doc(alias = "gst_rtsp_thread_pool_set_max_threads")] fn set_max_threads(&self, max_threads: i32); - fn connect_property_max_threads_notify( + #[doc(alias = "max-threads")] + fn connect_max_threads_notify( &self, f: F, ) -> SignalHandlerId; @@ -86,7 +89,8 @@ impl> RTSPThreadPoolExt for O { } } - fn connect_property_max_threads_notify( + #[doc(alias = "max-threads")] + fn connect_max_threads_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-rtsp-server/src/auto/versions.txt b/gstreamer-rtsp-server/src/auto/versions.txt index 33aa18251..1ed8d5e7b 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 @ 0516825) +Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-rtsp-server/sys/build.rs b/gstreamer-rtsp-server/sys/build.rs index bae1ce3d4..0cbbd0fe4 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/sys/src/lib.rs b/gstreamer-rtsp-server/sys/src/lib.rs index 40f8abb38..f40555ad8 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/sys/tests/abi.rs b/gstreamer-rtsp-server/sys/tests/abi.rs index b6cece3b6..3583837fc 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/sys/tests/constant.c b/gstreamer-rtsp-server/sys/tests/constant.c index 3ce22c46c..f501fedde 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/sys/tests/layout.c b/gstreamer-rtsp-server/sys/tests/layout.c index 1202e979f..ef3a270b2 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp/src/auto/rtsp_url.rs b/gstreamer-rtsp/src/auto/rtsp_url.rs index d3d46c77b..f613c9f26 100644 --- a/gstreamer-rtsp/src/auto/rtsp_url.rs +++ b/gstreamer-rtsp/src/auto/rtsp_url.rs @@ -29,6 +29,7 @@ impl RTSPUrl { } #[doc(alias = "gst_rtsp_url_get_request_uri")] + #[doc(alias = "get_request_uri")] pub fn request_uri(&self) -> Option { unsafe { from_glib_full(ffi::gst_rtsp_url_get_request_uri(self.to_glib_none().0)) } } @@ -36,6 +37,7 @@ impl RTSPUrl { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "gst_rtsp_url_get_request_uri_with_control")] + #[doc(alias = "get_request_uri_with_control")] pub fn request_uri_with_control(&self, control_path: &str) -> Option { unsafe { from_glib_full(ffi::gst_rtsp_url_get_request_uri_with_control( diff --git a/gstreamer-rtsp/src/auto/versions.txt b/gstreamer-rtsp/src/auto/versions.txt index 33aa18251..1ed8d5e7b 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 @ 0516825) +Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-rtsp/sys/build.rs b/gstreamer-rtsp/sys/build.rs index bae1ce3d4..0cbbd0fe4 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp/sys/src/lib.rs b/gstreamer-rtsp/sys/src/lib.rs index 0e67259f3..9b0e4522a 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp/sys/tests/abi.rs b/gstreamer-rtsp/sys/tests/abi.rs index f1f17416a..1f3b6b899 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp/sys/tests/constant.c b/gstreamer-rtsp/sys/tests/constant.c index b6f265cdb..d7d5f7400 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp/sys/tests/layout.c b/gstreamer-rtsp/sys/tests/layout.c index 033823a28..adfbc1779 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-sdp/src/auto/versions.txt b/gstreamer-sdp/src/auto/versions.txt index 33aa18251..1ed8d5e7b 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 @ 0516825) +Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-sdp/sys/build.rs b/gstreamer-sdp/sys/build.rs index bae1ce3d4..0cbbd0fe4 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-sdp/sys/src/lib.rs b/gstreamer-sdp/sys/src/lib.rs index 639e1e641..b17a8cd6d 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-sdp/sys/tests/abi.rs b/gstreamer-sdp/sys/tests/abi.rs index 4f82bf9bf..b1b54e1c1 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-sdp/sys/tests/constant.c b/gstreamer-sdp/sys/tests/constant.c index d92a3756b..59cf9028e 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-sdp/sys/tests/layout.c b/gstreamer-sdp/sys/tests/layout.c index a378d1261..2d8cc67bb 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-tag/sys/build.rs b/gstreamer-tag/sys/build.rs index bae1ce3d4..0cbbd0fe4 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-tag/sys/src/lib.rs b/gstreamer-tag/sys/src/lib.rs index 858ffa4fd..988f9bfaa 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-tag/sys/tests/abi.rs b/gstreamer-tag/sys/tests/abi.rs index a94a733e5..b4dc86aa2 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-tag/sys/tests/constant.c b/gstreamer-tag/sys/tests/constant.c index 026bb3927..85b7acd3e 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-tag/sys/tests/layout.c b/gstreamer-tag/sys/tests/layout.c index 15f782b70..9c01f1baa 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-video/src/auto/enums.rs b/gstreamer-video/src/auto/enums.rs index 494c7e624..7af478c75 100644 --- a/gstreamer-video/src/auto/enums.rs +++ b/gstreamer-video/src/auto/enums.rs @@ -643,6 +643,7 @@ impl VideoColorPrimaries { } //#[doc(alias = "gst_video_color_primaries_get_info")] + //#[doc(alias = "get_info")] //pub fn info(self) -> /*Ignored*/Option { // unsafe { TODO: call ffi:gst_video_color_primaries_get_info() } //} @@ -1233,6 +1234,7 @@ impl VideoFormat { } //#[doc(alias = "gst_video_format_get_palette")] + //#[doc(alias = "get_palette")] //pub fn palette(self) -> (/*Unimplemented*/Option, usize) { // unsafe { TODO: call ffi:gst_video_format_get_palette() } //} diff --git a/gstreamer-video/src/auto/versions.txt b/gstreamer-video/src/auto/versions.txt index 33aa18251..1ed8d5e7b 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 @ 0516825) +Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-video/src/auto/video_decoder.rs b/gstreamer-video/src/auto/video_decoder.rs index b4b6d6dcd..f1800b8ac 100644 --- a/gstreamer-video/src/auto/video_decoder.rs +++ b/gstreamer-video/src/auto/video_decoder.rs @@ -49,27 +49,35 @@ pub trait VideoDecoderExt: 'static { fn allocate_output_buffer(&self) -> Result; #[doc(alias = "gst_video_decoder_get_buffer_pool")] + #[doc(alias = "get_buffer_pool")] fn buffer_pool(&self) -> Option; #[doc(alias = "gst_video_decoder_get_estimate_rate")] + #[doc(alias = "get_estimate_rate")] fn estimate_rate(&self) -> i32; #[doc(alias = "gst_video_decoder_get_max_decode_time")] + #[doc(alias = "get_max_decode_time")] fn max_decode_time(&self, frame: &VideoCodecFrame) -> gst::ClockTimeDiff; #[doc(alias = "gst_video_decoder_get_max_errors")] + #[doc(alias = "get_max_errors")] fn max_errors(&self) -> i32; #[doc(alias = "gst_video_decoder_get_needs_format")] + #[doc(alias = "get_needs_format")] fn needs_format(&self) -> bool; #[doc(alias = "gst_video_decoder_get_packetized")] + #[doc(alias = "get_packetized")] fn is_packetized(&self) -> bool; #[doc(alias = "gst_video_decoder_get_pending_frame_size")] + #[doc(alias = "get_pending_frame_size")] fn pending_frame_size(&self) -> usize; #[doc(alias = "gst_video_decoder_get_qos_proportion")] + #[doc(alias = "get_qos_proportion")] fn qos_proportion(&self) -> f64; #[doc(alias = "gst_video_decoder_merge_tags")] @@ -95,27 +103,24 @@ pub trait VideoDecoderExt: 'static { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - #[doc(alias = "get_property_qos")] fn is_qos(&self) -> bool; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - #[doc(alias = "set_property_qos")] fn set_qos(&self, qos: bool); #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn connect_property_max_errors_notify( + #[doc(alias = "max-errors")] + fn connect_max_errors_notify( &self, f: F, ) -> SignalHandlerId; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn connect_property_qos_notify( - &self, - f: F, - ) -> SignalHandlerId; + #[doc(alias = "qos")] + fn connect_qos_notify(&self, f: F) -> SignalHandlerId; } impl> VideoDecoderExt for O { @@ -273,7 +278,8 @@ impl> VideoDecoderExt for O { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn connect_property_max_errors_notify( + #[doc(alias = "max-errors")] + fn connect_max_errors_notify( &self, f: F, ) -> SignalHandlerId { @@ -302,10 +308,8 @@ impl> VideoDecoderExt for O { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn connect_property_qos_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "qos")] + fn connect_qos_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_qos_trampoline( this: *mut ffi::GstVideoDecoder, _param_spec: glib::ffi::gpointer, diff --git a/gstreamer-video/src/auto/video_encoder.rs b/gstreamer-video/src/auto/video_encoder.rs index 4c00f87fe..f1c1ca83b 100644 --- a/gstreamer-video/src/auto/video_encoder.rs +++ b/gstreamer-video/src/auto/video_encoder.rs @@ -36,11 +36,13 @@ pub trait VideoEncoderExt: 'static { #[cfg(any(feature = "v1_14", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_14")))] #[doc(alias = "gst_video_encoder_get_max_encode_time")] + #[doc(alias = "get_max_encode_time")] fn max_encode_time(&self, frame: &VideoCodecFrame) -> gst::ClockTimeDiff; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "gst_video_encoder_get_min_force_key_unit_interval")] + #[doc(alias = "get_min_force_key_unit_interval")] fn min_force_key_unit_interval(&self) -> gst::ClockTime; #[cfg(any(feature = "v1_14", feature = "dox"))] @@ -70,23 +72,20 @@ pub trait VideoEncoderExt: 'static { #[doc(alias = "gst_video_encoder_set_qos_enabled")] fn set_qos_enabled(&self, enabled: bool); - #[doc(alias = "get_property_qos")] fn is_qos(&self) -> bool; - #[doc(alias = "set_property_qos")] fn set_qos(&self, qos: bool); #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn connect_property_min_force_key_unit_interval_notify( + #[doc(alias = "min-force-key-unit-interval")] + fn connect_min_force_key_unit_interval_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_qos_notify( - &self, - f: F, - ) -> SignalHandlerId; + #[doc(alias = "qos")] + fn connect_qos_notify(&self, f: F) -> SignalHandlerId; } impl> VideoEncoderExt for O { @@ -212,7 +211,8 @@ impl> VideoEncoderExt for O { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - fn connect_property_min_force_key_unit_interval_notify( + #[doc(alias = "min-force-key-unit-interval")] + fn connect_min_force_key_unit_interval_notify( &self, f: F, ) -> SignalHandlerId { @@ -242,10 +242,8 @@ impl> VideoEncoderExt for O { } } - fn connect_property_qos_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "qos")] + fn connect_qos_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_qos_trampoline( this: *mut ffi::GstVideoEncoder, _param_spec: glib::ffi::gpointer, diff --git a/gstreamer-video/src/auto/video_orientation.rs b/gstreamer-video/src/auto/video_orientation.rs index e3ad728ec..f086903e0 100644 --- a/gstreamer-video/src/auto/video_orientation.rs +++ b/gstreamer-video/src/auto/video_orientation.rs @@ -22,15 +22,19 @@ pub const NONE_VIDEO_ORIENTATION: Option<&VideoOrientation> = None; pub trait VideoOrientationExt: 'static { #[doc(alias = "gst_video_orientation_get_hcenter")] + #[doc(alias = "get_hcenter")] fn hcenter(&self) -> Option; #[doc(alias = "gst_video_orientation_get_hflip")] + #[doc(alias = "get_hflip")] fn hflip(&self) -> Option; #[doc(alias = "gst_video_orientation_get_vcenter")] + #[doc(alias = "get_vcenter")] fn vcenter(&self) -> Option; #[doc(alias = "gst_video_orientation_get_vflip")] + #[doc(alias = "get_vflip")] fn vflip(&self) -> Option; #[doc(alias = "gst_video_orientation_set_hcenter")] diff --git a/gstreamer-video/src/auto/video_sink.rs b/gstreamer-video/src/auto/video_sink.rs index c67f88eae..a91106227 100644 --- a/gstreamer-video/src/auto/video_sink.rs +++ b/gstreamer-video/src/auto/video_sink.rs @@ -27,13 +27,14 @@ unsafe impl Sync for VideoSink {} pub const NONE_VIDEO_SINK: Option<&VideoSink> = None; pub trait VideoSinkExt: 'static { - #[doc(alias = "get_property_show_preroll_frame")] + #[doc(alias = "show-preroll-frame")] fn shows_preroll_frame(&self) -> bool; - #[doc(alias = "set_property_show_preroll_frame")] + #[doc(alias = "show-preroll-frame")] fn set_show_preroll_frame(&self, show_preroll_frame: bool); - fn connect_property_show_preroll_frame_notify( + #[doc(alias = "show-preroll-frame")] + fn connect_show_preroll_frame_notify( &self, f: F, ) -> SignalHandlerId; @@ -64,7 +65,8 @@ impl> VideoSinkExt for O { } } - fn connect_property_show_preroll_frame_notify( + #[doc(alias = "show-preroll-frame")] + fn connect_show_preroll_frame_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-video/sys/build.rs b/gstreamer-video/sys/build.rs index bae1ce3d4..0cbbd0fe4 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-video/sys/src/lib.rs b/gstreamer-video/sys/src/lib.rs index 87e8ea487..4a3435d81 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-video/sys/tests/abi.rs b/gstreamer-video/sys/tests/abi.rs index 908100e5c..9962acaa3 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-video/sys/tests/constant.c b/gstreamer-video/sys/tests/constant.c index 96e2bbb3d..3e3911070 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-video/sys/tests/layout.c b/gstreamer-video/sys/tests/layout.c index 1ad6b39ce..3eb43b7a1 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-webrtc/src/auto/versions.txt b/gstreamer-webrtc/src/auto/versions.txt index 33aa18251..1ed8d5e7b 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 @ 0516825) +Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-webrtc/src/auto/web_rtc_data_channel.rs b/gstreamer-webrtc/src/auto/web_rtc_data_channel.rs index e8216cd6b..e49a2a09c 100644 --- a/gstreamer-webrtc/src/auto/web_rtc_data_channel.rs +++ b/gstreamer-webrtc/src/auto/web_rtc_data_channel.rs @@ -86,7 +86,7 @@ impl WebRTCDataChannel { } } - #[doc(alias = "get_property_buffered_amount")] + #[doc(alias = "buffered-amount")] pub fn buffered_amount(&self) -> u64 { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -101,7 +101,7 @@ impl WebRTCDataChannel { } } - #[doc(alias = "get_property_buffered_amount_low_threshold")] + #[doc(alias = "buffered-amount-low-threshold")] pub fn buffered_amount_low_threshold(&self) -> u64 { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -116,7 +116,7 @@ impl WebRTCDataChannel { } } - #[doc(alias = "set_property_buffered_amount_low_threshold")] + #[doc(alias = "buffered-amount-low-threshold")] pub fn set_buffered_amount_low_threshold(&self, buffered_amount_low_threshold: u64) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -127,7 +127,6 @@ impl WebRTCDataChannel { } } - #[doc(alias = "get_property_id")] pub fn id(&self) -> i32 { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -140,7 +139,6 @@ impl WebRTCDataChannel { } } - #[doc(alias = "get_property_label")] pub fn label(&self) -> Option { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -155,7 +153,7 @@ impl WebRTCDataChannel { } } - #[doc(alias = "get_property_max_packet_lifetime")] + #[doc(alias = "max-packet-lifetime")] pub fn max_packet_lifetime(&self) -> i32 { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -170,7 +168,7 @@ impl WebRTCDataChannel { } } - #[doc(alias = "get_property_max_retransmits")] + #[doc(alias = "max-retransmits")] pub fn max_retransmits(&self) -> i32 { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -185,7 +183,6 @@ impl WebRTCDataChannel { } } - #[doc(alias = "get_property_negotiated")] pub fn is_negotiated(&self) -> bool { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -200,7 +197,6 @@ impl WebRTCDataChannel { } } - #[doc(alias = "get_property_ordered")] pub fn is_ordered(&self) -> bool { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -215,7 +211,6 @@ impl WebRTCDataChannel { } } - #[doc(alias = "get_property_priority")] pub fn priority(&self) -> WebRTCPriorityType { unsafe { let mut value = @@ -231,7 +226,6 @@ impl WebRTCDataChannel { } } - #[doc(alias = "get_property_protocol")] pub fn protocol(&self) -> Option { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -246,7 +240,7 @@ impl WebRTCDataChannel { } } - #[doc(alias = "get_property_ready_state")] + #[doc(alias = "ready-state")] pub fn ready_state(&self) -> WebRTCDataChannelState { unsafe { let mut value = @@ -262,6 +256,7 @@ impl WebRTCDataChannel { } } + #[doc(alias = "close")] pub fn connect_close( &self, f: F, @@ -294,6 +289,7 @@ impl WebRTCDataChannel { }; } + #[doc(alias = "on-buffered-amount-low")] pub fn connect_on_buffered_amount_low( &self, f: F, @@ -320,6 +316,7 @@ impl WebRTCDataChannel { } } + #[doc(alias = "on-close")] pub fn connect_on_close( &self, f: F, @@ -346,6 +343,7 @@ impl WebRTCDataChannel { } } + #[doc(alias = "on-error")] pub fn connect_on_error( &self, f: F, @@ -373,6 +371,7 @@ impl WebRTCDataChannel { } } + #[doc(alias = "on-message-data")] pub fn connect_on_message_data< F: Fn(&WebRTCDataChannel, Option<&glib::Bytes>) + Send + Sync + 'static, >( @@ -407,6 +406,7 @@ impl WebRTCDataChannel { } } + #[doc(alias = "on-message-string")] pub fn connect_on_message_string< F: Fn(&WebRTCDataChannel, Option<&str>) + Send + Sync + 'static, >( @@ -441,6 +441,7 @@ impl WebRTCDataChannel { } } + #[doc(alias = "on-open")] pub fn connect_on_open( &self, f: F, @@ -467,6 +468,7 @@ impl WebRTCDataChannel { } } + #[doc(alias = "send-data")] pub fn connect_send_data< F: Fn(&WebRTCDataChannel, Option<&glib::Bytes>) + Send + Sync + 'static, >( @@ -509,6 +511,7 @@ impl WebRTCDataChannel { }; } + #[doc(alias = "send-string")] pub fn connect_send_string) + Send + Sync + 'static>( &self, f: F, @@ -549,9 +552,8 @@ impl WebRTCDataChannel { }; } - pub fn connect_property_buffered_amount_notify< - F: Fn(&WebRTCDataChannel) + Send + Sync + 'static, - >( + #[doc(alias = "buffered-amount")] + pub fn connect_buffered_amount_notify( &self, f: F, ) -> SignalHandlerId { @@ -578,7 +580,8 @@ impl WebRTCDataChannel { } } - pub fn connect_property_buffered_amount_low_threshold_notify< + #[doc(alias = "buffered-amount-low-threshold")] + pub fn connect_buffered_amount_low_threshold_notify< F: Fn(&WebRTCDataChannel) + Send + Sync + 'static, >( &self, @@ -607,9 +610,8 @@ impl WebRTCDataChannel { } } - pub fn connect_property_ready_state_notify< - F: Fn(&WebRTCDataChannel) + Send + Sync + 'static, - >( + #[doc(alias = "ready-state")] + pub fn connect_ready_state_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-webrtc/src/auto/web_rtcdtls_transport.rs b/gstreamer-webrtc/src/auto/web_rtcdtls_transport.rs index bdd63579a..89c6f8353 100644 --- a/gstreamer-webrtc/src/auto/web_rtcdtls_transport.rs +++ b/gstreamer-webrtc/src/auto/web_rtcdtls_transport.rs @@ -44,7 +44,6 @@ impl WebRTCDTLSTransport { } } - #[doc(alias = "get_property_certificate")] pub fn certificate(&self) -> Option { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -59,7 +58,6 @@ impl WebRTCDTLSTransport { } } - #[doc(alias = "set_property_certificate")] pub fn set_certificate(&self, certificate: Option<&str>) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -70,7 +68,6 @@ impl WebRTCDTLSTransport { } } - #[doc(alias = "get_property_client")] pub fn is_client(&self) -> bool { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -85,7 +82,6 @@ impl WebRTCDTLSTransport { } } - #[doc(alias = "set_property_client")] pub fn set_client(&self, client: bool) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -96,7 +92,7 @@ impl WebRTCDTLSTransport { } } - #[doc(alias = "get_property_remote_certificate")] + #[doc(alias = "remote-certificate")] pub fn remote_certificate(&self) -> Option { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -111,7 +107,6 @@ impl WebRTCDTLSTransport { } } - #[doc(alias = "get_property_rtcp")] pub fn is_rtcp(&self) -> bool { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -126,7 +121,7 @@ impl WebRTCDTLSTransport { } } - #[doc(alias = "get_property_session_id")] + #[doc(alias = "session-id")] pub fn session_id(&self) -> u32 { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -141,7 +136,6 @@ impl WebRTCDTLSTransport { } } - #[doc(alias = "get_property_state")] pub fn state(&self) -> WebRTCDTLSTransportState { unsafe { let mut value = @@ -157,7 +151,6 @@ impl WebRTCDTLSTransport { } } - #[doc(alias = "get_property_transport")] pub fn transport(&self) -> Option { unsafe { let mut value = @@ -173,9 +166,8 @@ impl WebRTCDTLSTransport { } } - pub fn connect_property_certificate_notify< - F: Fn(&WebRTCDTLSTransport) + Send + Sync + 'static, - >( + #[doc(alias = "certificate")] + pub fn connect_certificate_notify( &self, f: F, ) -> SignalHandlerId { @@ -202,7 +194,8 @@ impl WebRTCDTLSTransport { } } - pub fn connect_property_client_notify( + #[doc(alias = "client")] + pub fn connect_client_notify( &self, f: F, ) -> SignalHandlerId { @@ -229,7 +222,8 @@ impl WebRTCDTLSTransport { } } - pub fn connect_property_remote_certificate_notify< + #[doc(alias = "remote-certificate")] + pub fn connect_remote_certificate_notify< F: Fn(&WebRTCDTLSTransport) + Send + Sync + 'static, >( &self, @@ -258,7 +252,8 @@ impl WebRTCDTLSTransport { } } - pub fn connect_property_state_notify( + #[doc(alias = "state")] + pub fn connect_state_notify( &self, f: F, ) -> SignalHandlerId { @@ -285,9 +280,8 @@ impl WebRTCDTLSTransport { } } - pub fn connect_property_transport_notify< - F: Fn(&WebRTCDTLSTransport) + Send + Sync + 'static, - >( + #[doc(alias = "transport")] + pub fn connect_transport_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-webrtc/src/auto/web_rtcice_transport.rs b/gstreamer-webrtc/src/auto/web_rtcice_transport.rs index 219b72160..3b611b282 100644 --- a/gstreamer-webrtc/src/auto/web_rtcice_transport.rs +++ b/gstreamer-webrtc/src/auto/web_rtcice_transport.rs @@ -62,7 +62,6 @@ impl WebRTCICETransport { } } - #[doc(alias = "get_property_component")] pub fn component(&self) -> WebRTCICEComponent { unsafe { let mut value = @@ -78,7 +77,7 @@ impl WebRTCICETransport { } } - #[doc(alias = "get_property_gathering_state")] + #[doc(alias = "gathering-state")] pub fn gathering_state(&self) -> WebRTCICEGatheringState { unsafe { let mut value = @@ -94,7 +93,6 @@ impl WebRTCICETransport { } } - #[doc(alias = "get_property_state")] pub fn state(&self) -> WebRTCICEConnectionState { unsafe { let mut value = @@ -110,6 +108,7 @@ impl WebRTCICETransport { } } + #[doc(alias = "on-new-candidate")] pub fn connect_on_new_candidate( &self, f: F, @@ -140,6 +139,7 @@ impl WebRTCICETransport { } } + #[doc(alias = "on-selected-candidate-pair-change")] pub fn connect_on_selected_candidate_pair_change< F: Fn(&WebRTCICETransport) + Send + Sync + 'static, >( @@ -168,9 +168,8 @@ impl WebRTCICETransport { } } - pub fn connect_property_gathering_state_notify< - F: Fn(&WebRTCICETransport) + Send + Sync + 'static, - >( + #[doc(alias = "gathering-state")] + pub fn connect_gathering_state_notify( &self, f: F, ) -> SignalHandlerId { @@ -197,7 +196,8 @@ impl WebRTCICETransport { } } - pub fn connect_property_state_notify( + #[doc(alias = "state")] + pub fn connect_state_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-webrtc/src/auto/web_rtcrtp_transceiver.rs b/gstreamer-webrtc/src/auto/web_rtcrtp_transceiver.rs index 99c58f954..49dc4f09b 100644 --- a/gstreamer-webrtc/src/auto/web_rtcrtp_transceiver.rs +++ b/gstreamer-webrtc/src/auto/web_rtcrtp_transceiver.rs @@ -38,7 +38,6 @@ glib::wrapper! { impl WebRTCRTPTransceiver { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - #[doc(alias = "get_property_direction")] pub fn direction(&self) -> WebRTCRTPTransceiverDirection { unsafe { let mut value = glib::Value::from_type( @@ -57,7 +56,6 @@ impl WebRTCRTPTransceiver { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - #[doc(alias = "set_property_direction")] pub fn set_direction(&self, direction: WebRTCRTPTransceiverDirection) { unsafe { glib::gobject_ffi::g_object_set_property( @@ -68,7 +66,6 @@ impl WebRTCRTPTransceiver { } } - #[doc(alias = "get_property_mlineindex")] pub fn mlineindex(&self) -> u32 { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -83,7 +80,6 @@ impl WebRTCRTPTransceiver { } } - #[doc(alias = "get_property_receiver")] pub fn receiver(&self) -> Option { unsafe { let mut value = @@ -99,7 +95,6 @@ impl WebRTCRTPTransceiver { } } - #[doc(alias = "get_property_sender")] pub fn sender(&self) -> Option { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -116,9 +111,8 @@ impl WebRTCRTPTransceiver { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - pub fn connect_property_direction_notify< - F: Fn(&WebRTCRTPTransceiver) + Send + Sync + 'static, - >( + #[doc(alias = "direction")] + pub fn connect_direction_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-webrtc/sys/build.rs b/gstreamer-webrtc/sys/build.rs index bae1ce3d4..0cbbd0fe4 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-webrtc/sys/src/lib.rs b/gstreamer-webrtc/sys/src/lib.rs index 362ec3e19..a212a8f4f 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-webrtc/sys/tests/abi.rs b/gstreamer-webrtc/sys/tests/abi.rs index 185e3e9e8..ae850d807 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-webrtc/sys/tests/constant.c b/gstreamer-webrtc/sys/tests/constant.c index 5423cb5f8..b47a5fc37 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-webrtc/sys/tests/layout.c b/gstreamer-webrtc/sys/tests/layout.c index bf4d04f1c..a5208e748 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer/src/auto/bin.rs b/gstreamer/src/auto/bin.rs index 776b7caa7..607abba22 100644 --- a/gstreamer/src/auto/bin.rs +++ b/gstreamer/src/auto/bin.rs @@ -53,17 +53,21 @@ pub trait GstBinExt: 'static { fn find_unlinked_pad(&self, direction: PadDirection) -> Option; #[doc(alias = "gst_bin_get_by_interface")] + #[doc(alias = "get_by_interface")] fn by_interface(&self, iface: glib::types::Type) -> Option; #[doc(alias = "gst_bin_get_by_name")] + #[doc(alias = "get_by_name")] fn by_name(&self, name: &str) -> Option; #[doc(alias = "gst_bin_get_by_name_recurse_up")] + #[doc(alias = "get_by_name_recurse_up")] fn by_name_recurse_up(&self, name: &str) -> Option; #[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] #[doc(alias = "gst_bin_get_suppressed_flags")] + #[doc(alias = "get_suppressed_flags")] fn suppressed_flags(&self) -> ElementFlags; //#[cfg(any(feature = "v1_18", feature = "dox"))] @@ -106,20 +110,21 @@ pub trait GstBinExt: 'static { #[doc(alias = "gst_bin_sync_children_states")] fn sync_children_states(&self) -> Result<(), glib::error::BoolError>; - #[doc(alias = "get_property_async_handling")] + #[doc(alias = "async-handling")] fn is_async_handling(&self) -> bool; - #[doc(alias = "set_property_async_handling")] + #[doc(alias = "async-handling")] fn set_async_handling(&self, async_handling: bool); - #[doc(alias = "get_property_message_forward")] + #[doc(alias = "message-forward")] fn is_message_forward(&self) -> bool; - #[doc(alias = "set_property_message_forward")] + #[doc(alias = "message-forward")] fn set_message_forward(&self, message_forward: bool); #[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] + #[doc(alias = "deep-element-added")] fn connect_deep_element_added( &self, f: F, @@ -127,27 +132,32 @@ pub trait GstBinExt: 'static { #[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] + #[doc(alias = "deep-element-removed")] fn connect_deep_element_removed( &self, f: F, ) -> SignalHandlerId; + #[doc(alias = "element-added")] fn connect_element_added( &self, f: F, ) -> SignalHandlerId; + #[doc(alias = "element-removed")] fn connect_element_removed( &self, f: F, ) -> SignalHandlerId; - fn connect_property_async_handling_notify( + #[doc(alias = "async-handling")] + fn connect_async_handling_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_message_forward_notify( + #[doc(alias = "message-forward")] + fn connect_message_forward_notify( &self, f: F, ) -> SignalHandlerId; @@ -338,6 +348,7 @@ impl> GstBinExt for O { #[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] + #[doc(alias = "deep-element-added")] fn connect_deep_element_added( &self, f: F, @@ -375,6 +386,7 @@ impl> GstBinExt for O { #[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] + #[doc(alias = "deep-element-removed")] fn connect_deep_element_removed( &self, f: F, @@ -410,6 +422,7 @@ impl> GstBinExt for O { } } + #[doc(alias = "element-added")] fn connect_element_added( &self, f: F, @@ -443,6 +456,7 @@ impl> GstBinExt for O { } } + #[doc(alias = "element-removed")] fn connect_element_removed( &self, f: F, @@ -476,7 +490,8 @@ impl> GstBinExt for O { } } - fn connect_property_async_handling_notify( + #[doc(alias = "async-handling")] + fn connect_async_handling_notify( &self, f: F, ) -> SignalHandlerId { @@ -506,7 +521,8 @@ impl> GstBinExt for O { } } - fn connect_property_message_forward_notify( + #[doc(alias = "message-forward")] + fn connect_message_forward_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer/src/auto/buffer_pool.rs b/gstreamer/src/auto/buffer_pool.rs index 129e4b6c1..5b0db2991 100644 --- a/gstreamer/src/auto/buffer_pool.rs +++ b/gstreamer/src/auto/buffer_pool.rs @@ -22,6 +22,7 @@ pub const NONE_BUFFER_POOL: Option<&BufferPool> = None; pub trait BufferPoolExt: 'static { #[doc(alias = "gst_buffer_pool_get_options")] + #[doc(alias = "get_options")] fn options(&self) -> Vec; #[doc(alias = "gst_buffer_pool_has_option")] diff --git a/gstreamer/src/auto/bus.rs b/gstreamer/src/auto/bus.rs index e4f71d75c..b02441e36 100644 --- a/gstreamer/src/auto/bus.rs +++ b/gstreamer/src/auto/bus.rs @@ -57,6 +57,7 @@ impl Bus { //#[cfg(any(feature = "v1_14", feature = "dox"))] //#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_14")))] //#[doc(alias = "gst_bus_get_pollfd")] + //#[doc(alias = "get_pollfd")] //pub fn pollfd(&self, fd: /*Ignored*/glib::PollFD) { // unsafe { TODO: call ffi:gst_bus_get_pollfd() } //} @@ -125,6 +126,7 @@ impl Bus { } } + #[doc(alias = "message")] pub fn connect_message( &self, detail: Option<&str>, @@ -155,6 +157,7 @@ impl Bus { } } + #[doc(alias = "sync-message")] pub fn connect_sync_message( &self, detail: Option<&str>, diff --git a/gstreamer/src/auto/child_proxy.rs b/gstreamer/src/auto/child_proxy.rs index c2f3b2e11..edffdb009 100644 --- a/gstreamer/src/auto/child_proxy.rs +++ b/gstreamer/src/auto/child_proxy.rs @@ -35,15 +35,19 @@ pub trait ChildProxyExt: 'static { //fn get(&self, first_property_name: &str, : /*Unknown conversion*//*Unimplemented*/Fundamental: VarArgs); #[doc(alias = "gst_child_proxy_get_child_by_index")] + #[doc(alias = "get_child_by_index")] fn child_by_index(&self, index: u32) -> Option; #[doc(alias = "gst_child_proxy_get_child_by_name")] + #[doc(alias = "get_child_by_name")] fn child_by_name(&self, name: &str) -> Option; #[doc(alias = "gst_child_proxy_get_children_count")] + #[doc(alias = "get_children_count")] fn children_count(&self) -> u32; //#[doc(alias = "gst_child_proxy_get_valist")] + //#[doc(alias = "get_valist")] //fn valist(&self, first_property_name: &str, var_args: /*Unknown conversion*//*Unimplemented*/Unsupported); //#[doc(alias = "gst_child_proxy_lookup")] @@ -55,11 +59,13 @@ pub trait ChildProxyExt: 'static { //#[doc(alias = "gst_child_proxy_set_valist")] //fn set_valist(&self, first_property_name: &str, var_args: /*Unknown conversion*//*Unimplemented*/Unsupported); + #[doc(alias = "child-added")] fn connect_child_added( &self, f: F, ) -> SignalHandlerId; + #[doc(alias = "child-removed")] fn connect_child_removed( &self, f: F, @@ -129,6 +135,7 @@ impl> ChildProxyExt for O { // unsafe { TODO: call ffi:gst_child_proxy_set_valist() } //} + #[doc(alias = "child-added")] fn connect_child_added( &self, f: F, @@ -164,6 +171,7 @@ impl> ChildProxyExt for O { } } + #[doc(alias = "child-removed")] fn connect_child_removed( &self, f: F, diff --git a/gstreamer/src/auto/clock.rs b/gstreamer/src/auto/clock.rs index 2d7eee105..f9f3d6427 100644 --- a/gstreamer/src/auto/clock.rs +++ b/gstreamer/src/auto/clock.rs @@ -95,21 +95,27 @@ pub trait ClockExt: 'static { fn adjust_unlocked(&self, internal: ClockTime) -> ClockTime; #[doc(alias = "gst_clock_get_calibration")] + #[doc(alias = "get_calibration")] fn calibration(&self) -> (ClockTime, ClockTime, ClockTime, ClockTime); #[doc(alias = "gst_clock_get_internal_time")] + #[doc(alias = "get_internal_time")] fn internal_time(&self) -> ClockTime; #[doc(alias = "gst_clock_get_master")] + #[doc(alias = "get_master")] fn master(&self) -> Option; #[doc(alias = "gst_clock_get_resolution")] + #[doc(alias = "get_resolution")] fn resolution(&self) -> ClockTime; #[doc(alias = "gst_clock_get_time")] + #[doc(alias = "get_time")] fn time(&self) -> ClockTime; #[doc(alias = "gst_clock_get_timeout")] + #[doc(alias = "get_timeout")] fn timeout(&self) -> ClockTime; #[doc(alias = "gst_clock_is_synced")] @@ -154,31 +160,33 @@ pub trait ClockExt: 'static { #[doc(alias = "gst_clock_wait_for_sync")] fn wait_for_sync(&self, timeout: ClockTime) -> Result<(), glib::error::BoolError>; - #[doc(alias = "get_property_window_size")] + #[doc(alias = "window-size")] fn window_size(&self) -> i32; - #[doc(alias = "set_property_window_size")] + #[doc(alias = "window-size")] fn set_window_size(&self, window_size: i32); - #[doc(alias = "get_property_window_threshold")] + #[doc(alias = "window-threshold")] fn window_threshold(&self) -> i32; - #[doc(alias = "set_property_window_threshold")] + #[doc(alias = "window-threshold")] fn set_window_threshold(&self, window_threshold: i32); + #[doc(alias = "synced")] fn connect_synced(&self, f: F) -> SignalHandlerId; - fn connect_property_timeout_notify( + #[doc(alias = "timeout")] + fn connect_timeout_notify(&self, f: F) + -> SignalHandlerId; + + #[doc(alias = "window-size")] + fn connect_window_size_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_window_size_notify( - &self, - f: F, - ) -> SignalHandlerId; - - fn connect_property_window_threshold_notify( + #[doc(alias = "window-threshold")] + fn connect_window_threshold_notify( &self, f: F, ) -> SignalHandlerId; @@ -443,6 +451,7 @@ impl> ClockExt for O { } } + #[doc(alias = "synced")] fn connect_synced(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn synced_trampoline( this: *mut ffi::GstClock, @@ -470,7 +479,8 @@ impl> ClockExt for O { } } - fn connect_property_timeout_notify( + #[doc(alias = "timeout")] + fn connect_timeout_notify( &self, f: F, ) -> SignalHandlerId { @@ -497,7 +507,8 @@ impl> ClockExt for O { } } - fn connect_property_window_size_notify( + #[doc(alias = "window-size")] + fn connect_window_size_notify( &self, f: F, ) -> SignalHandlerId { @@ -524,7 +535,8 @@ impl> ClockExt for O { } } - fn connect_property_window_threshold_notify( + #[doc(alias = "window-threshold")] + fn connect_window_threshold_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer/src/auto/control_binding.rs b/gstreamer/src/auto/control_binding.rs index 7712c275a..2e5c2052f 100644 --- a/gstreamer/src/auto/control_binding.rs +++ b/gstreamer/src/auto/control_binding.rs @@ -24,9 +24,11 @@ pub const NONE_CONTROL_BINDING: Option<&ControlBinding> = None; pub trait ControlBindingExt: 'static { #[doc(alias = "gst_control_binding_get_value")] + #[doc(alias = "get_value")] fn value(&self, timestamp: ClockTime) -> Option; //#[doc(alias = "gst_control_binding_get_value_array")] + //#[doc(alias = "get_value_array")] //fn is_value_array(&self, timestamp: ClockTime, interval: ClockTime, values: /*Unimplemented*/&[&Fundamental: Pointer]) -> bool; #[doc(alias = "gst_control_binding_is_disabled")] @@ -43,7 +45,6 @@ pub trait ControlBindingExt: 'static { last_sync: ClockTime, ) -> bool; - #[doc(alias = "get_property_object")] fn object(&self) -> Option; } diff --git a/gstreamer/src/auto/control_source.rs b/gstreamer/src/auto/control_source.rs index cc319e061..5d7e59b1f 100644 --- a/gstreamer/src/auto/control_source.rs +++ b/gstreamer/src/auto/control_source.rs @@ -24,11 +24,12 @@ pub const NONE_CONTROL_SOURCE: Option<&ControlSource> = None; pub trait ControlSourceExt: 'static { #[doc(alias = "gst_control_source_get_value")] - fn get_value(&self, timestamp: ClockTime) -> Option; + #[doc(alias = "control_source_get_value")] + fn value(&self, timestamp: ClockTime) -> Option; } impl> ControlSourceExt for O { - fn get_value(&self, timestamp: ClockTime) -> Option { + fn value(&self, timestamp: ClockTime) -> Option { unsafe { let mut value = mem::MaybeUninit::uninit(); let ret = from_glib(ffi::gst_control_source_get_value( diff --git a/gstreamer/src/auto/date_time.rs b/gstreamer/src/auto/date_time.rs index 84c4ea51e..c64edf411 100644 --- a/gstreamer/src/auto/date_time.rs +++ b/gstreamer/src/auto/date_time.rs @@ -18,12 +18,14 @@ glib::wrapper! { impl DateTime { #[doc(alias = "gst_date_time_new_from_g_date_time")] + #[doc(alias = "new_from_g_date_time")] pub fn from_g_date_time(dt: &glib::DateTime) -> DateTime { assert_initialized_main_thread!(); unsafe { from_glib_full(ffi::gst_date_time_new_from_g_date_time(dt.to_glib_full())) } } #[doc(alias = "gst_date_time_new_from_iso8601_string")] + #[doc(alias = "new_from_iso8601_string")] pub fn from_iso8601_string(string: &str) -> Result { assert_initialized_main_thread!(); unsafe { @@ -35,6 +37,7 @@ impl DateTime { } #[doc(alias = "gst_date_time_new_from_unix_epoch_local_time")] + #[doc(alias = "new_from_unix_epoch_local_time")] pub fn from_unix_epoch_local_time(secs: i64) -> Result { assert_initialized_main_thread!(); unsafe { @@ -46,6 +49,7 @@ impl DateTime { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "gst_date_time_new_from_unix_epoch_local_time_usecs")] + #[doc(alias = "new_from_unix_epoch_local_time_usecs")] pub fn from_unix_epoch_local_time_usecs(usecs: i64) -> Result { assert_initialized_main_thread!(); unsafe { @@ -57,6 +61,7 @@ impl DateTime { } #[doc(alias = "gst_date_time_new_from_unix_epoch_utc")] + #[doc(alias = "new_from_unix_epoch_utc")] pub fn from_unix_epoch_utc(secs: i64) -> Result { assert_initialized_main_thread!(); unsafe { @@ -68,6 +73,7 @@ impl DateTime { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "gst_date_time_new_from_unix_epoch_utc_usecs")] + #[doc(alias = "new_from_unix_epoch_utc_usecs")] pub fn from_unix_epoch_utc_usecs(usecs: i64) -> Result { assert_initialized_main_thread!(); unsafe { @@ -89,6 +95,7 @@ impl DateTime { } #[doc(alias = "gst_date_time_get_year")] + #[doc(alias = "get_year")] pub fn year(&self) -> i32 { unsafe { ffi::gst_date_time_get_year(self.to_glib_none().0) } } diff --git a/gstreamer/src/auto/device.rs b/gstreamer/src/auto/device.rs index 3677f4b9d..69c35329f 100644 --- a/gstreamer/src/auto/device.rs +++ b/gstreamer/src/auto/device.rs @@ -33,15 +33,19 @@ pub trait DeviceExt: 'static { fn create_element(&self, name: Option<&str>) -> Result; #[doc(alias = "gst_device_get_caps")] + #[doc(alias = "get_caps")] fn caps(&self) -> Option; #[doc(alias = "gst_device_get_device_class")] + #[doc(alias = "get_device_class")] fn device_class(&self) -> glib::GString; #[doc(alias = "gst_device_get_display_name")] + #[doc(alias = "get_display_name")] fn display_name(&self) -> glib::GString; #[doc(alias = "gst_device_get_properties")] + #[doc(alias = "get_properties")] fn properties(&self) -> Option; #[doc(alias = "gst_device_has_classes")] @@ -56,6 +60,7 @@ pub trait DeviceExt: 'static { element: &P, ) -> Result<(), glib::error::BoolError>; + #[doc(alias = "removed")] fn connect_removed(&self, f: F) -> SignalHandlerId; } @@ -131,6 +136,7 @@ impl> DeviceExt for O { } } + #[doc(alias = "removed")] fn connect_removed(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn removed_trampoline( this: *mut ffi::GstDevice, diff --git a/gstreamer/src/auto/device_monitor.rs b/gstreamer/src/auto/device_monitor.rs index f45ae6456..eb9b8da03 100644 --- a/gstreamer/src/auto/device_monitor.rs +++ b/gstreamer/src/auto/device_monitor.rs @@ -31,15 +31,19 @@ pub const NONE_DEVICE_MONITOR: Option<&DeviceMonitor> = None; pub trait DeviceMonitorExt: 'static { #[doc(alias = "gst_device_monitor_get_bus")] + #[doc(alias = "get_bus")] fn bus(&self) -> Bus; #[doc(alias = "gst_device_monitor_get_devices")] + #[doc(alias = "get_devices")] fn devices(&self) -> Vec; #[doc(alias = "gst_device_monitor_get_providers")] + #[doc(alias = "get_providers")] fn providers(&self) -> Vec; #[doc(alias = "gst_device_monitor_get_show_all_devices")] + #[doc(alias = "get_show_all_devices")] fn shows_all_devices(&self) -> bool; #[doc(alias = "gst_device_monitor_set_show_all_devices")] @@ -51,13 +55,14 @@ pub trait DeviceMonitorExt: 'static { #[doc(alias = "gst_device_monitor_stop")] fn stop(&self); - #[doc(alias = "get_property_show_all")] + #[doc(alias = "show-all")] fn shows_all(&self) -> bool; - #[doc(alias = "set_property_show_all")] + #[doc(alias = "show-all")] fn set_show_all(&self, show_all: bool); - fn connect_property_show_all_notify( + #[doc(alias = "show-all")] + fn connect_show_all_notify( &self, f: F, ) -> SignalHandlerId; @@ -144,7 +149,8 @@ impl> DeviceMonitorExt for O { } } - fn connect_property_show_all_notify( + #[doc(alias = "show-all")] + fn connect_show_all_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer/src/auto/device_provider.rs b/gstreamer/src/auto/device_provider.rs index 31d145194..09a47bc7d 100644 --- a/gstreamer/src/auto/device_provider.rs +++ b/gstreamer/src/auto/device_provider.rs @@ -44,15 +44,19 @@ pub trait DeviceProviderExt: 'static { fn device_remove>(&self, device: &P); #[doc(alias = "gst_device_provider_get_bus")] + #[doc(alias = "get_bus")] fn bus(&self) -> Bus; #[doc(alias = "gst_device_provider_get_devices")] + #[doc(alias = "get_devices")] fn devices(&self) -> Vec; #[doc(alias = "gst_device_provider_get_factory")] + #[doc(alias = "get_factory")] fn factory(&self) -> Option; #[doc(alias = "gst_device_provider_get_hidden_providers")] + #[doc(alias = "get_hidden_providers")] fn hidden_providers(&self) -> Vec; #[doc(alias = "gst_device_provider_hide_provider")] @@ -67,11 +71,13 @@ pub trait DeviceProviderExt: 'static { #[doc(alias = "gst_device_provider_unhide_provider")] fn unhide_provider(&self, name: &str); + #[doc(alias = "provider-hidden")] fn connect_provider_hidden( &self, f: F, ) -> SignalHandlerId; + #[doc(alias = "provider-unhidden")] fn connect_provider_unhidden( &self, f: F, @@ -182,6 +188,7 @@ impl> DeviceProviderExt for O { } } + #[doc(alias = "provider-hidden")] fn connect_provider_hidden( &self, f: F, @@ -215,6 +222,7 @@ impl> DeviceProviderExt for O { } } + #[doc(alias = "provider-unhidden")] fn connect_provider_unhidden( &self, f: F, diff --git a/gstreamer/src/auto/device_provider_factory.rs b/gstreamer/src/auto/device_provider_factory.rs index 897cb1004..172f1f11a 100644 --- a/gstreamer/src/auto/device_provider_factory.rs +++ b/gstreamer/src/auto/device_provider_factory.rs @@ -24,6 +24,7 @@ impl DeviceProviderFactory { } #[doc(alias = "gst_device_provider_factory_get_device_provider_type")] + #[doc(alias = "get_device_provider_type")] pub fn device_provider_type(&self) -> glib::types::Type { unsafe { from_glib(ffi::gst_device_provider_factory_get_device_provider_type( @@ -33,6 +34,7 @@ impl DeviceProviderFactory { } #[doc(alias = "gst_device_provider_factory_get_metadata")] + #[doc(alias = "get_metadata")] pub fn metadata(&self, key: &str) -> Option { unsafe { from_glib_none(ffi::gst_device_provider_factory_get_metadata( @@ -43,6 +45,7 @@ impl DeviceProviderFactory { } #[doc(alias = "gst_device_provider_factory_get_metadata_keys")] + #[doc(alias = "get_metadata_keys")] pub fn metadata_keys(&self) -> Vec { unsafe { FromGlibPtrContainer::from_glib_full( @@ -78,6 +81,7 @@ impl DeviceProviderFactory { } #[doc(alias = "gst_device_provider_factory_get_by_name")] + #[doc(alias = "get_by_name")] pub fn by_name(factoryname: &str) -> Option { assert_initialized_main_thread!(); unsafe { diff --git a/gstreamer/src/auto/element.rs b/gstreamer/src/auto/element.rs index 48e09a647..5da8511a7 100644 --- a/gstreamer/src/auto/element.rs +++ b/gstreamer/src/auto/element.rs @@ -87,36 +87,47 @@ pub trait ElementExt: 'static { fn foreach_src_pad bool>(&self, func: P) -> bool; #[doc(alias = "gst_element_get_base_time")] + #[doc(alias = "get_base_time")] fn base_time(&self) -> ClockTime; #[doc(alias = "gst_element_get_bus")] + #[doc(alias = "get_bus")] fn bus(&self) -> Option; #[doc(alias = "gst_element_get_clock")] + #[doc(alias = "get_clock")] fn clock(&self) -> Option; #[doc(alias = "gst_element_get_compatible_pad")] + #[doc(alias = "get_compatible_pad")] fn compatible_pad>(&self, pad: &P, caps: Option<&Caps>) -> Option; #[doc(alias = "gst_element_get_compatible_pad_template")] + #[doc(alias = "get_compatible_pad_template")] fn compatible_pad_template(&self, compattempl: &PadTemplate) -> Option; #[doc(alias = "gst_element_get_context")] + #[doc(alias = "get_context")] fn context(&self, context_type: &str) -> Option; #[doc(alias = "gst_element_get_contexts")] + #[doc(alias = "get_contexts")] fn contexts(&self) -> Vec; #[doc(alias = "gst_element_get_factory")] + #[doc(alias = "get_factory")] fn factory(&self) -> Option; #[doc(alias = "gst_element_get_request_pad")] + #[doc(alias = "get_request_pad")] fn request_pad_simple(&self, name: &str) -> Option; #[doc(alias = "gst_element_get_start_time")] + #[doc(alias = "get_start_time")] fn start_time(&self) -> ClockTime; #[doc(alias = "gst_element_get_static_pad")] + #[doc(alias = "get_static_pad")] fn static_pad(&self, name: &str) -> Option; #[doc(alias = "gst_element_is_locked_state")] @@ -231,13 +242,16 @@ pub trait ElementExt: 'static { #[doc(alias = "gst_element_unlink_pads")] fn unlink_pads>(&self, srcpadname: &str, dest: &P, destpadname: &str); + #[doc(alias = "no-more-pads")] fn connect_no_more_pads(&self, f: F) -> SignalHandlerId; + #[doc(alias = "pad-added")] fn connect_pad_added( &self, f: F, ) -> SignalHandlerId; + #[doc(alias = "pad-removed")] fn connect_pad_removed( &self, f: F, @@ -688,6 +702,7 @@ impl> ElementExt for O { } } + #[doc(alias = "no-more-pads")] fn connect_no_more_pads(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn no_more_pads_trampoline( this: *mut ffi::GstElement, @@ -711,6 +726,7 @@ impl> ElementExt for O { } } + #[doc(alias = "pad-added")] fn connect_pad_added( &self, f: F, @@ -741,6 +757,7 @@ impl> ElementExt for O { } } + #[doc(alias = "pad-removed")] fn connect_pad_removed( &self, f: F, diff --git a/gstreamer/src/auto/element_factory.rs b/gstreamer/src/auto/element_factory.rs index 91f5187fc..95f8a61d5 100644 --- a/gstreamer/src/auto/element_factory.rs +++ b/gstreamer/src/auto/element_factory.rs @@ -75,6 +75,7 @@ impl ElementFactory { } #[doc(alias = "gst_element_factory_get_element_type")] + #[doc(alias = "get_element_type")] pub fn element_type(&self) -> glib::types::Type { unsafe { from_glib(ffi::gst_element_factory_get_element_type( @@ -84,6 +85,7 @@ impl ElementFactory { } #[doc(alias = "gst_element_factory_get_metadata")] + #[doc(alias = "get_metadata")] pub fn metadata(&self, key: &str) -> Option { unsafe { from_glib_none(ffi::gst_element_factory_get_metadata( @@ -94,6 +96,7 @@ impl ElementFactory { } #[doc(alias = "gst_element_factory_get_metadata_keys")] + #[doc(alias = "get_metadata_keys")] pub fn metadata_keys(&self) -> Vec { unsafe { FromGlibPtrContainer::from_glib_full(ffi::gst_element_factory_get_metadata_keys( @@ -103,11 +106,13 @@ impl ElementFactory { } #[doc(alias = "gst_element_factory_get_num_pad_templates")] + #[doc(alias = "get_num_pad_templates")] pub fn num_pad_templates(&self) -> u32 { unsafe { ffi::gst_element_factory_get_num_pad_templates(self.to_glib_none().0) } } #[doc(alias = "gst_element_factory_get_static_pad_templates")] + #[doc(alias = "get_static_pad_templates")] pub fn static_pad_templates(&self) -> Vec { unsafe { FromGlibPtrContainer::from_glib_none(ffi::gst_element_factory_get_static_pad_templates( @@ -117,6 +122,7 @@ impl ElementFactory { } #[doc(alias = "gst_element_factory_get_uri_protocols")] + #[doc(alias = "get_uri_protocols")] pub fn uri_protocols(&self) -> Vec { unsafe { FromGlibPtrContainer::from_glib_none(ffi::gst_element_factory_get_uri_protocols( @@ -126,6 +132,7 @@ impl ElementFactory { } #[doc(alias = "gst_element_factory_get_uri_type")] + #[doc(alias = "get_uri_type")] pub fn uri_type(&self) -> URIType { unsafe { from_glib(ffi::gst_element_factory_get_uri_type(self.to_glib_none().0)) } } diff --git a/gstreamer/src/auto/enums.rs b/gstreamer/src/auto/enums.rs index 89506c027..90919b293 100644 --- a/gstreamer/src/auto/enums.rs +++ b/gstreamer/src/auto/enums.rs @@ -844,6 +844,7 @@ pub enum EventType { impl EventType { #[doc(alias = "gst_event_type_get_flags")] + #[doc(alias = "get_flags")] pub fn flags(self) -> EventTypeFlags { assert_initialized_main_thread!(); unsafe { from_glib(ffi::gst_event_type_get_flags(self.into_glib())) } @@ -1139,17 +1140,20 @@ pub enum Format { impl Format { #[doc(alias = "gst_format_get_by_nick")] + #[doc(alias = "get_by_nick")] pub fn by_nick(nick: &str) -> Format { assert_initialized_main_thread!(); unsafe { from_glib(ffi::gst_format_get_by_nick(nick.to_glib_none().0)) } } //#[doc(alias = "gst_format_get_details")] + //#[doc(alias = "get_details")] //pub fn details(self) -> /*Ignored*/Option { // unsafe { TODO: call ffi:gst_format_get_details() } //} #[doc(alias = "gst_format_get_name")] + #[doc(alias = "get_name")] pub fn name(self) -> Option { assert_initialized_main_thread!(); unsafe { from_glib_none(ffi::gst_format_get_name(self.into_glib())) } diff --git a/gstreamer/src/auto/functions.rs b/gstreamer/src/auto/functions.rs index cda9fddd3..5e09f933e 100644 --- a/gstreamer/src/auto/functions.rs +++ b/gstreamer/src/auto/functions.rs @@ -178,6 +178,7 @@ pub fn debug_unset_threshold_for_name(name: &str) { #[cfg(any(feature = "v1_14", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_14")))] #[doc(alias = "gst_get_main_executable_path")] +#[doc(alias = "get_main_executable_path")] pub fn main_executable_path() -> Result { assert_initialized_main_thread!(); unsafe { diff --git a/gstreamer/src/auto/ghost_pad.rs b/gstreamer/src/auto/ghost_pad.rs index bb562b9b0..29797bebd 100644 --- a/gstreamer/src/auto/ghost_pad.rs +++ b/gstreamer/src/auto/ghost_pad.rs @@ -24,6 +24,7 @@ pub const NONE_GHOST_PAD: Option<&GhostPad> = None; pub trait GhostPadExt: 'static { #[doc(alias = "gst_ghost_pad_get_target")] + #[doc(alias = "get_target")] fn target(&self) -> Option; #[doc(alias = "gst_ghost_pad_set_target")] diff --git a/gstreamer/src/auto/object.rs b/gstreamer/src/auto/object.rs index 4c2160134..928f240fb 100644 --- a/gstreamer/src/auto/object.rs +++ b/gstreamer/src/auto/object.rs @@ -73,24 +73,31 @@ pub trait GstObjectExt: 'static { fn default_error(&self, error: &glib::Error, debug: Option<&str>); #[doc(alias = "gst_object_get_control_binding")] + #[doc(alias = "get_control_binding")] fn control_binding(&self, property_name: &str) -> Option; #[doc(alias = "gst_object_get_control_rate")] + #[doc(alias = "get_control_rate")] fn control_rate(&self) -> ClockTime; #[doc(alias = "gst_object_get_name")] + #[doc(alias = "get_name")] fn name(&self) -> glib::GString; #[doc(alias = "gst_object_get_parent")] + #[doc(alias = "get_parent")] fn parent(&self) -> Option; #[doc(alias = "gst_object_get_path_string")] + #[doc(alias = "get_path_string")] fn path_string(&self) -> glib::GString; #[doc(alias = "gst_object_get_value")] + #[doc(alias = "get_value")] fn value(&self, property_name: &str, timestamp: ClockTime) -> Option; //#[doc(alias = "gst_object_get_value_array")] + //#[doc(alias = "get_value_array")] //fn is_value_array(&self, property_name: &str, timestamp: ClockTime, interval: ClockTime, n_values: u32, values: /*Unimplemented*/Option) -> bool; #[doc(alias = "gst_object_has_active_control_bindings")] @@ -129,12 +136,11 @@ pub trait GstObjectExt: 'static { #[doc(alias = "gst_object_unparent")] fn unparent(&self); + //#[doc(alias = "deep-notify")] //fn connect_deep_notify(&self, detail: Option<&str>, f: F) -> SignalHandlerId; - fn connect_property_parent_notify( - &self, - f: F, - ) -> SignalHandlerId; + #[doc(alias = "parent")] + fn connect_parent_notify(&self, f: F) -> SignalHandlerId; } impl> GstObjectExt for O { @@ -317,14 +323,13 @@ impl> GstObjectExt for O { } } + //#[doc(alias = "deep-notify")] //fn connect_deep_notify(&self, detail: Option<&str>, f: F) -> SignalHandlerId { // Ignored prop: GObject.ParamSpec //} - fn connect_property_parent_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "parent")] + fn connect_parent_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_parent_trampoline( this: *mut ffi::GstObject, _param_spec: glib::ffi::gpointer, diff --git a/gstreamer/src/auto/pad.rs b/gstreamer/src/auto/pad.rs index 098177435..0e502ca3b 100644 --- a/gstreamer/src/auto/pad.rs +++ b/gstreamer/src/auto/pad.rs @@ -69,51 +69,65 @@ pub trait PadExt: 'static { fn forward bool>(&self, forward: P) -> bool; #[doc(alias = "gst_pad_get_allowed_caps")] + #[doc(alias = "get_allowed_caps")] fn allowed_caps(&self) -> Option; #[doc(alias = "gst_pad_get_current_caps")] + #[doc(alias = "get_current_caps")] fn current_caps(&self) -> Option; #[doc(alias = "gst_pad_get_direction")] + #[doc(alias = "get_direction")] fn direction(&self) -> PadDirection; //#[doc(alias = "gst_pad_get_element_private")] + //#[doc(alias = "get_element_private")] //fn element_private(&self) -> /*Unimplemented*/Option; #[doc(alias = "gst_pad_get_offset")] + #[doc(alias = "get_offset")] fn offset(&self) -> i64; #[doc(alias = "gst_pad_get_pad_template")] + #[doc(alias = "get_pad_template")] fn pad_template(&self) -> Option; #[doc(alias = "gst_pad_get_pad_template_caps")] + #[doc(alias = "get_pad_template_caps")] fn pad_template_caps(&self) -> Caps; #[doc(alias = "gst_pad_get_parent_element")] + #[doc(alias = "get_parent_element")] fn parent_element(&self) -> Option; #[doc(alias = "gst_pad_get_peer")] + #[doc(alias = "get_peer")] fn peer(&self) -> Option; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "gst_pad_get_single_internal_link")] + #[doc(alias = "get_single_internal_link")] fn single_internal_link(&self) -> Option; #[doc(alias = "gst_pad_get_sticky_event")] + #[doc(alias = "get_sticky_event")] fn sticky_event(&self, event_type: EventType, idx: u32) -> Option; #[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] #[doc(alias = "gst_pad_get_stream")] + #[doc(alias = "get_stream")] fn stream(&self) -> Option; #[doc(alias = "gst_pad_get_stream_id")] + #[doc(alias = "get_stream_id")] fn stream_id(&self) -> Option; #[cfg(any(feature = "v1_12", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))] #[doc(alias = "gst_pad_get_task_state")] + #[doc(alias = "get_task_state")] fn task_state(&self) -> TaskState; #[doc(alias = "gst_pad_has_current_caps")] @@ -190,23 +204,20 @@ pub trait PadExt: 'static { #[doc(alias = "gst_pad_use_fixed_caps")] fn use_fixed_caps(&self); - #[doc(alias = "get_property_caps")] fn caps(&self) -> Option; + #[doc(alias = "linked")] fn connect_linked(&self, f: F) -> SignalHandlerId; + #[doc(alias = "unlinked")] fn connect_unlinked(&self, f: F) -> SignalHandlerId; - fn connect_property_caps_notify( - &self, - f: F, - ) -> SignalHandlerId; + #[doc(alias = "caps")] + fn connect_caps_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_offset_notify( - &self, - f: F, - ) -> SignalHandlerId; + #[doc(alias = "offset")] + fn connect_offset_notify(&self, f: F) -> SignalHandlerId; } impl> PadExt for O { @@ -560,6 +571,7 @@ impl> PadExt for O { } } + #[doc(alias = "linked")] fn connect_linked(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn linked_trampoline( this: *mut ffi::GstPad, @@ -587,6 +599,7 @@ impl> PadExt for O { } } + #[doc(alias = "unlinked")] fn connect_unlinked( &self, f: F, @@ -617,10 +630,8 @@ impl> PadExt for O { } } - fn connect_property_caps_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "caps")] + fn connect_caps_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_caps_trampoline( this: *mut ffi::GstPad, _param_spec: glib::ffi::gpointer, @@ -644,10 +655,8 @@ impl> PadExt for O { } } - fn connect_property_offset_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "offset")] + fn connect_offset_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_offset_trampoline( this: *mut ffi::GstPad, _param_spec: glib::ffi::gpointer, diff --git a/gstreamer/src/auto/pad_template.rs b/gstreamer/src/auto/pad_template.rs index edcaf0887..bf440e8c2 100644 --- a/gstreamer/src/auto/pad_template.rs +++ b/gstreamer/src/auto/pad_template.rs @@ -48,6 +48,7 @@ impl PadTemplate { #[cfg(any(feature = "v1_14", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_14")))] #[doc(alias = "gst_pad_template_new_with_gtype")] + #[doc(alias = "new_with_gtype")] pub fn with_gtype( name_template: &str, direction: PadDirection, @@ -69,6 +70,7 @@ impl PadTemplate { } #[doc(alias = "gst_pad_template_get_caps")] + #[doc(alias = "get_caps")] pub fn caps(&self) -> Caps { unsafe { from_glib_full(ffi::gst_pad_template_get_caps(self.to_glib_none().0)) } } @@ -76,6 +78,7 @@ impl PadTemplate { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "gst_pad_template_get_documentation_caps")] + #[doc(alias = "get_documentation_caps")] pub fn documentation_caps(&self) -> Caps { unsafe { from_glib_full(ffi::gst_pad_template_get_documentation_caps( @@ -103,7 +106,6 @@ impl PadTemplate { } } - #[doc(alias = "get_property_direction")] pub fn direction(&self) -> PadDirection { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -120,7 +122,6 @@ impl PadTemplate { #[cfg(any(feature = "v1_14", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_14")))] - #[doc(alias = "get_property_gtype")] pub fn gtype(&self) -> glib::types::Type { unsafe { let mut value = @@ -136,7 +137,7 @@ impl PadTemplate { } } - #[doc(alias = "get_property_name_template")] + #[doc(alias = "name-template")] pub fn name_template(&self) -> Option { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -151,7 +152,6 @@ impl PadTemplate { } } - #[doc(alias = "get_property_presence")] pub fn presence(&self) -> PadPresence { unsafe { let mut value = glib::Value::from_type(::static_type()); @@ -166,6 +166,7 @@ impl PadTemplate { } } + #[doc(alias = "pad-created")] pub fn connect_pad_created( &self, f: F, diff --git a/gstreamer/src/auto/pipeline.rs b/gstreamer/src/auto/pipeline.rs index 6a2413b28..1e50fc6d8 100644 --- a/gstreamer/src/auto/pipeline.rs +++ b/gstreamer/src/auto/pipeline.rs @@ -45,15 +45,19 @@ pub trait PipelineExt: 'static { fn auto_clock(&self); #[doc(alias = "gst_pipeline_get_auto_flush_bus")] + #[doc(alias = "get_auto_flush_bus")] fn is_auto_flush_bus(&self) -> bool; #[doc(alias = "gst_pipeline_get_delay")] + #[doc(alias = "get_delay")] fn delay(&self) -> ClockTime; #[doc(alias = "gst_pipeline_get_latency")] + #[doc(alias = "get_latency")] fn latency(&self) -> ClockTime; #[doc(alias = "gst_pipeline_get_pipeline_clock")] + #[doc(alias = "get_pipeline_clock")] fn pipeline_clock(&self) -> Clock; #[doc(alias = "gst_pipeline_set_auto_flush_bus")] @@ -68,20 +72,18 @@ pub trait PipelineExt: 'static { #[doc(alias = "gst_pipeline_use_clock")] fn use_clock>(&self, clock: Option<&P>); - fn connect_property_auto_flush_bus_notify( + #[doc(alias = "auto-flush-bus")] + fn connect_auto_flush_bus_notify( &self, f: F, ) -> SignalHandlerId; - fn connect_property_delay_notify( - &self, - f: F, - ) -> SignalHandlerId; + #[doc(alias = "delay")] + fn connect_delay_notify(&self, f: F) -> SignalHandlerId; - fn connect_property_latency_notify( - &self, - f: F, - ) -> SignalHandlerId; + #[doc(alias = "latency")] + fn connect_latency_notify(&self, f: F) + -> SignalHandlerId; } impl> PipelineExt for O { @@ -149,7 +151,8 @@ impl> PipelineExt for O { } } - fn connect_property_auto_flush_bus_notify( + #[doc(alias = "auto-flush-bus")] + fn connect_auto_flush_bus_notify( &self, f: F, ) -> SignalHandlerId { @@ -179,10 +182,8 @@ impl> PipelineExt for O { } } - fn connect_property_delay_notify( - &self, - f: F, - ) -> SignalHandlerId { + #[doc(alias = "delay")] + fn connect_delay_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_delay_trampoline( this: *mut ffi::GstPipeline, _param_spec: glib::ffi::gpointer, @@ -206,7 +207,8 @@ impl> PipelineExt for O { } } - fn connect_property_latency_notify( + #[doc(alias = "latency")] + fn connect_latency_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer/src/auto/plugin.rs b/gstreamer/src/auto/plugin.rs index f6a390356..e2bc35c76 100644 --- a/gstreamer/src/auto/plugin.rs +++ b/gstreamer/src/auto/plugin.rs @@ -56,31 +56,37 @@ impl Plugin { } #[doc(alias = "gst_plugin_get_description")] + #[doc(alias = "get_description")] pub fn description(&self) -> glib::GString { unsafe { from_glib_none(ffi::gst_plugin_get_description(self.to_glib_none().0)) } } #[doc(alias = "gst_plugin_get_filename")] + #[doc(alias = "get_filename")] pub fn filename(&self) -> Option { unsafe { from_glib_none(ffi::gst_plugin_get_filename(self.to_glib_none().0)) } } #[doc(alias = "gst_plugin_get_license")] + #[doc(alias = "get_license")] pub fn license(&self) -> glib::GString { unsafe { from_glib_none(ffi::gst_plugin_get_license(self.to_glib_none().0)) } } #[doc(alias = "gst_plugin_get_origin")] + #[doc(alias = "get_origin")] pub fn origin(&self) -> glib::GString { unsafe { from_glib_none(ffi::gst_plugin_get_origin(self.to_glib_none().0)) } } #[doc(alias = "gst_plugin_get_package")] + #[doc(alias = "get_package")] pub fn package(&self) -> glib::GString { unsafe { from_glib_none(ffi::gst_plugin_get_package(self.to_glib_none().0)) } } #[doc(alias = "gst_plugin_get_release_date_string")] + #[doc(alias = "get_release_date_string")] pub fn release_date_string(&self) -> Option { unsafe { from_glib_none(ffi::gst_plugin_get_release_date_string( @@ -90,11 +96,13 @@ impl Plugin { } #[doc(alias = "gst_plugin_get_source")] + #[doc(alias = "get_source")] pub fn source(&self) -> glib::GString { unsafe { from_glib_none(ffi::gst_plugin_get_source(self.to_glib_none().0)) } } #[doc(alias = "gst_plugin_get_version")] + #[doc(alias = "get_version")] pub fn version(&self) -> glib::GString { unsafe { from_glib_none(ffi::gst_plugin_get_version(self.to_glib_none().0)) } } diff --git a/gstreamer/src/auto/plugin_feature.rs b/gstreamer/src/auto/plugin_feature.rs index 9a6adcecb..74bfb9fe5 100644 --- a/gstreamer/src/auto/plugin_feature.rs +++ b/gstreamer/src/auto/plugin_feature.rs @@ -26,9 +26,11 @@ pub trait PluginFeatureExt: 'static { fn check_version(&self, min_major: u32, min_minor: u32, min_micro: u32) -> bool; #[doc(alias = "gst_plugin_feature_get_plugin")] + #[doc(alias = "get_plugin")] fn plugin(&self) -> Option; #[doc(alias = "gst_plugin_feature_get_plugin_name")] + #[doc(alias = "get_plugin_name")] fn plugin_name(&self) -> Option; } diff --git a/gstreamer/src/auto/preset.rs b/gstreamer/src/auto/preset.rs index d3633331a..894f7fb46 100644 --- a/gstreamer/src/auto/preset.rs +++ b/gstreamer/src/auto/preset.rs @@ -17,6 +17,7 @@ glib::wrapper! { impl Preset { #[doc(alias = "gst_preset_get_app_dir")] + #[doc(alias = "get_app_dir")] pub fn app_dir() -> Option { assert_initialized_main_thread!(); unsafe { from_glib_none(ffi::gst_preset_get_app_dir()) } @@ -46,12 +47,15 @@ pub trait PresetExt: 'static { fn delete_preset(&self, name: &str) -> Result<(), glib::error::BoolError>; #[doc(alias = "gst_preset_get_meta")] + #[doc(alias = "get_meta")] fn meta(&self, name: &str, tag: &str) -> Option; #[doc(alias = "gst_preset_get_preset_names")] + #[doc(alias = "get_preset_names")] fn preset_names(&self) -> Vec; #[doc(alias = "gst_preset_get_property_names")] + #[doc(alias = "get_property_names")] fn property_names(&self) -> Vec; #[doc(alias = "gst_preset_is_editable")] diff --git a/gstreamer/src/auto/proxy_pad.rs b/gstreamer/src/auto/proxy_pad.rs index 1a7211d48..9a9e1033f 100644 --- a/gstreamer/src/auto/proxy_pad.rs +++ b/gstreamer/src/auto/proxy_pad.rs @@ -30,6 +30,7 @@ pub const NONE_PROXY_PAD: Option<&ProxyPad> = None; pub trait ProxyPadExt: 'static { #[doc(alias = "gst_proxy_pad_get_internal")] + #[doc(alias = "get_internal")] fn internal(&self) -> Option; } diff --git a/gstreamer/src/auto/registry.rs b/gstreamer/src/auto/registry.rs index e636d22fc..fd95fab7c 100644 --- a/gstreamer/src/auto/registry.rs +++ b/gstreamer/src/auto/registry.rs @@ -118,6 +118,7 @@ impl Registry { } #[doc(alias = "gst_registry_get_feature_list")] + #[doc(alias = "get_feature_list")] pub fn feature_list(&self, type_: glib::types::Type) -> Vec { unsafe { FromGlibPtrContainer::from_glib_full(ffi::gst_registry_get_feature_list( @@ -128,6 +129,7 @@ impl Registry { } #[doc(alias = "gst_registry_get_feature_list_by_plugin")] + #[doc(alias = "get_feature_list_by_plugin")] pub fn feature_list_by_plugin(&self, name: &str) -> Vec { unsafe { FromGlibPtrContainer::from_glib_full(ffi::gst_registry_get_feature_list_by_plugin( @@ -138,11 +140,13 @@ impl Registry { } #[doc(alias = "gst_registry_get_feature_list_cookie")] + #[doc(alias = "get_feature_list_cookie")] pub fn feature_list_cookie(&self) -> u32 { unsafe { ffi::gst_registry_get_feature_list_cookie(self.to_glib_none().0) } } #[doc(alias = "gst_registry_get_plugin_list")] + #[doc(alias = "get_plugin_list")] pub fn plugin_list(&self) -> Vec { unsafe { FromGlibPtrContainer::from_glib_full(ffi::gst_registry_get_plugin_list( @@ -228,6 +232,7 @@ impl Registry { unsafe { from_glib_none(ffi::gst_registry_get()) } } + #[doc(alias = "feature-added")] pub fn connect_feature_added( &self, f: F, @@ -255,6 +260,7 @@ impl Registry { } } + #[doc(alias = "plugin-added")] pub fn connect_plugin_added( &self, f: F, diff --git a/gstreamer/src/auto/stream.rs b/gstreamer/src/auto/stream.rs index 41dd62711..7bc512949 100644 --- a/gstreamer/src/auto/stream.rs +++ b/gstreamer/src/auto/stream.rs @@ -25,26 +25,31 @@ glib::wrapper! { impl Stream { #[doc(alias = "gst_stream_get_caps")] + #[doc(alias = "get_caps")] pub fn caps(&self) -> Option { unsafe { from_glib_full(ffi::gst_stream_get_caps(self.to_glib_none().0)) } } #[doc(alias = "gst_stream_get_stream_flags")] + #[doc(alias = "get_stream_flags")] pub fn stream_flags(&self) -> StreamFlags { unsafe { from_glib(ffi::gst_stream_get_stream_flags(self.to_glib_none().0)) } } #[doc(alias = "gst_stream_get_stream_id")] + #[doc(alias = "get_stream_id")] pub fn stream_id(&self) -> Option { unsafe { from_glib_none(ffi::gst_stream_get_stream_id(self.to_glib_none().0)) } } #[doc(alias = "gst_stream_get_stream_type")] + #[doc(alias = "get_stream_type")] pub fn stream_type(&self) -> StreamType { unsafe { from_glib(ffi::gst_stream_get_stream_type(self.to_glib_none().0)) } } #[doc(alias = "gst_stream_get_tags")] + #[doc(alias = "get_tags")] pub fn tags(&self) -> Option { unsafe { from_glib_full(ffi::gst_stream_get_tags(self.to_glib_none().0)) } } @@ -79,7 +84,8 @@ impl Stream { #[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] - pub fn connect_property_caps_notify( + #[doc(alias = "caps")] + pub fn connect_caps_notify( &self, f: F, ) -> SignalHandlerId { @@ -106,7 +112,8 @@ impl Stream { #[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] - pub fn connect_property_stream_flags_notify( + #[doc(alias = "stream-flags")] + pub fn connect_stream_flags_notify( &self, f: F, ) -> SignalHandlerId { @@ -135,7 +142,8 @@ impl Stream { #[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] - pub fn connect_property_stream_type_notify( + #[doc(alias = "stream-type")] + pub fn connect_stream_type_notify( &self, f: F, ) -> SignalHandlerId { @@ -164,7 +172,8 @@ impl Stream { #[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] - pub fn connect_property_tags_notify( + #[doc(alias = "tags")] + pub fn connect_tags_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer/src/auto/stream_collection.rs b/gstreamer/src/auto/stream_collection.rs index dcfdc1416..029eeb1ae 100644 --- a/gstreamer/src/auto/stream_collection.rs +++ b/gstreamer/src/auto/stream_collection.rs @@ -17,11 +17,13 @@ glib::wrapper! { impl StreamCollection { #[doc(alias = "gst_stream_collection_get_size")] + #[doc(alias = "get_size")] pub fn size(&self) -> u32 { unsafe { ffi::gst_stream_collection_get_size(self.to_glib_none().0) } } #[doc(alias = "gst_stream_collection_get_stream")] + #[doc(alias = "get_stream")] pub fn stream(&self, index: u32) -> Option { unsafe { from_glib_none(ffi::gst_stream_collection_get_stream( @@ -32,6 +34,7 @@ impl StreamCollection { } #[doc(alias = "gst_stream_collection_get_upstream_id")] + #[doc(alias = "get_upstream_id")] pub fn upstream_id(&self) -> Option { unsafe { from_glib_none(ffi::gst_stream_collection_get_upstream_id( @@ -40,6 +43,7 @@ impl StreamCollection { } } + //#[doc(alias = "stream-notify")] //pub fn connect_stream_notify(&self, detail: Option<&str>, f: F) -> SignalHandlerId { // Ignored p0: GObject.ParamSpec //} diff --git a/gstreamer/src/auto/system_clock.rs b/gstreamer/src/auto/system_clock.rs index 7d60724ae..112756791 100644 --- a/gstreamer/src/auto/system_clock.rs +++ b/gstreamer/src/auto/system_clock.rs @@ -46,13 +46,14 @@ unsafe impl Sync for SystemClock {} pub const NONE_SYSTEM_CLOCK: Option<&SystemClock> = None; pub trait SystemClockExt: 'static { - #[doc(alias = "get_property_clock_type")] + #[doc(alias = "clock-type")] fn clock_type(&self) -> ClockType; - #[doc(alias = "set_property_clock_type")] + #[doc(alias = "clock-type")] fn set_clock_type(&self, clock_type: ClockType); - fn connect_property_clock_type_notify( + #[doc(alias = "clock-type")] + fn connect_clock_type_notify( &self, f: F, ) -> SignalHandlerId; @@ -83,7 +84,8 @@ impl> SystemClockExt for O { } } - fn connect_property_clock_type_notify( + #[doc(alias = "clock-type")] + fn connect_clock_type_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer/src/auto/tag_setter.rs b/gstreamer/src/auto/tag_setter.rs index 8c85876da..250cff813 100644 --- a/gstreamer/src/auto/tag_setter.rs +++ b/gstreamer/src/auto/tag_setter.rs @@ -37,9 +37,11 @@ pub trait TagSetterExt: 'static { //fn add_tags(&self, mode: TagMergeMode, tag: &str, : /*Unknown conversion*//*Unimplemented*/Fundamental: VarArgs); #[doc(alias = "gst_tag_setter_get_tag_list")] + #[doc(alias = "get_tag_list")] fn tag_list(&self) -> Option; #[doc(alias = "gst_tag_setter_get_tag_merge_mode")] + #[doc(alias = "get_tag_merge_mode")] fn tag_merge_mode(&self) -> TagMergeMode; #[doc(alias = "gst_tag_setter_merge_tags")] diff --git a/gstreamer/src/auto/toc_setter.rs b/gstreamer/src/auto/toc_setter.rs index 645a6e9b0..62cbc7218 100644 --- a/gstreamer/src/auto/toc_setter.rs +++ b/gstreamer/src/auto/toc_setter.rs @@ -24,6 +24,7 @@ pub const NONE_TOC_SETTER: Option<&TocSetter> = None; pub trait TocSetterExt: 'static { #[doc(alias = "gst_toc_setter_get_toc")] + #[doc(alias = "get_toc")] fn toc(&self) -> Option; #[doc(alias = "gst_toc_setter_reset")] diff --git a/gstreamer/src/auto/type_find_factory.rs b/gstreamer/src/auto/type_find_factory.rs index b2df5b376..cfdc4536e 100644 --- a/gstreamer/src/auto/type_find_factory.rs +++ b/gstreamer/src/auto/type_find_factory.rs @@ -23,11 +23,13 @@ impl TypeFindFactory { //} #[doc(alias = "gst_type_find_factory_get_caps")] + #[doc(alias = "get_caps")] pub fn caps(&self) -> Option { unsafe { from_glib_none(ffi::gst_type_find_factory_get_caps(self.to_glib_none().0)) } } #[doc(alias = "gst_type_find_factory_get_extensions")] + #[doc(alias = "get_extensions")] pub fn extensions(&self) -> Vec { unsafe { FromGlibPtrContainer::from_glib_none(ffi::gst_type_find_factory_get_extensions( @@ -46,6 +48,7 @@ impl TypeFindFactory { } #[doc(alias = "gst_type_find_factory_get_list")] + #[doc(alias = "get_list")] pub fn list() -> Vec { assert_initialized_main_thread!(); unsafe { FromGlibPtrContainer::from_glib_full(ffi::gst_type_find_factory_get_list()) } diff --git a/gstreamer/src/auto/uri_handler.rs b/gstreamer/src/auto/uri_handler.rs index 16270ad78..23d401cd9 100644 --- a/gstreamer/src/auto/uri_handler.rs +++ b/gstreamer/src/auto/uri_handler.rs @@ -23,12 +23,15 @@ pub const NONE_URI_HANDLER: Option<&URIHandler> = None; pub trait URIHandlerExt: 'static { #[doc(alias = "gst_uri_handler_get_protocols")] + #[doc(alias = "get_protocols")] fn protocols(&self) -> Vec; #[doc(alias = "gst_uri_handler_get_uri")] + #[doc(alias = "get_uri")] fn uri(&self) -> Option; #[doc(alias = "gst_uri_handler_get_uri_type")] + #[doc(alias = "get_uri_type")] fn uri_type(&self) -> URIType; #[doc(alias = "gst_uri_handler_set_uri")] diff --git a/gstreamer/src/auto/versions.txt b/gstreamer/src/auto/versions.txt index 33aa18251..1ed8d5e7b 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 @ 0516825) +Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer/sys/build.rs b/gstreamer/sys/build.rs index bae1ce3d4..0cbbd0fe4 100644 --- a/gstreamer/sys/build.rs +++ b/gstreamer/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer/sys/src/lib.rs b/gstreamer/sys/src/lib.rs index 8f1929553..f71c88cf3 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer/sys/tests/abi.rs b/gstreamer/sys/tests/abi.rs index 9ec9e0ac0..f8836a7ce 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer/sys/tests/constant.c b/gstreamer/sys/tests/constant.c index 0e298f9c0..90825bd73 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer/sys/tests/layout.c b/gstreamer/sys/tests/layout.c index 47ba4446f..7ec536bf7 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 @ 0516825) +// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT