From 7fcd560d1848ac001949e1467ffc437e6721ee27 Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Wed, 2 Jun 2021 09:47:51 +0200 Subject: [PATCH] Update gir and regenerate - Doc aliases for types; - ffi constants for bitflags too; - Completely overhauled docs generation under the hood (only emitting valid links, more types receive documentation now). --- gir | 2 +- gstreamer-app/src/auto/app_sink.rs | 1 + gstreamer-app/src/auto/app_src.rs | 1 + 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 | 1 + gstreamer-audio/src/auto/audio_base_src.rs | 1 + gstreamer-audio/src/auto/audio_decoder.rs | 1 + gstreamer-audio/src/auto/audio_encoder.rs | 1 + gstreamer-audio/src/auto/audio_sink.rs | 1 + gstreamer-audio/src/auto/audio_src.rs | 1 + gstreamer-audio/src/auto/flags.rs | 24 +- gstreamer-audio/src/auto/stream_volume.rs | 1 + gstreamer-audio/src/auto/versions.txt | 2 +- gstreamer-audio/sys/build.rs | 2 +- gstreamer-audio/sys/src/lib.rs | 2 +- gstreamer-audio/sys/tests/abi.rs | 2 +- gstreamer-audio/sys/tests/constant.c | 2 +- gstreamer-audio/sys/tests/layout.c | 2 +- gstreamer-base/src/auto/adapter.rs | 1 + gstreamer-base/src/auto/aggregator.rs | 1 + gstreamer-base/src/auto/aggregator_pad.rs | 1 + gstreamer-base/src/auto/base_parse.rs | 1 + gstreamer-base/src/auto/base_sink.rs | 1 + gstreamer-base/src/auto/base_src.rs | 1 + gstreamer-base/src/auto/base_transform.rs | 1 + gstreamer-base/src/auto/flags.rs | 16 +- gstreamer-base/src/auto/push_src.rs | 1 + 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 | 1 + 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 | 1 + .../src/auto/direct_control_binding.rs | 1 + .../src/auto/interpolation_control_source.rs | 1 + .../src/auto/lfo_control_source.rs | 1 + .../src/auto/proxy_control_binding.rs | 1 + .../src/auto/timed_value_control_source.rs | 1 + .../src/auto/trigger_control_source.rs | 1 + 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 | 1 + .../src/auto/base_effect.rs | 1 + .../src/auto/base_transition_clip.rs | 1 + gstreamer-editing-services/src/auto/clip.rs | 1 + .../src/auto/container.rs | 1 + gstreamer-editing-services/src/auto/effect.rs | 1 + .../src/auto/extractable.rs | 1 + gstreamer-editing-services/src/auto/flags.rs | 32 +- gstreamer-editing-services/src/auto/group.rs | 1 + gstreamer-editing-services/src/auto/layer.rs | 1 + .../src/auto/operation_clip.rs | 1 + .../src/auto/pipeline.rs | 1 + .../src/auto/project.rs | 1 + .../src/auto/timeline.rs | 1 + .../src/auto/timeline_element.rs | 1 + gstreamer-editing-services/src/auto/track.rs | 1 + .../src/auto/track_element.rs | 1 + .../src/auto/transition_clip.rs | 1 + .../src/auto/uri_clip.rs | 1 + .../src/auto/uri_clip_asset.rs | 1 + .../src/auto/uri_source_asset.rs | 1 + .../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 | 1 + 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/flags.rs | 67 ++- gstreamer-gl/src/auto/gl_base_filter.rs | 1 + .../src/auto/gl_base_memory_allocator.rs | 1 + gstreamer-gl/src/auto/gl_base_src.rs | 1 + gstreamer-gl/src/auto/gl_color_convert.rs | 1 + gstreamer-gl/src/auto/gl_context.rs | 1 + gstreamer-gl/src/auto/gl_display.rs | 1 + gstreamer-gl/src/auto/gl_filter.rs | 1 + gstreamer-gl/src/auto/gl_framebuffer.rs | 1 + gstreamer-gl/src/auto/gl_memory_allocator.rs | 1 + .../src/auto/gl_overlay_compositor.rs | 1 + gstreamer-gl/src/auto/gl_shader.rs | 1 + gstreamer-gl/src/auto/gl_upload.rs | 1 + gstreamer-gl/src/auto/gl_view_convert.rs | 1 + gstreamer-gl/src/auto/gl_window.rs | 1 + gstreamer-gl/src/auto/glsl_stage.rs | 1 + 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 | 1 + gstreamer-net/src/auto/net_time_provider.rs | 1 + gstreamer-net/src/auto/ntp_clock.rs | 1 + gstreamer-net/src/auto/ptp_clock.rs | 1 + 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 | 1 + .../src/auto/discoverer_audio_info.rs | 1 + .../src/auto/discoverer_container_info.rs | 1 + gstreamer-pbutils/src/auto/discoverer_info.rs | 1 + .../src/auto/discoverer_stream_info.rs | 1 + .../src/auto/discoverer_subtitle_info.rs | 1 + .../src/auto/discoverer_video_info.rs | 1 + .../src/auto/encoding_audio_profile.rs | 1 + .../src/auto/encoding_container_profile.rs | 1 + .../src/auto/encoding_profile.rs | 1 + gstreamer-pbutils/src/auto/encoding_target.rs | 1 + .../src/auto/encoding_video_profile.rs | 1 + gstreamer-pbutils/src/auto/flags.rs | 10 +- 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/player.rs | 1 + .../src/auto/player_audio_info.rs | 1 + .../player_gmain_context_signal_dispatcher.rs | 1 + .../src/auto/player_media_info.rs | 1 + .../src/auto/player_signal_dispatcher.rs | 1 + .../src/auto/player_stream_info.rs | 1 + .../src/auto/player_subtitle_info.rs | 1 + .../src/auto/player_video_info.rs | 1 + .../player_video_overlay_video_renderer.rs | 1 + .../src/auto/player_video_renderer.rs | 1 + 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/flags.rs | 11 +- 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/flags.rs | 23 +- .../src/auto/rtsp_address_pool.rs | 1 + gstreamer-rtsp-server/src/auto/rtsp_auth.rs | 1 + gstreamer-rtsp-server/src/auto/rtsp_client.rs | 1 + gstreamer-rtsp-server/src/auto/rtsp_media.rs | 1 + .../src/auto/rtsp_media_factory.rs | 1 + .../src/auto/rtsp_media_factory_uri.rs | 1 + .../src/auto/rtsp_mount_points.rs | 1 + gstreamer-rtsp-server/src/auto/rtsp_server.rs | 1 + .../src/auto/rtsp_session.rs | 1 + .../src/auto/rtsp_session_media.rs | 1 + .../src/auto/rtsp_session_pool.rs | 1 + gstreamer-rtsp-server/src/auto/rtsp_stream.rs | 1 + .../src/auto/rtsp_stream_transport.rs | 1 + .../src/auto/rtsp_thread_pool.rs | 1 + 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/flags.rs | 83 ++- 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/flags.rs | 169 ++++-- gstreamer-video/src/auto/versions.txt | 2 +- gstreamer-video/src/auto/video_buffer_pool.rs | 1 + gstreamer-video/src/auto/video_decoder.rs | 1 + gstreamer-video/src/auto/video_encoder.rs | 1 + gstreamer-video/src/auto/video_filter.rs | 1 + gstreamer-video/src/auto/video_orientation.rs | 1 + gstreamer-video/src/auto/video_overlay.rs | 1 + gstreamer-video/src/auto/video_sink.rs | 1 + 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 | 1 + .../src/auto/web_rtcdtls_transport.rs | 1 + .../src/auto/web_rtcice_transport.rs | 1 + .../src/auto/web_rtcrtp_receiver.rs | 1 + .../src/auto/web_rtcrtp_sender.rs | 1 + .../src/auto/web_rtcrtp_transceiver.rs | 1 + gstreamer-webrtc/sys/build.rs | 2 +- gstreamer-webrtc/sys/src/lib.rs | 2 +- gstreamer-webrtc/sys/tests/abi.rs | 2 +- gstreamer-webrtc/sys/tests/constant.c | 2 +- gstreamer-webrtc/sys/tests/layout.c | 2 +- gstreamer/src/auto/allocator.rs | 1 + gstreamer/src/auto/bin.rs | 1 + gstreamer/src/auto/buffer_pool.rs | 1 + gstreamer/src/auto/bus.rs | 1 + gstreamer/src/auto/child_proxy.rs | 1 + gstreamer/src/auto/clock.rs | 1 + gstreamer/src/auto/control_binding.rs | 1 + gstreamer/src/auto/control_source.rs | 1 + gstreamer/src/auto/device.rs | 1 + gstreamer/src/auto/device_monitor.rs | 1 + gstreamer/src/auto/device_provider.rs | 1 + gstreamer/src/auto/device_provider_factory.rs | 1 + gstreamer/src/auto/element.rs | 1 + gstreamer/src/auto/element_factory.rs | 1 + gstreamer/src/auto/flags.rs | 496 ++++++++++++------ gstreamer/src/auto/ghost_pad.rs | 1 + gstreamer/src/auto/object.rs | 1 + gstreamer/src/auto/pad.rs | 1 + gstreamer/src/auto/pad_template.rs | 1 + gstreamer/src/auto/pipeline.rs | 1 + gstreamer/src/auto/plugin.rs | 1 + gstreamer/src/auto/plugin_feature.rs | 1 + gstreamer/src/auto/preset.rs | 1 + gstreamer/src/auto/proxy_pad.rs | 1 + gstreamer/src/auto/registry.rs | 1 + gstreamer/src/auto/stream.rs | 1 + gstreamer/src/auto/stream_collection.rs | 1 + gstreamer/src/auto/system_clock.rs | 1 + gstreamer/src/auto/tag_setter.rs | 1 + gstreamer/src/auto/toc_setter.rs | 1 + gstreamer/src/auto/type_find_factory.rs | 1 + gstreamer/src/auto/uri_handler.rs | 1 + 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 +- 288 files changed, 917 insertions(+), 423 deletions(-) diff --git a/gir b/gir index de679ce5e..72e79f771 160000 --- a/gir +++ b/gir @@ -1 +1 @@ -Subproject commit de679ce5e7c26674ad788084227ec52f03f1df59 +Subproject commit 72e79f771ec2a79f2a1b70ff8bd24ecab1791dcd diff --git a/gstreamer-app/src/auto/app_sink.rs b/gstreamer-app/src/auto/app_sink.rs index 3bbf09409..0ef799a15 100644 --- a/gstreamer-app/src/auto/app_sink.rs +++ b/gstreamer-app/src/auto/app_sink.rs @@ -13,6 +13,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstAppSink")] pub struct AppSink(Object) @extends gst::Element, gst::Object, @implements gst::URIHandler; match fn { diff --git a/gstreamer-app/src/auto/app_src.rs b/gstreamer-app/src/auto/app_src.rs index 03303241e..13f7eb76d 100644 --- a/gstreamer-app/src/auto/app_src.rs +++ b/gstreamer-app/src/auto/app_src.rs @@ -14,6 +14,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstAppSrc")] pub struct AppSrc(Object) @extends gst::Element, gst::Object, @implements gst::URIHandler; match fn { diff --git a/gstreamer-app/src/auto/versions.txt b/gstreamer-app/src/auto/versions.txt index 618c31e5c..aacb38c9b 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 @ de679ce) +Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) 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 36827cfe6..90a7404a1 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 4a9fcdec1..a980f5e85 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 bc7557290..fc05c236c 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 13f29c9fa..9368b33b4 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 c5d8ec0e3..7e8899ae5 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 e261a515e..6bdac9821 100644 --- a/gstreamer-audio/src/auto/audio_base_sink.rs +++ b/gstreamer-audio/src/auto/audio_base_sink.rs @@ -14,6 +14,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstAudioBaseSink")] pub struct AudioBaseSink(Object) @extends gst_base::BaseSink, gst::Element, gst::Object; match fn { diff --git a/gstreamer-audio/src/auto/audio_base_src.rs b/gstreamer-audio/src/auto/audio_base_src.rs index 815e39388..ad8cd48da 100644 --- a/gstreamer-audio/src/auto/audio_base_src.rs +++ b/gstreamer-audio/src/auto/audio_base_src.rs @@ -14,6 +14,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstAudioBaseSrc")] pub struct AudioBaseSrc(Object) @extends gst_base::BaseSrc, gst::Element, gst::Object; match fn { diff --git a/gstreamer-audio/src/auto/audio_decoder.rs b/gstreamer-audio/src/auto/audio_decoder.rs index 386bfe230..23fc828d4 100644 --- a/gstreamer-audio/src/auto/audio_decoder.rs +++ b/gstreamer-audio/src/auto/audio_decoder.rs @@ -14,6 +14,7 @@ use std::mem; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstAudioDecoder")] pub struct AudioDecoder(Object) @extends gst::Element, gst::Object; match fn { diff --git a/gstreamer-audio/src/auto/audio_encoder.rs b/gstreamer-audio/src/auto/audio_encoder.rs index 0f877e404..81bbf2acd 100644 --- a/gstreamer-audio/src/auto/audio_encoder.rs +++ b/gstreamer-audio/src/auto/audio_encoder.rs @@ -13,6 +13,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstAudioEncoder")] pub struct AudioEncoder(Object) @extends gst::Element, gst::Object; match fn { diff --git a/gstreamer-audio/src/auto/audio_sink.rs b/gstreamer-audio/src/auto/audio_sink.rs index fd03a92db..7cccc0765 100644 --- a/gstreamer-audio/src/auto/audio_sink.rs +++ b/gstreamer-audio/src/auto/audio_sink.rs @@ -6,6 +6,7 @@ use crate::AudioBaseSink; glib::wrapper! { + #[doc(alias = "GstAudioSink")] pub struct AudioSink(Object) @extends AudioBaseSink, gst_base::BaseSink, gst::Element, gst::Object; match fn { diff --git a/gstreamer-audio/src/auto/audio_src.rs b/gstreamer-audio/src/auto/audio_src.rs index c17e7f6c4..21cd70659 100644 --- a/gstreamer-audio/src/auto/audio_src.rs +++ b/gstreamer-audio/src/auto/audio_src.rs @@ -6,6 +6,7 @@ use crate::AudioBaseSrc; glib::wrapper! { + #[doc(alias = "GstAudioSrc")] pub struct AudioSrc(Object) @extends AudioBaseSrc, gst_base::BaseSrc, gst::Element, gst::Object; match fn { diff --git a/gstreamer-audio/src/auto/flags.rs b/gstreamer-audio/src/auto/flags.rs index f552b0b41..e2fe296b9 100644 --- a/gstreamer-audio/src/auto/flags.rs +++ b/gstreamer-audio/src/auto/flags.rs @@ -11,8 +11,10 @@ use glib::StaticType; use glib::Type; bitflags! { + #[doc(alias = "GstAudioFlags")] pub struct AudioFlags: u32 { - const UNPOSITIONED = 1; + #[doc(alias = "GST_AUDIO_FLAG_UNPOSITIONED")] + const UNPOSITIONED = ffi::GST_AUDIO_FLAG_UNPOSITIONED as u32; } } @@ -67,12 +69,18 @@ impl ToValue for AudioFlags { } bitflags! { + #[doc(alias = "GstAudioFormatFlags")] pub struct AudioFormatFlags: u32 { - const INTEGER = 1; - const FLOAT = 2; - const SIGNED = 4; - const COMPLEX = 16; - const UNPACK = 32; + #[doc(alias = "GST_AUDIO_FORMAT_FLAG_INTEGER")] + const INTEGER = ffi::GST_AUDIO_FORMAT_FLAG_INTEGER as u32; + #[doc(alias = "GST_AUDIO_FORMAT_FLAG_FLOAT")] + const FLOAT = ffi::GST_AUDIO_FORMAT_FLAG_FLOAT as u32; + #[doc(alias = "GST_AUDIO_FORMAT_FLAG_SIGNED")] + const SIGNED = ffi::GST_AUDIO_FORMAT_FLAG_SIGNED as u32; + #[doc(alias = "GST_AUDIO_FORMAT_FLAG_COMPLEX")] + const COMPLEX = ffi::GST_AUDIO_FORMAT_FLAG_COMPLEX as u32; + #[doc(alias = "GST_AUDIO_FORMAT_FLAG_UNPACK")] + const UNPACK = ffi::GST_AUDIO_FORMAT_FLAG_UNPACK as u32; } } @@ -127,8 +135,10 @@ impl ToValue for AudioFormatFlags { } bitflags! { + #[doc(alias = "GstAudioPackFlags")] pub struct AudioPackFlags: u32 { - const TRUNCATE_RANGE = 1; + #[doc(alias = "GST_AUDIO_PACK_FLAG_TRUNCATE_RANGE")] + const TRUNCATE_RANGE = ffi::GST_AUDIO_PACK_FLAG_TRUNCATE_RANGE as u32; } } diff --git a/gstreamer-audio/src/auto/stream_volume.rs b/gstreamer-audio/src/auto/stream_volume.rs index dd82169ce..3329df0af 100644 --- a/gstreamer-audio/src/auto/stream_volume.rs +++ b/gstreamer-audio/src/auto/stream_volume.rs @@ -13,6 +13,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstStreamVolume")] pub struct StreamVolume(Interface); match fn { diff --git a/gstreamer-audio/src/auto/versions.txt b/gstreamer-audio/src/auto/versions.txt index 618c31e5c..aacb38c9b 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 @ de679ce) +Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) 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 36827cfe6..90a7404a1 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 bfa4689a9..6f78943c7 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 6dcd29bba..bb5772491 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 ab31980ae..e30aa72ad 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 a46c213c1..e7a2637c2 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-base/src/auto/adapter.rs b/gstreamer-base/src/auto/adapter.rs index 68f462963..64f9740b7 100644 --- a/gstreamer-base/src/auto/adapter.rs +++ b/gstreamer-base/src/auto/adapter.rs @@ -8,6 +8,7 @@ use glib::ObjectExt; use std::mem; glib::wrapper! { + #[doc(alias = "GstAdapter")] pub struct Adapter(Object); match fn { diff --git a/gstreamer-base/src/auto/aggregator.rs b/gstreamer-base/src/auto/aggregator.rs index e1943b2d9..d16cd3c0d 100644 --- a/gstreamer-base/src/auto/aggregator.rs +++ b/gstreamer-base/src/auto/aggregator.rs @@ -20,6 +20,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstAggregator")] pub struct Aggregator(Object) @extends gst::Element, gst::Object; match fn { diff --git a/gstreamer-base/src/auto/aggregator_pad.rs b/gstreamer-base/src/auto/aggregator_pad.rs index f244eaefa..8e38bd45a 100644 --- a/gstreamer-base/src/auto/aggregator_pad.rs +++ b/gstreamer-base/src/auto/aggregator_pad.rs @@ -18,6 +18,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstAggregatorPad")] pub struct AggregatorPad(Object) @extends gst::Pad, gst::Object; match fn { diff --git a/gstreamer-base/src/auto/base_parse.rs b/gstreamer-base/src/auto/base_parse.rs index 9446387fb..2d962ea4b 100644 --- a/gstreamer-base/src/auto/base_parse.rs +++ b/gstreamer-base/src/auto/base_parse.rs @@ -14,6 +14,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstBaseParse")] pub struct BaseParse(Object) @extends gst::Element, gst::Object; match fn { diff --git a/gstreamer-base/src/auto/base_sink.rs b/gstreamer-base/src/auto/base_sink.rs index 393006509..21db367a5 100644 --- a/gstreamer-base/src/auto/base_sink.rs +++ b/gstreamer-base/src/auto/base_sink.rs @@ -15,6 +15,7 @@ use std::mem; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstBaseSink")] pub struct BaseSink(Object) @extends gst::Element, gst::Object; match fn { diff --git a/gstreamer-base/src/auto/base_src.rs b/gstreamer-base/src/auto/base_src.rs index 15b3b336f..2f5c7c842 100644 --- a/gstreamer-base/src/auto/base_src.rs +++ b/gstreamer-base/src/auto/base_src.rs @@ -14,6 +14,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstBaseSrc")] pub struct BaseSrc(Object) @extends gst::Element, gst::Object; match fn { diff --git a/gstreamer-base/src/auto/base_transform.rs b/gstreamer-base/src/auto/base_transform.rs index 625cf5831..4f7402185 100644 --- a/gstreamer-base/src/auto/base_transform.rs +++ b/gstreamer-base/src/auto/base_transform.rs @@ -14,6 +14,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstBaseTransform")] pub struct BaseTransform(Object) @extends gst::Element, gst::Object; match fn { diff --git a/gstreamer-base/src/auto/flags.rs b/gstreamer-base/src/auto/flags.rs index b80cb67cb..32c993da9 100644 --- a/gstreamer-base/src/auto/flags.rs +++ b/gstreamer-base/src/auto/flags.rs @@ -7,12 +7,18 @@ use bitflags::bitflags; use glib::translate::*; bitflags! { + #[doc(alias = "GstBaseParseFrameFlags")] pub struct BaseParseFrameFlags: u32 { - const NEW_FRAME = 1; - const NO_FRAME = 2; - const CLIP = 4; - const DROP = 8; - const QUEUE = 16; + #[doc(alias = "GST_BASE_PARSE_FRAME_FLAG_NEW_FRAME")] + const NEW_FRAME = ffi::GST_BASE_PARSE_FRAME_FLAG_NEW_FRAME as u32; + #[doc(alias = "GST_BASE_PARSE_FRAME_FLAG_NO_FRAME")] + const NO_FRAME = ffi::GST_BASE_PARSE_FRAME_FLAG_NO_FRAME as u32; + #[doc(alias = "GST_BASE_PARSE_FRAME_FLAG_CLIP")] + const CLIP = ffi::GST_BASE_PARSE_FRAME_FLAG_CLIP as u32; + #[doc(alias = "GST_BASE_PARSE_FRAME_FLAG_DROP")] + const DROP = ffi::GST_BASE_PARSE_FRAME_FLAG_DROP as u32; + #[doc(alias = "GST_BASE_PARSE_FRAME_FLAG_QUEUE")] + const QUEUE = ffi::GST_BASE_PARSE_FRAME_FLAG_QUEUE as u32; } } diff --git a/gstreamer-base/src/auto/push_src.rs b/gstreamer-base/src/auto/push_src.rs index 61bdfea2a..433a57e54 100644 --- a/gstreamer-base/src/auto/push_src.rs +++ b/gstreamer-base/src/auto/push_src.rs @@ -6,6 +6,7 @@ use crate::BaseSrc; glib::wrapper! { + #[doc(alias = "GstPushSrc")] pub struct PushSrc(Object) @extends BaseSrc, gst::Element, gst::Object; match fn { diff --git a/gstreamer-base/src/auto/versions.txt b/gstreamer-base/src/auto/versions.txt index 618c31e5c..aacb38c9b 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 @ de679ce) +Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) 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 36827cfe6..90a7404a1 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 c3559169d..0d6bbaeb1 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 206f62039..e2429e4c0 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 f980a79b4..07cb164ab 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 13949a7c1..245325fd4 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 f0898406c..06335ca4d 100644 --- a/gstreamer-check/src/auto/test_clock.rs +++ b/gstreamer-check/src/auto/test_clock.rs @@ -14,6 +14,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstTestClock")] pub struct TestClock(Object) @extends gst::Clock, gst::Object; match fn { diff --git a/gstreamer-check/src/auto/versions.txt b/gstreamer-check/src/auto/versions.txt index 618c31e5c..aacb38c9b 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 @ de679ce) +Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) 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 36827cfe6..90a7404a1 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 7ad43b25a..6e59ed127 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 c7d632d53..d55cf04d2 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 eb7787791..42599d7e9 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 c0969aeba..5ed0c44ff 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 30e99a02a..586402cc9 100644 --- a/gstreamer-controller/src/auto/argb_control_binding.rs +++ b/gstreamer-controller/src/auto/argb_control_binding.rs @@ -14,6 +14,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstARGBControlBinding")] pub struct ARGBControlBinding(Object) @extends gst::ControlBinding, gst::Object; match fn { diff --git a/gstreamer-controller/src/auto/direct_control_binding.rs b/gstreamer-controller/src/auto/direct_control_binding.rs index 01d2f19b1..28b40f149 100644 --- a/gstreamer-controller/src/auto/direct_control_binding.rs +++ b/gstreamer-controller/src/auto/direct_control_binding.rs @@ -14,6 +14,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstDirectControlBinding")] pub struct DirectControlBinding(Object) @extends gst::ControlBinding, gst::Object; match fn { diff --git a/gstreamer-controller/src/auto/interpolation_control_source.rs b/gstreamer-controller/src/auto/interpolation_control_source.rs index 3ed27773b..cee7ffc92 100644 --- a/gstreamer-controller/src/auto/interpolation_control_source.rs +++ b/gstreamer-controller/src/auto/interpolation_control_source.rs @@ -16,6 +16,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstInterpolationControlSource")] pub struct InterpolationControlSource(Object) @extends TimedValueControlSource, gst::ControlSource, gst::Object; match fn { diff --git a/gstreamer-controller/src/auto/lfo_control_source.rs b/gstreamer-controller/src/auto/lfo_control_source.rs index 97aade3fb..cd833c589 100644 --- a/gstreamer-controller/src/auto/lfo_control_source.rs +++ b/gstreamer-controller/src/auto/lfo_control_source.rs @@ -15,6 +15,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstLFOControlSource")] pub struct LFOControlSource(Object) @extends gst::ControlSource, gst::Object; match fn { diff --git a/gstreamer-controller/src/auto/proxy_control_binding.rs b/gstreamer-controller/src/auto/proxy_control_binding.rs index ddca08081..ebf78a3e2 100644 --- a/gstreamer-controller/src/auto/proxy_control_binding.rs +++ b/gstreamer-controller/src/auto/proxy_control_binding.rs @@ -8,6 +8,7 @@ use glib::object::IsA; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstProxyControlBinding")] pub struct ProxyControlBinding(Object) @extends gst::ControlBinding, gst::Object; match fn { diff --git a/gstreamer-controller/src/auto/timed_value_control_source.rs b/gstreamer-controller/src/auto/timed_value_control_source.rs index b5e244f5d..9d22e8e6d 100644 --- a/gstreamer-controller/src/auto/timed_value_control_source.rs +++ b/gstreamer-controller/src/auto/timed_value_control_source.rs @@ -13,6 +13,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstTimedValueControlSource")] pub struct TimedValueControlSource(Object) @extends gst::ControlSource, gst::Object; match fn { diff --git a/gstreamer-controller/src/auto/trigger_control_source.rs b/gstreamer-controller/src/auto/trigger_control_source.rs index 17a38afec..30f0a6934 100644 --- a/gstreamer-controller/src/auto/trigger_control_source.rs +++ b/gstreamer-controller/src/auto/trigger_control_source.rs @@ -15,6 +15,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstTriggerControlSource")] pub struct TriggerControlSource(Object) @extends TimedValueControlSource, gst::ControlSource, gst::Object; match fn { diff --git a/gstreamer-controller/src/auto/versions.txt b/gstreamer-controller/src/auto/versions.txt index 618c31e5c..aacb38c9b 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 @ de679ce) +Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) 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 36827cfe6..90a7404a1 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 4dc00901d..9ac660427 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 b49f71526..818a40762 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 c6e2fbb74..58a4a8e6a 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 c83df4d71..71c079d7b 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 65e229a01..10a9d0db8 100644 --- a/gstreamer-editing-services/src/auto/asset.rs +++ b/gstreamer-editing-services/src/auto/asset.rs @@ -15,6 +15,7 @@ use std::pin::Pin; use std::ptr; glib::wrapper! { + #[doc(alias = "GESAsset")] pub struct Asset(Object); match fn { diff --git a/gstreamer-editing-services/src/auto/base_effect.rs b/gstreamer-editing-services/src/auto/base_effect.rs index 1445c7493..ad10b642d 100644 --- a/gstreamer-editing-services/src/auto/base_effect.rs +++ b/gstreamer-editing-services/src/auto/base_effect.rs @@ -12,6 +12,7 @@ use glib::object::IsA; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GESBaseEffect")] pub struct BaseEffect(Object) @extends TrackElement, TimelineElement, @implements Extractable; match fn { diff --git a/gstreamer-editing-services/src/auto/base_transition_clip.rs b/gstreamer-editing-services/src/auto/base_transition_clip.rs index 4e1d63404..a753719bd 100644 --- a/gstreamer-editing-services/src/auto/base_transition_clip.rs +++ b/gstreamer-editing-services/src/auto/base_transition_clip.rs @@ -10,6 +10,7 @@ use crate::OperationClip; use crate::TimelineElement; glib::wrapper! { + #[doc(alias = "GESBaseTransitionClip")] pub struct BaseTransitionClip(Object) @extends OperationClip, Clip, Container, TimelineElement, @implements Extractable; match fn { diff --git a/gstreamer-editing-services/src/auto/clip.rs b/gstreamer-editing-services/src/auto/clip.rs index 9a76e4e67..f7c184679 100644 --- a/gstreamer-editing-services/src/auto/clip.rs +++ b/gstreamer-editing-services/src/auto/clip.rs @@ -27,6 +27,7 @@ use std::mem::transmute; use std::ptr; glib::wrapper! { + #[doc(alias = "GESClip")] pub struct Clip(Object) @extends Container, TimelineElement, @implements Extractable; match fn { diff --git a/gstreamer-editing-services/src/auto/container.rs b/gstreamer-editing-services/src/auto/container.rs index 3b89e12a3..060fece78 100644 --- a/gstreamer-editing-services/src/auto/container.rs +++ b/gstreamer-editing-services/src/auto/container.rs @@ -18,6 +18,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GESContainer")] pub struct Container(Object) @extends TimelineElement, @implements Extractable; match fn { diff --git a/gstreamer-editing-services/src/auto/effect.rs b/gstreamer-editing-services/src/auto/effect.rs index b778ebeb0..eca3c47f9 100644 --- a/gstreamer-editing-services/src/auto/effect.rs +++ b/gstreamer-editing-services/src/auto/effect.rs @@ -12,6 +12,7 @@ use glib::translate::*; use glib::StaticType; glib::wrapper! { + #[doc(alias = "GESEffect")] pub struct Effect(Object) @extends BaseEffect, TrackElement, TimelineElement, @implements Extractable; match fn { diff --git a/gstreamer-editing-services/src/auto/extractable.rs b/gstreamer-editing-services/src/auto/extractable.rs index 73ee0d316..6f4f9b24c 100644 --- a/gstreamer-editing-services/src/auto/extractable.rs +++ b/gstreamer-editing-services/src/auto/extractable.rs @@ -8,6 +8,7 @@ use glib::object::IsA; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GESExtractable")] pub struct Extractable(Interface); match fn { diff --git a/gstreamer-editing-services/src/auto/flags.rs b/gstreamer-editing-services/src/auto/flags.rs index 589c274fd..a1ef0ae49 100644 --- a/gstreamer-editing-services/src/auto/flags.rs +++ b/gstreamer-editing-services/src/auto/flags.rs @@ -13,12 +13,18 @@ use std::ffi::CStr; use std::fmt; bitflags! { + #[doc(alias = "GESPipelineFlags")] pub struct PipelineFlags: u32 { - const AUDIO_PREVIEW = 1; - const VIDEO_PREVIEW = 2; - const FULL_PREVIEW = 3; - const RENDER = 4; - const SMART_RENDER = 8; + #[doc(alias = "GES_PIPELINE_MODE_PREVIEW_AUDIO")] + const AUDIO_PREVIEW = ffi::GES_PIPELINE_MODE_PREVIEW_AUDIO as u32; + #[doc(alias = "GES_PIPELINE_MODE_PREVIEW_VIDEO")] + const VIDEO_PREVIEW = ffi::GES_PIPELINE_MODE_PREVIEW_VIDEO as u32; + #[doc(alias = "GES_PIPELINE_MODE_PREVIEW")] + const FULL_PREVIEW = ffi::GES_PIPELINE_MODE_PREVIEW as u32; + #[doc(alias = "GES_PIPELINE_MODE_RENDER")] + const RENDER = ffi::GES_PIPELINE_MODE_RENDER as u32; + #[doc(alias = "GES_PIPELINE_MODE_SMART_RENDER")] + const SMART_RENDER = ffi::GES_PIPELINE_MODE_SMART_RENDER as u32; } } @@ -73,12 +79,18 @@ impl ToValue for PipelineFlags { } bitflags! { + #[doc(alias = "GESTrackType")] pub struct TrackType: u32 { - const UNKNOWN = 1; - const AUDIO = 2; - const VIDEO = 4; - const TEXT = 8; - const CUSTOM = 16; + #[doc(alias = "GES_TRACK_TYPE_UNKNOWN")] + const UNKNOWN = ffi::GES_TRACK_TYPE_UNKNOWN as u32; + #[doc(alias = "GES_TRACK_TYPE_AUDIO")] + const AUDIO = ffi::GES_TRACK_TYPE_AUDIO as u32; + #[doc(alias = "GES_TRACK_TYPE_VIDEO")] + const VIDEO = ffi::GES_TRACK_TYPE_VIDEO as u32; + #[doc(alias = "GES_TRACK_TYPE_TEXT")] + const TEXT = ffi::GES_TRACK_TYPE_TEXT as u32; + #[doc(alias = "GES_TRACK_TYPE_CUSTOM")] + const CUSTOM = ffi::GES_TRACK_TYPE_CUSTOM as u32; } } diff --git a/gstreamer-editing-services/src/auto/group.rs b/gstreamer-editing-services/src/auto/group.rs index 3580d452f..87d662f29 100644 --- a/gstreamer-editing-services/src/auto/group.rs +++ b/gstreamer-editing-services/src/auto/group.rs @@ -17,6 +17,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GESGroup")] pub struct Group(Object) @extends Container, TimelineElement, @implements Extractable; match fn { diff --git a/gstreamer-editing-services/src/auto/layer.rs b/gstreamer-editing-services/src/auto/layer.rs index 3a0509d76..15d8cf204 100644 --- a/gstreamer-editing-services/src/auto/layer.rs +++ b/gstreamer-editing-services/src/auto/layer.rs @@ -23,6 +23,7 @@ use std::mem::transmute; use std::ptr; glib::wrapper! { + #[doc(alias = "GESLayer")] pub struct Layer(Object) @implements Extractable; match fn { diff --git a/gstreamer-editing-services/src/auto/operation_clip.rs b/gstreamer-editing-services/src/auto/operation_clip.rs index c7a5813b8..762768680 100644 --- a/gstreamer-editing-services/src/auto/operation_clip.rs +++ b/gstreamer-editing-services/src/auto/operation_clip.rs @@ -9,6 +9,7 @@ use crate::Extractable; use crate::TimelineElement; glib::wrapper! { + #[doc(alias = "GESOperationClip")] pub struct OperationClip(Object) @extends Clip, Container, TimelineElement, @implements Extractable; match fn { diff --git a/gstreamer-editing-services/src/auto/pipeline.rs b/gstreamer-editing-services/src/auto/pipeline.rs index 2d7e75509..829514ad8 100644 --- a/gstreamer-editing-services/src/auto/pipeline.rs +++ b/gstreamer-editing-services/src/auto/pipeline.rs @@ -17,6 +17,7 @@ use std::mem::transmute; use std::ptr; glib::wrapper! { + #[doc(alias = "GESPipeline")] pub struct Pipeline(Object) @extends gst::Pipeline, gst::Bin, gst::Element, gst::Object; match fn { diff --git a/gstreamer-editing-services/src/auto/project.rs b/gstreamer-editing-services/src/auto/project.rs index 5fe790677..0673df7a3 100644 --- a/gstreamer-editing-services/src/auto/project.rs +++ b/gstreamer-editing-services/src/auto/project.rs @@ -15,6 +15,7 @@ use std::mem::transmute; use std::ptr; glib::wrapper! { + #[doc(alias = "GESProject")] pub struct Project(Object) @extends Asset; match fn { diff --git a/gstreamer-editing-services/src/auto/timeline.rs b/gstreamer-editing-services/src/auto/timeline.rs index aabadea76..f6c16bf04 100644 --- a/gstreamer-editing-services/src/auto/timeline.rs +++ b/gstreamer-editing-services/src/auto/timeline.rs @@ -26,6 +26,7 @@ use std::mem::transmute; use std::ptr; glib::wrapper! { + #[doc(alias = "GESTimeline")] pub struct Timeline(Object) @extends gst::Bin, gst::Element, gst::Object, @implements Extractable; match fn { diff --git a/gstreamer-editing-services/src/auto/timeline_element.rs b/gstreamer-editing-services/src/auto/timeline_element.rs index 8635c9e5b..a7cf5252f 100644 --- a/gstreamer-editing-services/src/auto/timeline_element.rs +++ b/gstreamer-editing-services/src/auto/timeline_element.rs @@ -32,6 +32,7 @@ use std::mem::transmute; use std::ptr; glib::wrapper! { + #[doc(alias = "GESTimelineElement")] pub struct TimelineElement(Object) @implements Extractable; match fn { diff --git a/gstreamer-editing-services/src/auto/track.rs b/gstreamer-editing-services/src/auto/track.rs index 56e19d5b3..16f14b10d 100644 --- a/gstreamer-editing-services/src/auto/track.rs +++ b/gstreamer-editing-services/src/auto/track.rs @@ -22,6 +22,7 @@ use std::mem::transmute; use std::ptr; glib::wrapper! { + #[doc(alias = "GESTrack")] pub struct Track(Object) @extends gst::Bin, gst::Element, gst::Object; match fn { diff --git a/gstreamer-editing-services/src/auto/track_element.rs b/gstreamer-editing-services/src/auto/track_element.rs index 99a5d6c82..6b9dd0067 100644 --- a/gstreamer-editing-services/src/auto/track_element.rs +++ b/gstreamer-editing-services/src/auto/track_element.rs @@ -19,6 +19,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GESTrackElement")] pub struct TrackElement(Object) @extends TimelineElement, @implements Extractable; match fn { diff --git a/gstreamer-editing-services/src/auto/transition_clip.rs b/gstreamer-editing-services/src/auto/transition_clip.rs index c70829e43..2db9560d7 100644 --- a/gstreamer-editing-services/src/auto/transition_clip.rs +++ b/gstreamer-editing-services/src/auto/transition_clip.rs @@ -21,6 +21,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GESTransitionClip")] pub struct TransitionClip(Object) @extends BaseTransitionClip, OperationClip, Clip, Container, TimelineElement, @implements Extractable; match fn { diff --git a/gstreamer-editing-services/src/auto/uri_clip.rs b/gstreamer-editing-services/src/auto/uri_clip.rs index 4f34d970e..4c744e3e2 100644 --- a/gstreamer-editing-services/src/auto/uri_clip.rs +++ b/gstreamer-editing-services/src/auto/uri_clip.rs @@ -16,6 +16,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GESUriClip")] pub struct UriClip(Object) @extends Clip, Container, TimelineElement, @implements Extractable; match fn { diff --git a/gstreamer-editing-services/src/auto/uri_clip_asset.rs b/gstreamer-editing-services/src/auto/uri_clip_asset.rs index e1065dc8b..412230a3a 100644 --- a/gstreamer-editing-services/src/auto/uri_clip_asset.rs +++ b/gstreamer-editing-services/src/auto/uri_clip_asset.rs @@ -19,6 +19,7 @@ use std::mem::transmute; use std::ptr; glib::wrapper! { + #[doc(alias = "GESUriClipAsset")] pub struct UriClipAsset(Object) @extends Asset; match fn { diff --git a/gstreamer-editing-services/src/auto/uri_source_asset.rs b/gstreamer-editing-services/src/auto/uri_source_asset.rs index df06bef9f..d4ced12d6 100644 --- a/gstreamer-editing-services/src/auto/uri_source_asset.rs +++ b/gstreamer-editing-services/src/auto/uri_source_asset.rs @@ -9,6 +9,7 @@ use glib::object::IsA; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GESUriSourceAsset")] pub struct UriSourceAsset(Object) @extends Asset; match fn { diff --git a/gstreamer-editing-services/src/auto/versions.txt b/gstreamer-editing-services/src/auto/versions.txt index 618c31e5c..aacb38c9b 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 @ de679ce) +Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) 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 36827cfe6..90a7404a1 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 1ced98931..da07760f5 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 7ba6cc54e..cf0adcf5f 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 6d2ac06a0..f123c3697 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 099f72ca5..bcadc134d 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 cae146c01..3c1bbc715 100644 --- a/gstreamer-gl/egl/src/auto/gl_display_egl.rs +++ b/gstreamer-gl/egl/src/auto/gl_display_egl.rs @@ -7,6 +7,7 @@ use glib::object::IsA; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstGLDisplayEGL")] pub struct GLDisplayEGL(Object) @extends gst_gl::GLDisplay, gst::Object; match fn { diff --git a/gstreamer-gl/egl/src/auto/versions.txt b/gstreamer-gl/egl/src/auto/versions.txt index 618c31e5c..aacb38c9b 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 @ de679ce) +Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) 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 36827cfe6..90a7404a1 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 9dc22fd31..eca3bca13 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 4bd88eecb..be3c481ea 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 adf86bb40..b2e5108bb 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 754d091b6..14470c6a0 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/src/auto/flags.rs b/gstreamer-gl/src/auto/flags.rs index 41af34bff..d65c9bbb0 100644 --- a/gstreamer-gl/src/auto/flags.rs +++ b/gstreamer-gl/src/auto/flags.rs @@ -12,11 +12,16 @@ use glib::Type; use std::fmt; bitflags! { + #[doc(alias = "GstGLAPI")] pub struct GLAPI: u32 { - const OPENGL = 1; - const OPENGL3 = 2; - const GLES1 = 32768; - const GLES2 = 65536; + #[doc(alias = "GST_GL_API_OPENGL")] + const OPENGL = ffi::GST_GL_API_OPENGL as u32; + #[doc(alias = "GST_GL_API_OPENGL3")] + const OPENGL3 = ffi::GST_GL_API_OPENGL3 as u32; + #[doc(alias = "GST_GL_API_GLES1")] + const GLES1 = ffi::GST_GL_API_GLES1 as u32; + #[doc(alias = "GST_GL_API_GLES2")] + const GLES2 = ffi::GST_GL_API_GLES2 as u32; } } @@ -93,18 +98,28 @@ impl ToValue for GLAPI { } bitflags! { + #[doc(alias = "GstGLDisplayType")] pub struct GLDisplayType: u32 { - const X11 = 1; - const WAYLAND = 2; - const COCOA = 4; - const WIN32 = 8; - const DISPMANX = 16; - const EGL = 32; - const VIV_FB = 64; - const GBM = 128; + #[doc(alias = "GST_GL_DISPLAY_TYPE_X11")] + const X11 = ffi::GST_GL_DISPLAY_TYPE_X11 as u32; + #[doc(alias = "GST_GL_DISPLAY_TYPE_WAYLAND")] + const WAYLAND = ffi::GST_GL_DISPLAY_TYPE_WAYLAND as u32; + #[doc(alias = "GST_GL_DISPLAY_TYPE_COCOA")] + const COCOA = ffi::GST_GL_DISPLAY_TYPE_COCOA as u32; + #[doc(alias = "GST_GL_DISPLAY_TYPE_WIN32")] + const WIN32 = ffi::GST_GL_DISPLAY_TYPE_WIN32 as u32; + #[doc(alias = "GST_GL_DISPLAY_TYPE_DISPMANX")] + const DISPMANX = ffi::GST_GL_DISPLAY_TYPE_DISPMANX as u32; + #[doc(alias = "GST_GL_DISPLAY_TYPE_EGL")] + const EGL = ffi::GST_GL_DISPLAY_TYPE_EGL as u32; + #[doc(alias = "GST_GL_DISPLAY_TYPE_VIV_FB")] + const VIV_FB = ffi::GST_GL_DISPLAY_TYPE_VIV_FB as u32; + #[doc(alias = "GST_GL_DISPLAY_TYPE_GBM")] + const GBM = ffi::GST_GL_DISPLAY_TYPE_GBM as u32; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - const EGL_DEVICE = 256; + #[doc(alias = "GST_GL_DISPLAY_TYPE_EGL_DEVICE")] + const EGL_DEVICE = ffi::GST_GL_DISPLAY_TYPE_EGL_DEVICE as u32; } } @@ -159,12 +174,18 @@ impl ToValue for GLDisplayType { } bitflags! { + #[doc(alias = "GstGLPlatform")] pub struct GLPlatform: u32 { - const EGL = 1; - const GLX = 2; - const WGL = 4; - const CGL = 8; - const EAGL = 16; + #[doc(alias = "GST_GL_PLATFORM_EGL")] + const EGL = ffi::GST_GL_PLATFORM_EGL as u32; + #[doc(alias = "GST_GL_PLATFORM_GLX")] + const GLX = ffi::GST_GL_PLATFORM_GLX as u32; + #[doc(alias = "GST_GL_PLATFORM_WGL")] + const WGL = ffi::GST_GL_PLATFORM_WGL as u32; + #[doc(alias = "GST_GL_PLATFORM_CGL")] + const CGL = ffi::GST_GL_PLATFORM_CGL as u32; + #[doc(alias = "GST_GL_PLATFORM_EAGL")] + const EAGL = ffi::GST_GL_PLATFORM_EAGL as u32; } } @@ -245,10 +266,14 @@ impl ToValue for GLPlatform { } bitflags! { + #[doc(alias = "GstGLSLProfile")] pub struct GLSLProfile: u32 { - const ES = 1; - const CORE = 2; - const COMPATIBILITY = 4; + #[doc(alias = "GST_GLSL_PROFILE_ES")] + const ES = ffi::GST_GLSL_PROFILE_ES as u32; + #[doc(alias = "GST_GLSL_PROFILE_CORE")] + const CORE = ffi::GST_GLSL_PROFILE_CORE as u32; + #[doc(alias = "GST_GLSL_PROFILE_COMPATIBILITY")] + const COMPATIBILITY = ffi::GST_GLSL_PROFILE_COMPATIBILITY as u32; } } diff --git a/gstreamer-gl/src/auto/gl_base_filter.rs b/gstreamer-gl/src/auto/gl_base_filter.rs index 0b17e93cc..f6597532a 100644 --- a/gstreamer-gl/src/auto/gl_base_filter.rs +++ b/gstreamer-gl/src/auto/gl_base_filter.rs @@ -14,6 +14,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstGLBaseFilter")] pub struct GLBaseFilter(Object) @extends gst_base::BaseTransform, gst::Element, gst::Object; match fn { diff --git a/gstreamer-gl/src/auto/gl_base_memory_allocator.rs b/gstreamer-gl/src/auto/gl_base_memory_allocator.rs index 887fef6e1..a63fd112f 100644 --- a/gstreamer-gl/src/auto/gl_base_memory_allocator.rs +++ b/gstreamer-gl/src/auto/gl_base_memory_allocator.rs @@ -4,6 +4,7 @@ // DO NOT EDIT glib::wrapper! { + #[doc(alias = "GstGLBaseMemoryAllocator")] pub struct GLBaseMemoryAllocator(Object) @extends gst::Allocator, gst::Object; match fn { diff --git a/gstreamer-gl/src/auto/gl_base_src.rs b/gstreamer-gl/src/auto/gl_base_src.rs index b1242a674..19cd5a53f 100644 --- a/gstreamer-gl/src/auto/gl_base_src.rs +++ b/gstreamer-gl/src/auto/gl_base_src.rs @@ -14,6 +14,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstGLBaseSrc")] pub struct GLBaseSrc(Object) @extends gst_base::PushSrc, gst_base::BaseSrc, gst::Element, gst::Object; match fn { diff --git a/gstreamer-gl/src/auto/gl_color_convert.rs b/gstreamer-gl/src/auto/gl_color_convert.rs index 90c61ce4f..49bd3b512 100644 --- a/gstreamer-gl/src/auto/gl_color_convert.rs +++ b/gstreamer-gl/src/auto/gl_color_convert.rs @@ -8,6 +8,7 @@ use glib::object::IsA; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstGLColorConvert")] pub struct GLColorConvert(Object) @extends gst::Object; match fn { diff --git a/gstreamer-gl/src/auto/gl_context.rs b/gstreamer-gl/src/auto/gl_context.rs index 63da50b25..8e45efb92 100644 --- a/gstreamer-gl/src/auto/gl_context.rs +++ b/gstreamer-gl/src/auto/gl_context.rs @@ -15,6 +15,7 @@ use std::mem; use std::ptr; glib::wrapper! { + #[doc(alias = "GstGLContext")] pub struct GLContext(Object) @extends gst::Object; match fn { diff --git a/gstreamer-gl/src/auto/gl_display.rs b/gstreamer-gl/src/auto/gl_display.rs index 650cd661f..62dfa12d1 100644 --- a/gstreamer-gl/src/auto/gl_display.rs +++ b/gstreamer-gl/src/auto/gl_display.rs @@ -17,6 +17,7 @@ use std::mem::transmute; use std::ptr; glib::wrapper! { + #[doc(alias = "GstGLDisplay")] pub struct GLDisplay(Object) @extends gst::Object; match fn { diff --git a/gstreamer-gl/src/auto/gl_filter.rs b/gstreamer-gl/src/auto/gl_filter.rs index a352d410e..2ed5820fe 100644 --- a/gstreamer-gl/src/auto/gl_filter.rs +++ b/gstreamer-gl/src/auto/gl_filter.rs @@ -10,6 +10,7 @@ use glib::object::IsA; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstGLFilter")] pub struct GLFilter(Object) @extends GLBaseFilter, gst_base::BaseTransform, gst::Element, gst::Object; match fn { diff --git a/gstreamer-gl/src/auto/gl_framebuffer.rs b/gstreamer-gl/src/auto/gl_framebuffer.rs index 8aaf31e8e..7a65fcd52 100644 --- a/gstreamer-gl/src/auto/gl_framebuffer.rs +++ b/gstreamer-gl/src/auto/gl_framebuffer.rs @@ -10,6 +10,7 @@ use glib::translate::*; use std::mem; glib::wrapper! { + #[doc(alias = "GstGLFramebuffer")] pub struct GLFramebuffer(Object) @extends gst::Object; match fn { diff --git a/gstreamer-gl/src/auto/gl_memory_allocator.rs b/gstreamer-gl/src/auto/gl_memory_allocator.rs index ba76c794c..eaa817a88 100644 --- a/gstreamer-gl/src/auto/gl_memory_allocator.rs +++ b/gstreamer-gl/src/auto/gl_memory_allocator.rs @@ -9,6 +9,7 @@ use glib::object::IsA; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstGLMemoryAllocator")] pub struct GLMemoryAllocator(Object) @extends GLBaseMemoryAllocator, gst::Allocator, gst::Object; match fn { diff --git a/gstreamer-gl/src/auto/gl_overlay_compositor.rs b/gstreamer-gl/src/auto/gl_overlay_compositor.rs index 8afe59b05..5ab479100 100644 --- a/gstreamer-gl/src/auto/gl_overlay_compositor.rs +++ b/gstreamer-gl/src/auto/gl_overlay_compositor.rs @@ -29,6 +29,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstGLOverlayCompositor")] pub struct GLOverlayCompositor(Object) @extends gst::Object; match fn { diff --git a/gstreamer-gl/src/auto/gl_shader.rs b/gstreamer-gl/src/auto/gl_shader.rs index 423355da1..d969aaa94 100644 --- a/gstreamer-gl/src/auto/gl_shader.rs +++ b/gstreamer-gl/src/auto/gl_shader.rs @@ -21,6 +21,7 @@ use std::mem::transmute; use std::ptr; glib::wrapper! { + #[doc(alias = "GstGLShader")] pub struct GLShader(Object) @extends gst::Object; match fn { diff --git a/gstreamer-gl/src/auto/gl_upload.rs b/gstreamer-gl/src/auto/gl_upload.rs index 0c265708d..c54829f0c 100644 --- a/gstreamer-gl/src/auto/gl_upload.rs +++ b/gstreamer-gl/src/auto/gl_upload.rs @@ -9,6 +9,7 @@ use glib::translate::*; use std::ptr; glib::wrapper! { + #[doc(alias = "GstGLUpload")] pub struct GLUpload(Object) @extends gst::Object; match fn { diff --git a/gstreamer-gl/src/auto/gl_view_convert.rs b/gstreamer-gl/src/auto/gl_view_convert.rs index 7acff53d0..88fd53026 100644 --- a/gstreamer-gl/src/auto/gl_view_convert.rs +++ b/gstreamer-gl/src/auto/gl_view_convert.rs @@ -16,6 +16,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstGLViewConvert")] pub struct GLViewConvert(Object) @extends gst::Object; match fn { diff --git a/gstreamer-gl/src/auto/gl_window.rs b/gstreamer-gl/src/auto/gl_window.rs index aa0fe07fe..19d4cc9de 100644 --- a/gstreamer-gl/src/auto/gl_window.rs +++ b/gstreamer-gl/src/auto/gl_window.rs @@ -15,6 +15,7 @@ use std::mem; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstGLWindow")] pub struct GLWindow(Object) @extends gst::Object; match fn { diff --git a/gstreamer-gl/src/auto/glsl_stage.rs b/gstreamer-gl/src/auto/glsl_stage.rs index 95224f3de..49974b538 100644 --- a/gstreamer-gl/src/auto/glsl_stage.rs +++ b/gstreamer-gl/src/auto/glsl_stage.rs @@ -11,6 +11,7 @@ use glib::translate::*; use std::ptr; glib::wrapper! { + #[doc(alias = "GstGLSLStage")] pub struct GLSLStage(Object) @extends gst::Object; match fn { diff --git a/gstreamer-gl/src/auto/versions.txt b/gstreamer-gl/src/auto/versions.txt index 618c31e5c..aacb38c9b 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 @ de679ce) +Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) 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 36827cfe6..90a7404a1 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 271c41dd1..ad09d9066 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 7d974be02..993b22216 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 b4b46e0bc..b4befc8d9 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 0471e2798..c65704a0e 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 1779e2115..8d0809643 100644 --- a/gstreamer-gl/wayland/src/auto/gl_display_wayland.rs +++ b/gstreamer-gl/wayland/src/auto/gl_display_wayland.rs @@ -6,6 +6,7 @@ use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstGLDisplayWayland")] pub struct GLDisplayWayland(Object) @extends gst_gl::GLDisplay, gst::Object; match fn { diff --git a/gstreamer-gl/wayland/src/auto/versions.txt b/gstreamer-gl/wayland/src/auto/versions.txt index 618c31e5c..aacb38c9b 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 @ de679ce) +Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) 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 36827cfe6..90a7404a1 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 110a29c25..98da02f4e 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 c56ebc2ef..dd25f9b15 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 eb7787791..42599d7e9 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 82be0ef7e..a8a0b8594 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 037db2901..774b85619 100644 --- a/gstreamer-gl/x11/src/auto/gl_display_x11.rs +++ b/gstreamer-gl/x11/src/auto/gl_display_x11.rs @@ -6,6 +6,7 @@ use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstGLDisplayX11")] pub struct GLDisplayX11(Object) @extends gst_gl::GLDisplay, gst::Object; match fn { diff --git a/gstreamer-gl/x11/src/auto/versions.txt b/gstreamer-gl/x11/src/auto/versions.txt index 618c31e5c..aacb38c9b 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 @ de679ce) +Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) 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 36827cfe6..90a7404a1 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 c3449c1cf..ec2cd8d97 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 f3fff4f32..e04df3f4e 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 eb7787791..42599d7e9 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 1df1401d1..1e714c429 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 36827cfe6..90a7404a1 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 02c75e7d5..177b67200 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 48619da5a..d38e9925f 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 8bc4f00aa..8401d70dc 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 e34eaa0aa..8250e5bb6 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 28ab3e20f..d9734c870 100644 --- a/gstreamer-net/src/auto/net_client_clock.rs +++ b/gstreamer-net/src/auto/net_client_clock.rs @@ -14,6 +14,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstNetClientClock")] pub struct NetClientClock(Object) @extends gst::Clock, gst::Object; match fn { diff --git a/gstreamer-net/src/auto/net_time_provider.rs b/gstreamer-net/src/auto/net_time_provider.rs index ab9dffc99..447ee5bfa 100644 --- a/gstreamer-net/src/auto/net_time_provider.rs +++ b/gstreamer-net/src/auto/net_time_provider.rs @@ -13,6 +13,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstNetTimeProvider")] pub struct NetTimeProvider(Object) @extends gst::Object; match fn { diff --git a/gstreamer-net/src/auto/ntp_clock.rs b/gstreamer-net/src/auto/ntp_clock.rs index 96238edad..a1a4819c5 100644 --- a/gstreamer-net/src/auto/ntp_clock.rs +++ b/gstreamer-net/src/auto/ntp_clock.rs @@ -6,6 +6,7 @@ use crate::NetClientClock; glib::wrapper! { + #[doc(alias = "GstNtpClock")] pub struct NtpClock(Object) @extends NetClientClock, gst::Clock, gst::Object; match fn { diff --git a/gstreamer-net/src/auto/ptp_clock.rs b/gstreamer-net/src/auto/ptp_clock.rs index 8aaae0e0c..fe71cfbdc 100644 --- a/gstreamer-net/src/auto/ptp_clock.rs +++ b/gstreamer-net/src/auto/ptp_clock.rs @@ -12,6 +12,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstPtpClock")] pub struct PtpClock(Object) @extends gst::Clock, gst::Object; match fn { diff --git a/gstreamer-net/src/auto/versions.txt b/gstreamer-net/src/auto/versions.txt index 618c31e5c..aacb38c9b 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 @ de679ce) +Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) 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 36827cfe6..90a7404a1 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 9af63ac3f..0879df1c4 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 b1cf5123c..a9a80ec60 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 f9566e893..8bc8693c5 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 9d576c999..766011990 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 abf90e1ca..3d7a665fc 100644 --- a/gstreamer-pbutils/src/auto/discoverer.rs +++ b/gstreamer-pbutils/src/auto/discoverer.rs @@ -19,6 +19,7 @@ use std::mem::transmute; use std::ptr; glib::wrapper! { + #[doc(alias = "GstDiscoverer")] pub struct Discoverer(Object); match fn { diff --git a/gstreamer-pbutils/src/auto/discoverer_audio_info.rs b/gstreamer-pbutils/src/auto/discoverer_audio_info.rs index 7e6708903..b55d89618 100644 --- a/gstreamer-pbutils/src/auto/discoverer_audio_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_audio_info.rs @@ -7,6 +7,7 @@ use crate::DiscovererStreamInfo; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstDiscovererAudioInfo")] pub struct DiscovererAudioInfo(Object) @extends DiscovererStreamInfo; match fn { diff --git a/gstreamer-pbutils/src/auto/discoverer_container_info.rs b/gstreamer-pbutils/src/auto/discoverer_container_info.rs index 64d69debe..229374a86 100644 --- a/gstreamer-pbutils/src/auto/discoverer_container_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_container_info.rs @@ -7,6 +7,7 @@ use crate::DiscovererStreamInfo; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstDiscovererContainerInfo")] pub struct DiscovererContainerInfo(Object) @extends DiscovererStreamInfo; match fn { diff --git a/gstreamer-pbutils/src/auto/discoverer_info.rs b/gstreamer-pbutils/src/auto/discoverer_info.rs index 857ec941c..ae64f5348 100644 --- a/gstreamer-pbutils/src/auto/discoverer_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_info.rs @@ -9,6 +9,7 @@ use crate::DiscovererStreamInfo; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstDiscovererInfo")] pub struct DiscovererInfo(Object); match fn { diff --git a/gstreamer-pbutils/src/auto/discoverer_stream_info.rs b/gstreamer-pbutils/src/auto/discoverer_stream_info.rs index 318ebabdf..98d24a3d9 100644 --- a/gstreamer-pbutils/src/auto/discoverer_stream_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_stream_info.rs @@ -7,6 +7,7 @@ use glib::object::IsA; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstDiscovererStreamInfo")] pub struct DiscovererStreamInfo(Object); match fn { diff --git a/gstreamer-pbutils/src/auto/discoverer_subtitle_info.rs b/gstreamer-pbutils/src/auto/discoverer_subtitle_info.rs index 0e42a66c2..255f55d2c 100644 --- a/gstreamer-pbutils/src/auto/discoverer_subtitle_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_subtitle_info.rs @@ -7,6 +7,7 @@ use crate::DiscovererStreamInfo; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstDiscovererSubtitleInfo")] pub struct DiscovererSubtitleInfo(Object) @extends DiscovererStreamInfo; match fn { diff --git a/gstreamer-pbutils/src/auto/discoverer_video_info.rs b/gstreamer-pbutils/src/auto/discoverer_video_info.rs index 9f51bd03e..11edadcdd 100644 --- a/gstreamer-pbutils/src/auto/discoverer_video_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_video_info.rs @@ -7,6 +7,7 @@ use crate::DiscovererStreamInfo; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstDiscovererVideoInfo")] pub struct DiscovererVideoInfo(Object) @extends DiscovererStreamInfo; match fn { diff --git a/gstreamer-pbutils/src/auto/encoding_audio_profile.rs b/gstreamer-pbutils/src/auto/encoding_audio_profile.rs index 9fe0bf46d..402b11102 100644 --- a/gstreamer-pbutils/src/auto/encoding_audio_profile.rs +++ b/gstreamer-pbutils/src/auto/encoding_audio_profile.rs @@ -6,6 +6,7 @@ use crate::EncodingProfile; glib::wrapper! { + #[doc(alias = "GstEncodingAudioProfile")] pub struct EncodingAudioProfile(Object) @extends EncodingProfile; match fn { diff --git a/gstreamer-pbutils/src/auto/encoding_container_profile.rs b/gstreamer-pbutils/src/auto/encoding_container_profile.rs index 19c163cb8..14673714b 100644 --- a/gstreamer-pbutils/src/auto/encoding_container_profile.rs +++ b/gstreamer-pbutils/src/auto/encoding_container_profile.rs @@ -8,6 +8,7 @@ use glib::object::IsA; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstEncodingContainerProfile")] pub struct EncodingContainerProfile(Object) @extends EncodingProfile; match fn { diff --git a/gstreamer-pbutils/src/auto/encoding_profile.rs b/gstreamer-pbutils/src/auto/encoding_profile.rs index 7888e7ef5..1aac5cb79 100644 --- a/gstreamer-pbutils/src/auto/encoding_profile.rs +++ b/gstreamer-pbutils/src/auto/encoding_profile.rs @@ -8,6 +8,7 @@ use glib::object::IsA; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstEncodingProfile")] pub struct EncodingProfile(Object); match fn { diff --git a/gstreamer-pbutils/src/auto/encoding_target.rs b/gstreamer-pbutils/src/auto/encoding_target.rs index 4bef4c38c..1599d88a2 100644 --- a/gstreamer-pbutils/src/auto/encoding_target.rs +++ b/gstreamer-pbutils/src/auto/encoding_target.rs @@ -9,6 +9,7 @@ use std::fmt; use std::ptr; glib::wrapper! { + #[doc(alias = "GstEncodingTarget")] pub struct EncodingTarget(Object); match fn { diff --git a/gstreamer-pbutils/src/auto/encoding_video_profile.rs b/gstreamer-pbutils/src/auto/encoding_video_profile.rs index 70f97eae1..13fba26f2 100644 --- a/gstreamer-pbutils/src/auto/encoding_video_profile.rs +++ b/gstreamer-pbutils/src/auto/encoding_video_profile.rs @@ -7,6 +7,7 @@ use crate::EncodingProfile; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstEncodingVideoProfile")] pub struct EncodingVideoProfile(Object) @extends EncodingProfile; match fn { diff --git a/gstreamer-pbutils/src/auto/flags.rs b/gstreamer-pbutils/src/auto/flags.rs index b09cd982d..1b805748f 100644 --- a/gstreamer-pbutils/src/auto/flags.rs +++ b/gstreamer-pbutils/src/auto/flags.rs @@ -11,10 +11,14 @@ use glib::StaticType; use glib::Type; bitflags! { + #[doc(alias = "GstDiscovererSerializeFlags")] pub struct DiscovererSerializeFlags: u32 { - const CAPS = 1; - const TAGS = 2; - const MISC = 4; + #[doc(alias = "GST_DISCOVERER_SERIALIZE_CAPS")] + const CAPS = ffi::GST_DISCOVERER_SERIALIZE_CAPS as u32; + #[doc(alias = "GST_DISCOVERER_SERIALIZE_TAGS")] + const TAGS = ffi::GST_DISCOVERER_SERIALIZE_TAGS as u32; + #[doc(alias = "GST_DISCOVERER_SERIALIZE_MISC")] + const MISC = ffi::GST_DISCOVERER_SERIALIZE_MISC as u32; } } diff --git a/gstreamer-pbutils/src/auto/versions.txt b/gstreamer-pbutils/src/auto/versions.txt index 618c31e5c..aacb38c9b 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 @ de679ce) +Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) 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 36827cfe6..90a7404a1 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 3b42f7d11..5b53d7ec2 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 661ae44f4..f21fbfded 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 cc1921024..1dcfc0aab 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 b99e1926f..979312d99 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/player.rs b/gstreamer-player/src/auto/player.rs index f870eca0e..afff16f2c 100644 --- a/gstreamer-player/src/auto/player.rs +++ b/gstreamer-player/src/auto/player.rs @@ -21,6 +21,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstPlayer")] pub struct Player(Object) @extends gst::Object; match fn { diff --git a/gstreamer-player/src/auto/player_audio_info.rs b/gstreamer-player/src/auto/player_audio_info.rs index 90c92f4f2..1ab4b68fc 100644 --- a/gstreamer-player/src/auto/player_audio_info.rs +++ b/gstreamer-player/src/auto/player_audio_info.rs @@ -7,6 +7,7 @@ use crate::PlayerStreamInfo; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstPlayerAudioInfo")] pub struct PlayerAudioInfo(Object) @extends PlayerStreamInfo; match fn { 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 af01c8fb9..d146a7c59 100644 --- a/gstreamer-player/src/auto/player_gmain_context_signal_dispatcher.rs +++ b/gstreamer-player/src/auto/player_gmain_context_signal_dispatcher.rs @@ -9,6 +9,7 @@ use glib::translate::*; use glib::StaticType; glib::wrapper! { + #[doc(alias = "GstPlayerGMainContextSignalDispatcher")] pub struct PlayerGMainContextSignalDispatcher(Object) @implements PlayerSignalDispatcher; match fn { diff --git a/gstreamer-player/src/auto/player_media_info.rs b/gstreamer-player/src/auto/player_media_info.rs index d46ab9fbe..742ccb19a 100644 --- a/gstreamer-player/src/auto/player_media_info.rs +++ b/gstreamer-player/src/auto/player_media_info.rs @@ -10,6 +10,7 @@ use crate::PlayerVideoInfo; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstPlayerMediaInfo")] pub struct PlayerMediaInfo(Object); match fn { diff --git a/gstreamer-player/src/auto/player_signal_dispatcher.rs b/gstreamer-player/src/auto/player_signal_dispatcher.rs index 518ce7491..e68c672e1 100644 --- a/gstreamer-player/src/auto/player_signal_dispatcher.rs +++ b/gstreamer-player/src/auto/player_signal_dispatcher.rs @@ -6,6 +6,7 @@ use glib::object::IsA; glib::wrapper! { + #[doc(alias = "GstPlayerSignalDispatcher")] pub struct PlayerSignalDispatcher(Interface); match fn { diff --git a/gstreamer-player/src/auto/player_stream_info.rs b/gstreamer-player/src/auto/player_stream_info.rs index 1770a62f5..75ff5e5c4 100644 --- a/gstreamer-player/src/auto/player_stream_info.rs +++ b/gstreamer-player/src/auto/player_stream_info.rs @@ -7,6 +7,7 @@ use glib::object::IsA; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstPlayerStreamInfo")] pub struct PlayerStreamInfo(Object); match fn { diff --git a/gstreamer-player/src/auto/player_subtitle_info.rs b/gstreamer-player/src/auto/player_subtitle_info.rs index 06c91253f..cc48626f4 100644 --- a/gstreamer-player/src/auto/player_subtitle_info.rs +++ b/gstreamer-player/src/auto/player_subtitle_info.rs @@ -7,6 +7,7 @@ use crate::PlayerStreamInfo; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstPlayerSubtitleInfo")] pub struct PlayerSubtitleInfo(Object) @extends PlayerStreamInfo; match fn { diff --git a/gstreamer-player/src/auto/player_video_info.rs b/gstreamer-player/src/auto/player_video_info.rs index d31d0bda9..21ac83c2e 100644 --- a/gstreamer-player/src/auto/player_video_info.rs +++ b/gstreamer-player/src/auto/player_video_info.rs @@ -7,6 +7,7 @@ use crate::PlayerStreamInfo; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstPlayerVideoInfo")] pub struct PlayerVideoInfo(Object) @extends PlayerStreamInfo; match fn { 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 f8059f356..0eee49777 100644 --- a/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs +++ b/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs @@ -16,6 +16,7 @@ use std::mem; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstPlayerVideoOverlayVideoRenderer")] pub struct PlayerVideoOverlayVideoRenderer(Object) @implements PlayerVideoRenderer; match fn { diff --git a/gstreamer-player/src/auto/player_video_renderer.rs b/gstreamer-player/src/auto/player_video_renderer.rs index 8d7149d39..92905e63c 100644 --- a/gstreamer-player/src/auto/player_video_renderer.rs +++ b/gstreamer-player/src/auto/player_video_renderer.rs @@ -6,6 +6,7 @@ use glib::object::IsA; glib::wrapper! { + #[doc(alias = "GstPlayerVideoRenderer")] pub struct PlayerVideoRenderer(Interface); match fn { diff --git a/gstreamer-player/src/auto/versions.txt b/gstreamer-player/src/auto/versions.txt index 618c31e5c..aacb38c9b 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 @ de679ce) +Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) 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 36827cfe6..90a7404a1 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 c9f8e246d..40d9ef3eb 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 479054d06..da9aef4bb 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 0ae3be986..6a29c2c3b 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 e04f477de..eea3a803f 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtp/src/auto/flags.rs b/gstreamer-rtp/src/auto/flags.rs index b01867a59..c3c69d9fe 100644 --- a/gstreamer-rtp/src/auto/flags.rs +++ b/gstreamer-rtp/src/auto/flags.rs @@ -13,9 +13,12 @@ use glib::Type; #[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] bitflags! { + #[doc(alias = "GstRTPBufferFlags")] pub struct RTPBufferFlags: u32 { - const RETRANSMISSION = 1048576; - const REDUNDANT = 2097152; + #[doc(alias = "GST_RTP_BUFFER_FLAG_RETRANSMISSION")] + const RETRANSMISSION = ffi::GST_RTP_BUFFER_FLAG_RETRANSMISSION as u32; + #[doc(alias = "GST_RTP_BUFFER_FLAG_REDUNDANT")] + const REDUNDANT = ffi::GST_RTP_BUFFER_FLAG_REDUNDANT as u32; } } @@ -82,8 +85,10 @@ impl ToValue for RTPBufferFlags { } bitflags! { + #[doc(alias = "GstRTPBufferMapFlags")] pub struct RTPBufferMapFlags: u32 { - const SKIP_PADDING = 65536; + #[doc(alias = "GST_RTP_BUFFER_MAP_FLAG_SKIP_PADDING")] + const SKIP_PADDING = ffi::GST_RTP_BUFFER_MAP_FLAG_SKIP_PADDING as u32; } } diff --git a/gstreamer-rtp/src/auto/versions.txt b/gstreamer-rtp/src/auto/versions.txt index 618c31e5c..aacb38c9b 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 @ de679ce) +Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) 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 36827cfe6..90a7404a1 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 ffc20c50e..fd704de47 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 d70bca147..3fb9efbe3 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 1527d8a85..aec1f5dca 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 d7ed1f15d..921353f85 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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/flags.rs b/gstreamer-rtsp-server/src/auto/flags.rs index 94ef08b6b..0d192f1ff 100644 --- a/gstreamer-rtsp-server/src/auto/flags.rs +++ b/gstreamer-rtsp-server/src/auto/flags.rs @@ -11,12 +11,18 @@ use glib::StaticType; use glib::Type; bitflags! { + #[doc(alias = "GstRTSPAddressFlags")] pub struct RTSPAddressFlags: u32 { - const IPV4 = 1; - const IPV6 = 2; - const EVEN_PORT = 4; - const MULTICAST = 8; - const UNICAST = 16; + #[doc(alias = "GST_RTSP_ADDRESS_FLAG_IPV4")] + const IPV4 = ffi::GST_RTSP_ADDRESS_FLAG_IPV4 as u32; + #[doc(alias = "GST_RTSP_ADDRESS_FLAG_IPV6")] + const IPV6 = ffi::GST_RTSP_ADDRESS_FLAG_IPV6 as u32; + #[doc(alias = "GST_RTSP_ADDRESS_FLAG_EVEN_PORT")] + const EVEN_PORT = ffi::GST_RTSP_ADDRESS_FLAG_EVEN_PORT as u32; + #[doc(alias = "GST_RTSP_ADDRESS_FLAG_MULTICAST")] + const MULTICAST = ffi::GST_RTSP_ADDRESS_FLAG_MULTICAST as u32; + #[doc(alias = "GST_RTSP_ADDRESS_FLAG_UNICAST")] + const UNICAST = ffi::GST_RTSP_ADDRESS_FLAG_UNICAST as u32; } } @@ -38,9 +44,12 @@ impl FromGlib for RTSPAddressFlags { } bitflags! { + #[doc(alias = "GstRTSPTransportMode")] pub struct RTSPTransportMode: u32 { - const PLAY = 1; - const RECORD = 2; + #[doc(alias = "GST_RTSP_TRANSPORT_MODE_PLAY")] + const PLAY = ffi::GST_RTSP_TRANSPORT_MODE_PLAY as u32; + #[doc(alias = "GST_RTSP_TRANSPORT_MODE_RECORD")] + const RECORD = ffi::GST_RTSP_TRANSPORT_MODE_RECORD as u32; } } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_address_pool.rs b/gstreamer-rtsp-server/src/auto/rtsp_address_pool.rs index dfbf8cefc..6adab08ab 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_address_pool.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_address_pool.rs @@ -9,6 +9,7 @@ use glib::object::IsA; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstRTSPAddressPool")] pub struct RTSPAddressPool(Object); match fn { diff --git a/gstreamer-rtsp-server/src/auto/rtsp_auth.rs b/gstreamer-rtsp-server/src/auto/rtsp_auth.rs index 0be043b4f..9e1128a49 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_auth.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_auth.rs @@ -13,6 +13,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstRTSPAuth")] pub struct RTSPAuth(Object); match fn { diff --git a/gstreamer-rtsp-server/src/auto/rtsp_client.rs b/gstreamer-rtsp-server/src/auto/rtsp_client.rs index 9445d839d..22a745bbc 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_client.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_client.rs @@ -24,6 +24,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstRTSPClient")] pub struct RTSPClient(Object); match fn { diff --git a/gstreamer-rtsp-server/src/auto/rtsp_media.rs b/gstreamer-rtsp-server/src/auto/rtsp_media.rs index 0ee262e3f..8a9fb39ab 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_media.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_media.rs @@ -25,6 +25,7 @@ use std::mem; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstRTSPMedia")] pub struct RTSPMedia(Object); match fn { diff --git a/gstreamer-rtsp-server/src/auto/rtsp_media_factory.rs b/gstreamer-rtsp-server/src/auto/rtsp_media_factory.rs index f6d254152..e2b633f0d 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_media_factory.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_media_factory.rs @@ -19,6 +19,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstRTSPMediaFactory")] pub struct RTSPMediaFactory(Object); match fn { 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 34d7b63e5..de981a9b9 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_media_factory_uri.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_media_factory_uri.rs @@ -15,6 +15,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstRTSPMediaFactoryURI")] pub struct RTSPMediaFactoryURI(Object) @extends RTSPMediaFactory; match fn { diff --git a/gstreamer-rtsp-server/src/auto/rtsp_mount_points.rs b/gstreamer-rtsp-server/src/auto/rtsp_mount_points.rs index 4b1bd7292..c30e22ea4 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_mount_points.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_mount_points.rs @@ -9,6 +9,7 @@ use glib::translate::*; use std::mem; glib::wrapper! { + #[doc(alias = "GstRTSPMountPoints")] pub struct RTSPMountPoints(Object); match fn { diff --git a/gstreamer-rtsp-server/src/auto/rtsp_server.rs b/gstreamer-rtsp-server/src/auto/rtsp_server.rs index 856d9ece8..496e6df8a 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_server.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_server.rs @@ -21,6 +21,7 @@ use std::mem::transmute; use std::ptr; glib::wrapper! { + #[doc(alias = "GstRTSPServer")] pub struct RTSPServer(Object); match fn { diff --git a/gstreamer-rtsp-server/src/auto/rtsp_session.rs b/gstreamer-rtsp-server/src/auto/rtsp_session.rs index 0bb84ab49..9bc42348a 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_session.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_session.rs @@ -18,6 +18,7 @@ use std::mem; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstRTSPSession")] pub struct RTSPSession(Object); match fn { diff --git a/gstreamer-rtsp-server/src/auto/rtsp_session_media.rs b/gstreamer-rtsp-server/src/auto/rtsp_session_media.rs index 81190eed9..d734af144 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_session_media.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_session_media.rs @@ -10,6 +10,7 @@ use glib::translate::*; use std::mem; glib::wrapper! { + #[doc(alias = "GstRTSPSessionMedia")] pub struct RTSPSessionMedia(Object); match fn { diff --git a/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs b/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs index e14375869..7df038e49 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs @@ -14,6 +14,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstRTSPSessionPool")] pub struct RTSPSessionPool(Object); match fn { diff --git a/gstreamer-rtsp-server/src/auto/rtsp_stream.rs b/gstreamer-rtsp-server/src/auto/rtsp_stream.rs index d2b9e232f..bb63949a1 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_stream.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_stream.rs @@ -18,6 +18,7 @@ use std::mem; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstRTSPStream")] pub struct RTSPStream(Object); match fn { diff --git a/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs b/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs index 5390bf2d5..e71f1be1d 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs @@ -9,6 +9,7 @@ use glib::translate::*; use std::boxed::Box as Box_; glib::wrapper! { + #[doc(alias = "GstRTSPStreamTransport")] pub struct RTSPStreamTransport(Object); match fn { diff --git a/gstreamer-rtsp-server/src/auto/rtsp_thread_pool.rs b/gstreamer-rtsp-server/src/auto/rtsp_thread_pool.rs index 8eff3745c..c9d426379 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_thread_pool.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_thread_pool.rs @@ -15,6 +15,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstRTSPThreadPool")] pub struct RTSPThreadPool(Object); match fn { diff --git a/gstreamer-rtsp-server/src/auto/versions.txt b/gstreamer-rtsp-server/src/auto/versions.txt index 618c31e5c..aacb38c9b 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 @ de679ce) +Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) 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 36827cfe6..90a7404a1 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 21e3519c6..4de2f4d8b 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 7000d87ca..82dc6669a 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 91e146816..d64779d52 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 b6a7f6958..cdbae1b7b 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp/src/auto/flags.rs b/gstreamer-rtsp/src/auto/flags.rs index 5cb867d33..f65d6227d 100644 --- a/gstreamer-rtsp/src/auto/flags.rs +++ b/gstreamer-rtsp/src/auto/flags.rs @@ -11,9 +11,12 @@ use glib::StaticType; use glib::Type; bitflags! { + #[doc(alias = "GstRTSPEvent")] pub struct RTSPEvent: u32 { - const READ = 1; - const WRITE = 2; + #[doc(alias = "GST_RTSP_EV_READ")] + const READ = ffi::GST_RTSP_EV_READ as u32; + #[doc(alias = "GST_RTSP_EV_WRITE")] + const WRITE = ffi::GST_RTSP_EV_WRITE as u32; } } @@ -68,12 +71,18 @@ impl ToValue for RTSPEvent { } bitflags! { + #[doc(alias = "GstRTSPLowerTrans")] pub struct RTSPLowerTrans: u32 { - const UDP = 1; - const UDP_MCAST = 2; - const TCP = 4; - const HTTP = 16; - const TLS = 32; + #[doc(alias = "GST_RTSP_LOWER_TRANS_UDP")] + const UDP = ffi::GST_RTSP_LOWER_TRANS_UDP as u32; + #[doc(alias = "GST_RTSP_LOWER_TRANS_UDP_MCAST")] + const UDP_MCAST = ffi::GST_RTSP_LOWER_TRANS_UDP_MCAST as u32; + #[doc(alias = "GST_RTSP_LOWER_TRANS_TCP")] + const TCP = ffi::GST_RTSP_LOWER_TRANS_TCP as u32; + #[doc(alias = "GST_RTSP_LOWER_TRANS_HTTP")] + const HTTP = ffi::GST_RTSP_LOWER_TRANS_HTTP as u32; + #[doc(alias = "GST_RTSP_LOWER_TRANS_TLS")] + const TLS = ffi::GST_RTSP_LOWER_TRANS_TLS as u32; } } @@ -128,20 +137,34 @@ impl ToValue for RTSPLowerTrans { } bitflags! { + #[doc(alias = "GstRTSPMethod")] pub struct RTSPMethod: u32 { - const DESCRIBE = 1; - const ANNOUNCE = 2; - const GET_PARAMETER = 4; - const OPTIONS = 8; - const PAUSE = 16; - const PLAY = 32; - const RECORD = 64; - const REDIRECT = 128; - const SETUP = 256; - const SET_PARAMETER = 512; - const TEARDOWN = 1024; - const GET = 2048; - const POST = 4096; + #[doc(alias = "GST_RTSP_DESCRIBE")] + const DESCRIBE = ffi::GST_RTSP_DESCRIBE as u32; + #[doc(alias = "GST_RTSP_ANNOUNCE")] + const ANNOUNCE = ffi::GST_RTSP_ANNOUNCE as u32; + #[doc(alias = "GST_RTSP_GET_PARAMETER")] + const GET_PARAMETER = ffi::GST_RTSP_GET_PARAMETER as u32; + #[doc(alias = "GST_RTSP_OPTIONS")] + const OPTIONS = ffi::GST_RTSP_OPTIONS as u32; + #[doc(alias = "GST_RTSP_PAUSE")] + const PAUSE = ffi::GST_RTSP_PAUSE as u32; + #[doc(alias = "GST_RTSP_PLAY")] + const PLAY = ffi::GST_RTSP_PLAY as u32; + #[doc(alias = "GST_RTSP_RECORD")] + const RECORD = ffi::GST_RTSP_RECORD as u32; + #[doc(alias = "GST_RTSP_REDIRECT")] + const REDIRECT = ffi::GST_RTSP_REDIRECT as u32; + #[doc(alias = "GST_RTSP_SETUP")] + const SETUP = ffi::GST_RTSP_SETUP as u32; + #[doc(alias = "GST_RTSP_SET_PARAMETER")] + const SET_PARAMETER = ffi::GST_RTSP_SET_PARAMETER as u32; + #[doc(alias = "GST_RTSP_TEARDOWN")] + const TEARDOWN = ffi::GST_RTSP_TEARDOWN as u32; + #[doc(alias = "GST_RTSP_GET")] + const GET = ffi::GST_RTSP_GET as u32; + #[doc(alias = "GST_RTSP_POST")] + const POST = ffi::GST_RTSP_POST as u32; } } @@ -204,11 +227,16 @@ impl ToValue for RTSPMethod { } bitflags! { + #[doc(alias = "GstRTSPProfile")] pub struct RTSPProfile: u32 { - const AVP = 1; - const SAVP = 2; - const AVPF = 4; - const SAVPF = 8; + #[doc(alias = "GST_RTSP_PROFILE_AVP")] + const AVP = ffi::GST_RTSP_PROFILE_AVP as u32; + #[doc(alias = "GST_RTSP_PROFILE_SAVP")] + const SAVP = ffi::GST_RTSP_PROFILE_SAVP as u32; + #[doc(alias = "GST_RTSP_PROFILE_AVPF")] + const AVPF = ffi::GST_RTSP_PROFILE_AVPF as u32; + #[doc(alias = "GST_RTSP_PROFILE_SAVPF")] + const SAVPF = ffi::GST_RTSP_PROFILE_SAVPF as u32; } } @@ -263,9 +291,12 @@ impl ToValue for RTSPProfile { } bitflags! { + #[doc(alias = "GstRTSPTransMode")] pub struct RTSPTransMode: u32 { - const RTP = 1; - const RDT = 2; + #[doc(alias = "GST_RTSP_TRANS_RTP")] + const RTP = ffi::GST_RTSP_TRANS_RTP as u32; + #[doc(alias = "GST_RTSP_TRANS_RDT")] + const RDT = ffi::GST_RTSP_TRANS_RDT as u32; } } diff --git a/gstreamer-rtsp/src/auto/versions.txt b/gstreamer-rtsp/src/auto/versions.txt index 618c31e5c..aacb38c9b 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 @ de679ce) +Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) 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 36827cfe6..90a7404a1 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 8ed3ae767..7f5974ab0 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 395bf5d2f..e8f294a96 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 808a82a12..03d7d80f8 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 e3d800614..b0c11d594 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 618c31e5c..aacb38c9b 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 @ de679ce) +Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) 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 36827cfe6..90a7404a1 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 8ddafc836..1677e6699 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 2d8f81f44..f3f56eb27 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 4d218b077..59beaf8f0 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 2bce3315f..7eef8bf14 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 36827cfe6..90a7404a1 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 b985a6804..4fdaece9d 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 f170d663c..7debbfe72 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 68cb12494..15bbb91e4 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 5ad2cf85c..e6563da32 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-video/src/auto/flags.rs b/gstreamer-video/src/auto/flags.rs index fe591286d..9be68903b 100644 --- a/gstreamer-video/src/auto/flags.rs +++ b/gstreamer-video/src/auto/flags.rs @@ -11,22 +11,32 @@ use glib::StaticType; use glib::Type; bitflags! { + #[doc(alias = "GstVideoBufferFlags")] pub struct VideoBufferFlags: u32 { - const INTERLACED = 1048576; - const TFF = 2097152; - const RFF = 4194304; - const ONEFIELD = 8388608; - const MULTIPLE_VIEW = 16777216; - const FIRST_IN_BUNDLE = 33554432; + #[doc(alias = "GST_VIDEO_BUFFER_FLAG_INTERLACED")] + const INTERLACED = ffi::GST_VIDEO_BUFFER_FLAG_INTERLACED as u32; + #[doc(alias = "GST_VIDEO_BUFFER_FLAG_TFF")] + const TFF = ffi::GST_VIDEO_BUFFER_FLAG_TFF as u32; + #[doc(alias = "GST_VIDEO_BUFFER_FLAG_RFF")] + const RFF = ffi::GST_VIDEO_BUFFER_FLAG_RFF as u32; + #[doc(alias = "GST_VIDEO_BUFFER_FLAG_ONEFIELD")] + const ONEFIELD = ffi::GST_VIDEO_BUFFER_FLAG_ONEFIELD as u32; + #[doc(alias = "GST_VIDEO_BUFFER_FLAG_MULTIPLE_VIEW")] + const MULTIPLE_VIEW = ffi::GST_VIDEO_BUFFER_FLAG_MULTIPLE_VIEW as u32; + #[doc(alias = "GST_VIDEO_BUFFER_FLAG_FIRST_IN_BUNDLE")] + const FIRST_IN_BUNDLE = ffi::GST_VIDEO_BUFFER_FLAG_FIRST_IN_BUNDLE as u32; #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] - const TOP_FIELD = 10485760; + #[doc(alias = "GST_VIDEO_BUFFER_FLAG_TOP_FIELD")] + const TOP_FIELD = ffi::GST_VIDEO_BUFFER_FLAG_TOP_FIELD as u32; #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] - const BOTTOM_FIELD = 8388608; + #[doc(alias = "GST_VIDEO_BUFFER_FLAG_BOTTOM_FIELD")] + const BOTTOM_FIELD = ffi::GST_VIDEO_BUFFER_FLAG_BOTTOM_FIELD as u32; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - const MARKER = 512; + #[doc(alias = "GST_VIDEO_BUFFER_FLAG_MARKER")] + const MARKER = ffi::GST_VIDEO_BUFFER_FLAG_MARKER as u32; } } @@ -81,15 +91,24 @@ impl ToValue for VideoBufferFlags { } bitflags! { + #[doc(alias = "GstVideoChromaSite")] pub struct VideoChromaSite: u32 { - const NONE = 1; - const H_COSITED = 2; - const V_COSITED = 4; - const ALT_LINE = 8; - const COSITED = 6; - const JPEG = 1; - const MPEG2 = 2; - const DV = 14; + #[doc(alias = "GST_VIDEO_CHROMA_SITE_NONE")] + const NONE = ffi::GST_VIDEO_CHROMA_SITE_NONE as u32; + #[doc(alias = "GST_VIDEO_CHROMA_SITE_H_COSITED")] + const H_COSITED = ffi::GST_VIDEO_CHROMA_SITE_H_COSITED as u32; + #[doc(alias = "GST_VIDEO_CHROMA_SITE_V_COSITED")] + const V_COSITED = ffi::GST_VIDEO_CHROMA_SITE_V_COSITED as u32; + #[doc(alias = "GST_VIDEO_CHROMA_SITE_ALT_LINE")] + const ALT_LINE = ffi::GST_VIDEO_CHROMA_SITE_ALT_LINE as u32; + #[doc(alias = "GST_VIDEO_CHROMA_SITE_COSITED")] + const COSITED = ffi::GST_VIDEO_CHROMA_SITE_COSITED as u32; + #[doc(alias = "GST_VIDEO_CHROMA_SITE_JPEG")] + const JPEG = ffi::GST_VIDEO_CHROMA_SITE_JPEG as u32; + #[doc(alias = "GST_VIDEO_CHROMA_SITE_MPEG2")] + const MPEG2 = ffi::GST_VIDEO_CHROMA_SITE_MPEG2 as u32; + #[doc(alias = "GST_VIDEO_CHROMA_SITE_DV")] + const DV = ffi::GST_VIDEO_CHROMA_SITE_DV as u32; } } @@ -144,11 +163,16 @@ impl ToValue for VideoChromaSite { } bitflags! { + #[doc(alias = "GstVideoCodecFrameFlags")] pub struct VideoCodecFrameFlags: u32 { - const DECODE_ONLY = 1; - const SYNC_POINT = 2; - const FORCE_KEYFRAME = 4; - const FORCE_KEYFRAME_HEADERS = 8; + #[doc(alias = "GST_VIDEO_CODEC_FRAME_FLAG_DECODE_ONLY")] + const DECODE_ONLY = ffi::GST_VIDEO_CODEC_FRAME_FLAG_DECODE_ONLY as u32; + #[doc(alias = "GST_VIDEO_CODEC_FRAME_FLAG_SYNC_POINT")] + const SYNC_POINT = ffi::GST_VIDEO_CODEC_FRAME_FLAG_SYNC_POINT as u32; + #[doc(alias = "GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME")] + const FORCE_KEYFRAME = ffi::GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME as u32; + #[doc(alias = "GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME_HEADERS")] + const FORCE_KEYFRAME_HEADERS = ffi::GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME_HEADERS as u32; } } @@ -170,9 +194,12 @@ impl FromGlib for VideoCodecFrameFlags { } bitflags! { + #[doc(alias = "GstVideoFlags")] pub struct VideoFlags: u32 { - const VARIABLE_FPS = 1; - const PREMULTIPLIED_ALPHA = 2; + #[doc(alias = "GST_VIDEO_FLAG_VARIABLE_FPS")] + const VARIABLE_FPS = ffi::GST_VIDEO_FLAG_VARIABLE_FPS as u32; + #[doc(alias = "GST_VIDEO_FLAG_PREMULTIPLIED_ALPHA")] + const PREMULTIPLIED_ALPHA = ffi::GST_VIDEO_FLAG_PREMULTIPLIED_ALPHA as u32; } } @@ -227,16 +254,26 @@ impl ToValue for VideoFlags { } bitflags! { + #[doc(alias = "GstVideoFormatFlags")] pub struct VideoFormatFlags: u32 { - const YUV = 1; - const RGB = 2; - const GRAY = 4; - const ALPHA = 8; - const LE = 16; - const PALETTE = 32; - const COMPLEX = 64; - const UNPACK = 128; - const TILED = 256; + #[doc(alias = "GST_VIDEO_FORMAT_FLAG_YUV")] + const YUV = ffi::GST_VIDEO_FORMAT_FLAG_YUV as u32; + #[doc(alias = "GST_VIDEO_FORMAT_FLAG_RGB")] + const RGB = ffi::GST_VIDEO_FORMAT_FLAG_RGB as u32; + #[doc(alias = "GST_VIDEO_FORMAT_FLAG_GRAY")] + const GRAY = ffi::GST_VIDEO_FORMAT_FLAG_GRAY as u32; + #[doc(alias = "GST_VIDEO_FORMAT_FLAG_ALPHA")] + const ALPHA = ffi::GST_VIDEO_FORMAT_FLAG_ALPHA as u32; + #[doc(alias = "GST_VIDEO_FORMAT_FLAG_LE")] + const LE = ffi::GST_VIDEO_FORMAT_FLAG_LE as u32; + #[doc(alias = "GST_VIDEO_FORMAT_FLAG_PALETTE")] + const PALETTE = ffi::GST_VIDEO_FORMAT_FLAG_PALETTE as u32; + #[doc(alias = "GST_VIDEO_FORMAT_FLAG_COMPLEX")] + const COMPLEX = ffi::GST_VIDEO_FORMAT_FLAG_COMPLEX as u32; + #[doc(alias = "GST_VIDEO_FORMAT_FLAG_UNPACK")] + const UNPACK = ffi::GST_VIDEO_FORMAT_FLAG_UNPACK as u32; + #[doc(alias = "GST_VIDEO_FORMAT_FLAG_TILED")] + const TILED = ffi::GST_VIDEO_FORMAT_FLAG_TILED as u32; } } @@ -291,15 +328,24 @@ impl ToValue for VideoFormatFlags { } bitflags! { + #[doc(alias = "GstVideoFrameFlags")] pub struct VideoFrameFlags: u32 { - const INTERLACED = 1; - const TFF = 2; - const RFF = 4; - const ONEFIELD = 8; - const MULTIPLE_VIEW = 16; - const FIRST_IN_BUNDLE = 32; - const TOP_FIELD = 10; - const BOTTOM_FIELD = 8; + #[doc(alias = "GST_VIDEO_FRAME_FLAG_INTERLACED")] + const INTERLACED = ffi::GST_VIDEO_FRAME_FLAG_INTERLACED as u32; + #[doc(alias = "GST_VIDEO_FRAME_FLAG_TFF")] + const TFF = ffi::GST_VIDEO_FRAME_FLAG_TFF as u32; + #[doc(alias = "GST_VIDEO_FRAME_FLAG_RFF")] + const RFF = ffi::GST_VIDEO_FRAME_FLAG_RFF as u32; + #[doc(alias = "GST_VIDEO_FRAME_FLAG_ONEFIELD")] + const ONEFIELD = ffi::GST_VIDEO_FRAME_FLAG_ONEFIELD as u32; + #[doc(alias = "GST_VIDEO_FRAME_FLAG_MULTIPLE_VIEW")] + const MULTIPLE_VIEW = ffi::GST_VIDEO_FRAME_FLAG_MULTIPLE_VIEW as u32; + #[doc(alias = "GST_VIDEO_FRAME_FLAG_FIRST_IN_BUNDLE")] + const FIRST_IN_BUNDLE = ffi::GST_VIDEO_FRAME_FLAG_FIRST_IN_BUNDLE as u32; + #[doc(alias = "GST_VIDEO_FRAME_FLAG_TOP_FIELD")] + const TOP_FIELD = ffi::GST_VIDEO_FRAME_FLAG_TOP_FIELD as u32; + #[doc(alias = "GST_VIDEO_FRAME_FLAG_BOTTOM_FIELD")] + const BOTTOM_FIELD = ffi::GST_VIDEO_FRAME_FLAG_BOTTOM_FIELD as u32; } } @@ -354,14 +400,22 @@ impl ToValue for VideoFrameFlags { } bitflags! { + #[doc(alias = "GstVideoMultiviewFlags")] pub struct VideoMultiviewFlags: u32 { - const RIGHT_VIEW_FIRST = 1; - const LEFT_FLIPPED = 2; - const LEFT_FLOPPED = 4; - const RIGHT_FLIPPED = 8; - const RIGHT_FLOPPED = 16; - const HALF_ASPECT = 16384; - const MIXED_MONO = 32768; + #[doc(alias = "GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_VIEW_FIRST")] + const RIGHT_VIEW_FIRST = ffi::GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_VIEW_FIRST as u32; + #[doc(alias = "GST_VIDEO_MULTIVIEW_FLAGS_LEFT_FLIPPED")] + const LEFT_FLIPPED = ffi::GST_VIDEO_MULTIVIEW_FLAGS_LEFT_FLIPPED as u32; + #[doc(alias = "GST_VIDEO_MULTIVIEW_FLAGS_LEFT_FLOPPED")] + const LEFT_FLOPPED = ffi::GST_VIDEO_MULTIVIEW_FLAGS_LEFT_FLOPPED as u32; + #[doc(alias = "GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_FLIPPED")] + const RIGHT_FLIPPED = ffi::GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_FLIPPED as u32; + #[doc(alias = "GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_FLOPPED")] + const RIGHT_FLOPPED = ffi::GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_FLOPPED as u32; + #[doc(alias = "GST_VIDEO_MULTIVIEW_FLAGS_HALF_ASPECT")] + const HALF_ASPECT = ffi::GST_VIDEO_MULTIVIEW_FLAGS_HALF_ASPECT as u32; + #[doc(alias = "GST_VIDEO_MULTIVIEW_FLAGS_MIXED_MONO")] + const MIXED_MONO = ffi::GST_VIDEO_MULTIVIEW_FLAGS_MIXED_MONO as u32; } } @@ -416,9 +470,12 @@ impl ToValue for VideoMultiviewFlags { } bitflags! { + #[doc(alias = "GstVideoOverlayFormatFlags")] pub struct VideoOverlayFormatFlags: u32 { - const PREMULTIPLIED_ALPHA = 1; - const GLOBAL_ALPHA = 2; + #[doc(alias = "GST_VIDEO_OVERLAY_FORMAT_FLAG_PREMULTIPLIED_ALPHA")] + const PREMULTIPLIED_ALPHA = ffi::GST_VIDEO_OVERLAY_FORMAT_FLAG_PREMULTIPLIED_ALPHA as u32; + #[doc(alias = "GST_VIDEO_OVERLAY_FORMAT_FLAG_GLOBAL_ALPHA")] + const GLOBAL_ALPHA = ffi::GST_VIDEO_OVERLAY_FORMAT_FLAG_GLOBAL_ALPHA as u32; } } @@ -481,9 +538,12 @@ impl ToValue for VideoOverlayFormatFlags { } bitflags! { + #[doc(alias = "GstVideoPackFlags")] pub struct VideoPackFlags: u32 { - const TRUNCATE_RANGE = 1; - const INTERLACED = 2; + #[doc(alias = "GST_VIDEO_PACK_FLAG_TRUNCATE_RANGE")] + const TRUNCATE_RANGE = ffi::GST_VIDEO_PACK_FLAG_TRUNCATE_RANGE as u32; + #[doc(alias = "GST_VIDEO_PACK_FLAG_INTERLACED")] + const INTERLACED = ffi::GST_VIDEO_PACK_FLAG_INTERLACED as u32; } } @@ -540,9 +600,12 @@ impl ToValue for VideoPackFlags { #[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] bitflags! { + #[doc(alias = "GstVideoTimeCodeFlags")] pub struct VideoTimeCodeFlags: u32 { - const DROP_FRAME = 1; - const INTERLACED = 2; + #[doc(alias = "GST_VIDEO_TIME_CODE_FLAGS_DROP_FRAME")] + const DROP_FRAME = ffi::GST_VIDEO_TIME_CODE_FLAGS_DROP_FRAME as u32; + #[doc(alias = "GST_VIDEO_TIME_CODE_FLAGS_INTERLACED")] + const INTERLACED = ffi::GST_VIDEO_TIME_CODE_FLAGS_INTERLACED as u32; } } diff --git a/gstreamer-video/src/auto/versions.txt b/gstreamer-video/src/auto/versions.txt index 618c31e5c..aacb38c9b 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 @ de679ce) +Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-video/src/auto/video_buffer_pool.rs b/gstreamer-video/src/auto/video_buffer_pool.rs index 6f21198ca..b374e1245 100644 --- a/gstreamer-video/src/auto/video_buffer_pool.rs +++ b/gstreamer-video/src/auto/video_buffer_pool.rs @@ -7,6 +7,7 @@ use glib::object::Cast; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstVideoBufferPool")] pub struct VideoBufferPool(Object) @extends gst::BufferPool, gst::Object; match fn { diff --git a/gstreamer-video/src/auto/video_decoder.rs b/gstreamer-video/src/auto/video_decoder.rs index baae76554..8b5c53847 100644 --- a/gstreamer-video/src/auto/video_decoder.rs +++ b/gstreamer-video/src/auto/video_decoder.rs @@ -29,6 +29,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstVideoDecoder")] pub struct VideoDecoder(Object) @extends gst::Element, gst::Object; match fn { diff --git a/gstreamer-video/src/auto/video_encoder.rs b/gstreamer-video/src/auto/video_encoder.rs index d1ea71c6b..14a9c9b38 100644 --- a/gstreamer-video/src/auto/video_encoder.rs +++ b/gstreamer-video/src/auto/video_encoder.rs @@ -17,6 +17,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstVideoEncoder")] pub struct VideoEncoder(Object) @extends gst::Element, gst::Object; match fn { diff --git a/gstreamer-video/src/auto/video_filter.rs b/gstreamer-video/src/auto/video_filter.rs index df9124d4f..6d3b61768 100644 --- a/gstreamer-video/src/auto/video_filter.rs +++ b/gstreamer-video/src/auto/video_filter.rs @@ -4,6 +4,7 @@ // DO NOT EDIT glib::wrapper! { + #[doc(alias = "GstVideoFilter")] pub struct VideoFilter(Object) @extends gst_base::BaseTransform, gst::Element, gst::Object; match fn { diff --git a/gstreamer-video/src/auto/video_orientation.rs b/gstreamer-video/src/auto/video_orientation.rs index f086903e0..c769bf36b 100644 --- a/gstreamer-video/src/auto/video_orientation.rs +++ b/gstreamer-video/src/auto/video_orientation.rs @@ -8,6 +8,7 @@ use glib::translate::*; use std::mem; glib::wrapper! { + #[doc(alias = "GstVideoOrientation")] pub struct VideoOrientation(Interface); match fn { diff --git a/gstreamer-video/src/auto/video_overlay.rs b/gstreamer-video/src/auto/video_overlay.rs index e7e6be8ed..488226a56 100644 --- a/gstreamer-video/src/auto/video_overlay.rs +++ b/gstreamer-video/src/auto/video_overlay.rs @@ -7,6 +7,7 @@ use glib::object::IsA; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstVideoOverlay")] pub struct VideoOverlay(Interface); match fn { diff --git a/gstreamer-video/src/auto/video_sink.rs b/gstreamer-video/src/auto/video_sink.rs index 1fb12d0ca..0e12355bb 100644 --- a/gstreamer-video/src/auto/video_sink.rs +++ b/gstreamer-video/src/auto/video_sink.rs @@ -14,6 +14,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstVideoSink")] pub struct VideoSink(Object) @extends gst_base::BaseSink, gst::Element, gst::Object; match fn { diff --git a/gstreamer-video/sys/build.rs b/gstreamer-video/sys/build.rs index 36827cfe6..90a7404a1 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 b0a5e83e0..2d58e8e44 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 38bb27271..b6132030e 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 7ba7708dc..6f742e4f3 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 310570cfe..4d0d3fe86 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 618c31e5c..aacb38c9b 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 @ de679ce) +Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) 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 2f4dfb364..cb981b1dd 100644 --- a/gstreamer-webrtc/src/auto/web_rtc_data_channel.rs +++ b/gstreamer-webrtc/src/auto/web_rtc_data_channel.rs @@ -16,6 +16,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstWebRTCDataChannel")] pub struct WebRTCDataChannel(Object); match fn { diff --git a/gstreamer-webrtc/src/auto/web_rtcdtls_transport.rs b/gstreamer-webrtc/src/auto/web_rtcdtls_transport.rs index ec3cb4537..6d7dd3fb3 100644 --- a/gstreamer-webrtc/src/auto/web_rtcdtls_transport.rs +++ b/gstreamer-webrtc/src/auto/web_rtcdtls_transport.rs @@ -15,6 +15,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstWebRTCDTLSTransport")] pub struct WebRTCDTLSTransport(Object); match fn { diff --git a/gstreamer-webrtc/src/auto/web_rtcice_transport.rs b/gstreamer-webrtc/src/auto/web_rtcice_transport.rs index bf078e5b4..e00d28e81 100644 --- a/gstreamer-webrtc/src/auto/web_rtcice_transport.rs +++ b/gstreamer-webrtc/src/auto/web_rtcice_transport.rs @@ -15,6 +15,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstWebRTCICETransport")] pub struct WebRTCICETransport(Object); match fn { diff --git a/gstreamer-webrtc/src/auto/web_rtcrtp_receiver.rs b/gstreamer-webrtc/src/auto/web_rtcrtp_receiver.rs index 0680606b6..2825f66ef 100644 --- a/gstreamer-webrtc/src/auto/web_rtcrtp_receiver.rs +++ b/gstreamer-webrtc/src/auto/web_rtcrtp_receiver.rs @@ -7,6 +7,7 @@ use crate::WebRTCDTLSTransport; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstWebRTCRTPReceiver")] pub struct WebRTCRTPReceiver(Object); match fn { diff --git a/gstreamer-webrtc/src/auto/web_rtcrtp_sender.rs b/gstreamer-webrtc/src/auto/web_rtcrtp_sender.rs index 4ebf22019..9bb237b67 100644 --- a/gstreamer-webrtc/src/auto/web_rtcrtp_sender.rs +++ b/gstreamer-webrtc/src/auto/web_rtcrtp_sender.rs @@ -7,6 +7,7 @@ use crate::WebRTCDTLSTransport; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstWebRTCRTPSender")] pub struct WebRTCRTPSender(Object); match fn { diff --git a/gstreamer-webrtc/src/auto/web_rtcrtp_transceiver.rs b/gstreamer-webrtc/src/auto/web_rtcrtp_transceiver.rs index 0260f976a..f21d52026 100644 --- a/gstreamer-webrtc/src/auto/web_rtcrtp_transceiver.rs +++ b/gstreamer-webrtc/src/auto/web_rtcrtp_transceiver.rs @@ -28,6 +28,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstWebRTCRTPTransceiver")] pub struct WebRTCRTPTransceiver(Object); match fn { diff --git a/gstreamer-webrtc/sys/build.rs b/gstreamer-webrtc/sys/build.rs index 36827cfe6..90a7404a1 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 73628220c..d7521b93b 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 95eef81f0..0efb2486b 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 8163d59ce..6e7991be0 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 0481bcd78..acbaa3f5b 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer/src/auto/allocator.rs b/gstreamer/src/auto/allocator.rs index a51913bee..59281b084 100644 --- a/gstreamer/src/auto/allocator.rs +++ b/gstreamer/src/auto/allocator.rs @@ -10,6 +10,7 @@ use glib::object::IsA; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstAllocator")] pub struct Allocator(Object) @extends Object; match fn { diff --git a/gstreamer/src/auto/bin.rs b/gstreamer/src/auto/bin.rs index 45edccf95..55244a807 100644 --- a/gstreamer/src/auto/bin.rs +++ b/gstreamer/src/auto/bin.rs @@ -22,6 +22,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstBin")] pub struct Bin(Object) @extends Element, Object, @implements ChildProxy; match fn { diff --git a/gstreamer/src/auto/buffer_pool.rs b/gstreamer/src/auto/buffer_pool.rs index 5b0db2991..32a89b9dd 100644 --- a/gstreamer/src/auto/buffer_pool.rs +++ b/gstreamer/src/auto/buffer_pool.rs @@ -8,6 +8,7 @@ use glib::object::IsA; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstBufferPool")] pub struct BufferPool(Object) @extends Object; match fn { diff --git a/gstreamer/src/auto/bus.rs b/gstreamer/src/auto/bus.rs index 6237dd8f9..4b846792c 100644 --- a/gstreamer/src/auto/bus.rs +++ b/gstreamer/src/auto/bus.rs @@ -14,6 +14,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstBus")] pub struct Bus(Object) @extends Object; match fn { diff --git a/gstreamer/src/auto/child_proxy.rs b/gstreamer/src/auto/child_proxy.rs index f9711f59e..82f484907 100644 --- a/gstreamer/src/auto/child_proxy.rs +++ b/gstreamer/src/auto/child_proxy.rs @@ -12,6 +12,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstChildProxy")] pub struct ChildProxy(Interface); match fn { diff --git a/gstreamer/src/auto/clock.rs b/gstreamer/src/auto/clock.rs index 85c81b2ea..44353b928 100644 --- a/gstreamer/src/auto/clock.rs +++ b/gstreamer/src/auto/clock.rs @@ -17,6 +17,7 @@ use std::mem; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstClock")] pub struct Clock(Object) @extends Object; match fn { diff --git a/gstreamer/src/auto/control_binding.rs b/gstreamer/src/auto/control_binding.rs index 2e5c2052f..a61e719b6 100644 --- a/gstreamer/src/auto/control_binding.rs +++ b/gstreamer/src/auto/control_binding.rs @@ -10,6 +10,7 @@ use glib::translate::*; use glib::StaticType; glib::wrapper! { + #[doc(alias = "GstControlBinding")] pub struct ControlBinding(Object) @extends Object; match fn { diff --git a/gstreamer/src/auto/control_source.rs b/gstreamer/src/auto/control_source.rs index 5d7e59b1f..569610a36 100644 --- a/gstreamer/src/auto/control_source.rs +++ b/gstreamer/src/auto/control_source.rs @@ -10,6 +10,7 @@ use glib::translate::*; use std::mem; glib::wrapper! { + #[doc(alias = "GstControlSource")] pub struct ControlSource(Object) @extends Object; match fn { diff --git a/gstreamer/src/auto/device.rs b/gstreamer/src/auto/device.rs index 03d66160e..d86f8f080 100644 --- a/gstreamer/src/auto/device.rs +++ b/gstreamer/src/auto/device.rs @@ -16,6 +16,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstDevice")] pub struct Device(Object) @extends Object; match fn { diff --git a/gstreamer/src/auto/device_monitor.rs b/gstreamer/src/auto/device_monitor.rs index 7ef43baf3..5fa0f8820 100644 --- a/gstreamer/src/auto/device_monitor.rs +++ b/gstreamer/src/auto/device_monitor.rs @@ -17,6 +17,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstDeviceMonitor")] pub struct DeviceMonitor(Object) @extends Object; match fn { diff --git a/gstreamer/src/auto/device_provider.rs b/gstreamer/src/auto/device_provider.rs index 1ddd7cfb8..ccb501260 100644 --- a/gstreamer/src/auto/device_provider.rs +++ b/gstreamer/src/auto/device_provider.rs @@ -16,6 +16,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstDeviceProvider")] pub struct DeviceProvider(Object) @extends Object; match fn { diff --git a/gstreamer/src/auto/device_provider_factory.rs b/gstreamer/src/auto/device_provider_factory.rs index 172f1f11a..f415d18ee 100644 --- a/gstreamer/src/auto/device_provider_factory.rs +++ b/gstreamer/src/auto/device_provider_factory.rs @@ -10,6 +10,7 @@ use crate::Rank; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstDeviceProviderFactory")] pub struct DeviceProviderFactory(Object) @extends PluginFeature, Object; match fn { diff --git a/gstreamer/src/auto/element.rs b/gstreamer/src/auto/element.rs index a418f77e5..d06828f5d 100644 --- a/gstreamer/src/auto/element.rs +++ b/gstreamer/src/auto/element.rs @@ -30,6 +30,7 @@ use std::mem::transmute; use std::ptr; glib::wrapper! { + #[doc(alias = "GstElement")] pub struct Element(Object) @extends Object; match fn { diff --git a/gstreamer/src/auto/element_factory.rs b/gstreamer/src/auto/element_factory.rs index 95f8a61d5..11ddae30c 100644 --- a/gstreamer/src/auto/element_factory.rs +++ b/gstreamer/src/auto/element_factory.rs @@ -15,6 +15,7 @@ use crate::URIType; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstElementFactory")] pub struct ElementFactory(Object) @extends PluginFeature, Object; match fn { diff --git a/gstreamer/src/auto/flags.rs b/gstreamer/src/auto/flags.rs index 2c7fbb80b..d13501f9a 100644 --- a/gstreamer/src/auto/flags.rs +++ b/gstreamer/src/auto/flags.rs @@ -17,11 +17,14 @@ use std::ffi::CStr; use std::fmt; bitflags! { + #[doc(alias = "GstBinFlags")] pub struct BinFlags: u32 { - const NO_RESYNC = 16384; + #[doc(alias = "GST_BIN_FLAG_NO_RESYNC")] + const NO_RESYNC = ffi::GST_BIN_FLAG_NO_RESYNC as u32; #[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] - const STREAMS_AWARE = 32768; + #[doc(alias = "GST_BIN_FLAG_STREAMS_AWARE")] + const STREAMS_AWARE = ffi::GST_BIN_FLAG_STREAMS_AWARE as u32; } } @@ -76,13 +79,20 @@ impl ToValue for BinFlags { } bitflags! { + #[doc(alias = "GstBufferCopyFlags")] pub struct BufferCopyFlags: u32 { - const FLAGS = 1; - const TIMESTAMPS = 2; - const META = 4; - const MEMORY = 8; - const MERGE = 16; - const DEEP = 32; + #[doc(alias = "GST_BUFFER_COPY_FLAGS")] + const FLAGS = ffi::GST_BUFFER_COPY_FLAGS as u32; + #[doc(alias = "GST_BUFFER_COPY_TIMESTAMPS")] + const TIMESTAMPS = ffi::GST_BUFFER_COPY_TIMESTAMPS as u32; + #[doc(alias = "GST_BUFFER_COPY_META")] + const META = ffi::GST_BUFFER_COPY_META as u32; + #[doc(alias = "GST_BUFFER_COPY_MEMORY")] + const MEMORY = ffi::GST_BUFFER_COPY_MEMORY as u32; + #[doc(alias = "GST_BUFFER_COPY_MERGE")] + const MERGE = ffi::GST_BUFFER_COPY_MERGE as u32; + #[doc(alias = "GST_BUFFER_COPY_DEEP")] + const DEEP = ffi::GST_BUFFER_COPY_DEEP as u32; } } @@ -138,22 +148,36 @@ impl ToValue for BufferCopyFlags { bitflags! { #[cfg_attr(feature = "ser_de", derive(serde::Serialize, serde::Deserialize))] + #[doc(alias = "GstBufferFlags")] pub struct BufferFlags: u32 { - const LIVE = 16; - const DECODE_ONLY = 32; - const DISCONT = 64; - const RESYNC = 128; - const CORRUPTED = 256; - const MARKER = 512; - const HEADER = 1024; - const GAP = 2048; - const DROPPABLE = 4096; - const DELTA_UNIT = 8192; - const TAG_MEMORY = 16384; - const SYNC_AFTER = 32768; + #[doc(alias = "GST_BUFFER_FLAG_LIVE")] + const LIVE = ffi::GST_BUFFER_FLAG_LIVE as u32; + #[doc(alias = "GST_BUFFER_FLAG_DECODE_ONLY")] + const DECODE_ONLY = ffi::GST_BUFFER_FLAG_DECODE_ONLY as u32; + #[doc(alias = "GST_BUFFER_FLAG_DISCONT")] + const DISCONT = ffi::GST_BUFFER_FLAG_DISCONT as u32; + #[doc(alias = "GST_BUFFER_FLAG_RESYNC")] + const RESYNC = ffi::GST_BUFFER_FLAG_RESYNC as u32; + #[doc(alias = "GST_BUFFER_FLAG_CORRUPTED")] + const CORRUPTED = ffi::GST_BUFFER_FLAG_CORRUPTED as u32; + #[doc(alias = "GST_BUFFER_FLAG_MARKER")] + const MARKER = ffi::GST_BUFFER_FLAG_MARKER as u32; + #[doc(alias = "GST_BUFFER_FLAG_HEADER")] + const HEADER = ffi::GST_BUFFER_FLAG_HEADER as u32; + #[doc(alias = "GST_BUFFER_FLAG_GAP")] + const GAP = ffi::GST_BUFFER_FLAG_GAP as u32; + #[doc(alias = "GST_BUFFER_FLAG_DROPPABLE")] + const DROPPABLE = ffi::GST_BUFFER_FLAG_DROPPABLE as u32; + #[doc(alias = "GST_BUFFER_FLAG_DELTA_UNIT")] + const DELTA_UNIT = ffi::GST_BUFFER_FLAG_DELTA_UNIT as u32; + #[doc(alias = "GST_BUFFER_FLAG_TAG_MEMORY")] + const TAG_MEMORY = ffi::GST_BUFFER_FLAG_TAG_MEMORY as u32; + #[doc(alias = "GST_BUFFER_FLAG_SYNC_AFTER")] + const SYNC_AFTER = ffi::GST_BUFFER_FLAG_SYNC_AFTER as u32; #[cfg(any(feature = "v1_14", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_14")))] - const NON_DROPPABLE = 65536; + #[doc(alias = "GST_BUFFER_FLAG_NON_DROPPABLE")] + const NON_DROPPABLE = ffi::GST_BUFFER_FLAG_NON_DROPPABLE as u32; } } @@ -208,10 +232,14 @@ impl ToValue for BufferFlags { } bitflags! { + #[doc(alias = "GstBufferPoolAcquireFlags")] pub struct BufferPoolAcquireFlags: u32 { - const KEY_UNIT = 1; - const DONTWAIT = 2; - const DISCONT = 4; + #[doc(alias = "GST_BUFFER_POOL_ACQUIRE_FLAG_KEY_UNIT")] + const KEY_UNIT = ffi::GST_BUFFER_POOL_ACQUIRE_FLAG_KEY_UNIT as u32; + #[doc(alias = "GST_BUFFER_POOL_ACQUIRE_FLAG_DONTWAIT")] + const DONTWAIT = ffi::GST_BUFFER_POOL_ACQUIRE_FLAG_DONTWAIT as u32; + #[doc(alias = "GST_BUFFER_POOL_ACQUIRE_FLAG_DISCONT")] + const DISCONT = ffi::GST_BUFFER_POOL_ACQUIRE_FLAG_DISCONT as u32; } } @@ -266,14 +294,22 @@ impl ToValue for BufferPoolAcquireFlags { } bitflags! { + #[doc(alias = "GstClockFlags")] pub struct ClockFlags: u32 { - const CAN_DO_SINGLE_SYNC = 16; - const CAN_DO_SINGLE_ASYNC = 32; - const CAN_DO_PERIODIC_SYNC = 64; - const CAN_DO_PERIODIC_ASYNC = 128; - const CAN_SET_RESOLUTION = 256; - const CAN_SET_MASTER = 512; - const NEEDS_STARTUP_SYNC = 1024; + #[doc(alias = "GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC")] + const CAN_DO_SINGLE_SYNC = ffi::GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC as u32; + #[doc(alias = "GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC")] + const CAN_DO_SINGLE_ASYNC = ffi::GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC as u32; + #[doc(alias = "GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC")] + const CAN_DO_PERIODIC_SYNC = ffi::GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC as u32; + #[doc(alias = "GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC")] + const CAN_DO_PERIODIC_ASYNC = ffi::GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC as u32; + #[doc(alias = "GST_CLOCK_FLAG_CAN_SET_RESOLUTION")] + const CAN_SET_RESOLUTION = ffi::GST_CLOCK_FLAG_CAN_SET_RESOLUTION as u32; + #[doc(alias = "GST_CLOCK_FLAG_CAN_SET_MASTER")] + const CAN_SET_MASTER = ffi::GST_CLOCK_FLAG_CAN_SET_MASTER as u32; + #[doc(alias = "GST_CLOCK_FLAG_NEEDS_STARTUP_SYNC")] + const NEEDS_STARTUP_SYNC = ffi::GST_CLOCK_FLAG_NEEDS_STARTUP_SYNC as u32; } } @@ -328,25 +364,44 @@ impl ToValue for ClockFlags { } bitflags! { + #[doc(alias = "GstDebugColorFlags")] pub struct DebugColorFlags: u32 { - const FG_BLACK = 0; - const FG_RED = 1; - const FG_GREEN = 2; - const FG_YELLOW = 3; - const FG_BLUE = 4; - const FG_MAGENTA = 5; - const FG_CYAN = 6; - const FG_WHITE = 7; - const BG_BLACK = 0; - const BG_RED = 16; - const BG_GREEN = 32; - const BG_YELLOW = 48; - const BG_BLUE = 64; - const BG_MAGENTA = 80; - const BG_CYAN = 96; - const BG_WHITE = 112; - const BOLD = 256; - const UNDERLINE = 512; + #[doc(alias = "GST_DEBUG_FG_BLACK")] + const FG_BLACK = ffi::GST_DEBUG_FG_BLACK as u32; + #[doc(alias = "GST_DEBUG_FG_RED")] + const FG_RED = ffi::GST_DEBUG_FG_RED as u32; + #[doc(alias = "GST_DEBUG_FG_GREEN")] + const FG_GREEN = ffi::GST_DEBUG_FG_GREEN as u32; + #[doc(alias = "GST_DEBUG_FG_YELLOW")] + const FG_YELLOW = ffi::GST_DEBUG_FG_YELLOW as u32; + #[doc(alias = "GST_DEBUG_FG_BLUE")] + const FG_BLUE = ffi::GST_DEBUG_FG_BLUE as u32; + #[doc(alias = "GST_DEBUG_FG_MAGENTA")] + const FG_MAGENTA = ffi::GST_DEBUG_FG_MAGENTA as u32; + #[doc(alias = "GST_DEBUG_FG_CYAN")] + const FG_CYAN = ffi::GST_DEBUG_FG_CYAN as u32; + #[doc(alias = "GST_DEBUG_FG_WHITE")] + const FG_WHITE = ffi::GST_DEBUG_FG_WHITE as u32; + #[doc(alias = "GST_DEBUG_BG_BLACK")] + const BG_BLACK = ffi::GST_DEBUG_BG_BLACK as u32; + #[doc(alias = "GST_DEBUG_BG_RED")] + const BG_RED = ffi::GST_DEBUG_BG_RED as u32; + #[doc(alias = "GST_DEBUG_BG_GREEN")] + const BG_GREEN = ffi::GST_DEBUG_BG_GREEN as u32; + #[doc(alias = "GST_DEBUG_BG_YELLOW")] + const BG_YELLOW = ffi::GST_DEBUG_BG_YELLOW as u32; + #[doc(alias = "GST_DEBUG_BG_BLUE")] + const BG_BLUE = ffi::GST_DEBUG_BG_BLUE as u32; + #[doc(alias = "GST_DEBUG_BG_MAGENTA")] + const BG_MAGENTA = ffi::GST_DEBUG_BG_MAGENTA as u32; + #[doc(alias = "GST_DEBUG_BG_CYAN")] + const BG_CYAN = ffi::GST_DEBUG_BG_CYAN as u32; + #[doc(alias = "GST_DEBUG_BG_WHITE")] + const BG_WHITE = ffi::GST_DEBUG_BG_WHITE as u32; + #[doc(alias = "GST_DEBUG_BOLD")] + const BOLD = ffi::GST_DEBUG_BOLD as u32; + #[doc(alias = "GST_DEBUG_UNDERLINE")] + const UNDERLINE = ffi::GST_DEBUG_UNDERLINE as u32; } } @@ -401,14 +456,22 @@ impl ToValue for DebugColorFlags { } bitflags! { + #[doc(alias = "GstDebugGraphDetails")] pub struct DebugGraphDetails: u32 { - const MEDIA_TYPE = 1; - const CAPS_DETAILS = 2; - const NON_DEFAULT_PARAMS = 4; - const STATES = 8; - const FULL_PARAMS = 16; - const ALL = 15; - const VERBOSE = 4294967295; + #[doc(alias = "GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE")] + const MEDIA_TYPE = ffi::GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE as u32; + #[doc(alias = "GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS")] + const CAPS_DETAILS = ffi::GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS as u32; + #[doc(alias = "GST_DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS")] + const NON_DEFAULT_PARAMS = ffi::GST_DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS as u32; + #[doc(alias = "GST_DEBUG_GRAPH_SHOW_STATES")] + const STATES = ffi::GST_DEBUG_GRAPH_SHOW_STATES as u32; + #[doc(alias = "GST_DEBUG_GRAPH_SHOW_FULL_PARAMS")] + const FULL_PARAMS = ffi::GST_DEBUG_GRAPH_SHOW_FULL_PARAMS as u32; + #[doc(alias = "GST_DEBUG_GRAPH_SHOW_ALL")] + const ALL = ffi::GST_DEBUG_GRAPH_SHOW_ALL as u32; + #[doc(alias = "GST_DEBUG_GRAPH_SHOW_VERBOSE")] + const VERBOSE = ffi::GST_DEBUG_GRAPH_SHOW_VERBOSE as u32; } } @@ -463,13 +526,20 @@ impl ToValue for DebugGraphDetails { } bitflags! { + #[doc(alias = "GstElementFlags")] pub struct ElementFlags: u32 { - const LOCKED_STATE = 16; - const SINK = 32; - const SOURCE = 64; - const PROVIDE_CLOCK = 128; - const REQUIRE_CLOCK = 256; - const INDEXABLE = 512; + #[doc(alias = "GST_ELEMENT_FLAG_LOCKED_STATE")] + const LOCKED_STATE = ffi::GST_ELEMENT_FLAG_LOCKED_STATE as u32; + #[doc(alias = "GST_ELEMENT_FLAG_SINK")] + const SINK = ffi::GST_ELEMENT_FLAG_SINK as u32; + #[doc(alias = "GST_ELEMENT_FLAG_SOURCE")] + const SOURCE = ffi::GST_ELEMENT_FLAG_SOURCE as u32; + #[doc(alias = "GST_ELEMENT_FLAG_PROVIDE_CLOCK")] + const PROVIDE_CLOCK = ffi::GST_ELEMENT_FLAG_PROVIDE_CLOCK as u32; + #[doc(alias = "GST_ELEMENT_FLAG_REQUIRE_CLOCK")] + const REQUIRE_CLOCK = ffi::GST_ELEMENT_FLAG_REQUIRE_CLOCK as u32; + #[doc(alias = "GST_ELEMENT_FLAG_INDEXABLE")] + const INDEXABLE = ffi::GST_ELEMENT_FLAG_INDEXABLE as u32; } } @@ -524,12 +594,18 @@ impl ToValue for ElementFlags { } bitflags! { + #[doc(alias = "GstEventTypeFlags")] pub struct EventTypeFlags: u32 { - const UPSTREAM = 1; - const DOWNSTREAM = 2; - const SERIALIZED = 4; - const STICKY = 8; - const STICKY_MULTI = 16; + #[doc(alias = "GST_EVENT_TYPE_UPSTREAM")] + const UPSTREAM = ffi::GST_EVENT_TYPE_UPSTREAM as u32; + #[doc(alias = "GST_EVENT_TYPE_DOWNSTREAM")] + const DOWNSTREAM = ffi::GST_EVENT_TYPE_DOWNSTREAM as u32; + #[doc(alias = "GST_EVENT_TYPE_SERIALIZED")] + const SERIALIZED = ffi::GST_EVENT_TYPE_SERIALIZED as u32; + #[doc(alias = "GST_EVENT_TYPE_STICKY")] + const STICKY = ffi::GST_EVENT_TYPE_STICKY as u32; + #[doc(alias = "GST_EVENT_TYPE_STICKY_MULTI")] + const STICKY_MULTI = ffi::GST_EVENT_TYPE_STICKY_MULTI as u32; } } @@ -584,13 +660,20 @@ impl ToValue for EventTypeFlags { } bitflags! { + #[doc(alias = "GstMemoryFlags")] pub struct MemoryFlags: u32 { - const READONLY = 2; - const NO_SHARE = 16; - const ZERO_PREFIXED = 32; - const ZERO_PADDED = 64; - const PHYSICALLY_CONTIGUOUS = 128; - const NOT_MAPPABLE = 256; + #[doc(alias = "GST_MEMORY_FLAG_READONLY")] + const READONLY = ffi::GST_MEMORY_FLAG_READONLY as u32; + #[doc(alias = "GST_MEMORY_FLAG_NO_SHARE")] + const NO_SHARE = ffi::GST_MEMORY_FLAG_NO_SHARE as u32; + #[doc(alias = "GST_MEMORY_FLAG_ZERO_PREFIXED")] + const ZERO_PREFIXED = ffi::GST_MEMORY_FLAG_ZERO_PREFIXED as u32; + #[doc(alias = "GST_MEMORY_FLAG_ZERO_PADDED")] + const ZERO_PADDED = ffi::GST_MEMORY_FLAG_ZERO_PADDED as u32; + #[doc(alias = "GST_MEMORY_FLAG_PHYSICALLY_CONTIGUOUS")] + const PHYSICALLY_CONTIGUOUS = ffi::GST_MEMORY_FLAG_PHYSICALLY_CONTIGUOUS as u32; + #[doc(alias = "GST_MEMORY_FLAG_NOT_MAPPABLE")] + const NOT_MAPPABLE = ffi::GST_MEMORY_FLAG_NOT_MAPPABLE as u32; } } @@ -645,10 +728,12 @@ impl ToValue for MemoryFlags { } bitflags! { + #[doc(alias = "GstObjectFlags")] pub struct ObjectFlags: u32 { #[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] - const MAY_BE_LEAKED = 1; + #[doc(alias = "GST_OBJECT_FLAG_MAY_BE_LEAKED")] + const MAY_BE_LEAKED = ffi::GST_OBJECT_FLAG_MAY_BE_LEAKED as u32; } } @@ -703,20 +788,34 @@ impl ToValue for ObjectFlags { } bitflags! { + #[doc(alias = "GstPadFlags")] pub struct PadFlags: u32 { - const BLOCKED = 16; - const FLUSHING = 32; - const EOS = 64; - const BLOCKING = 128; - const NEED_PARENT = 256; - const NEED_RECONFIGURE = 512; - const PENDING_EVENTS = 1024; - const FIXED_CAPS = 2048; - const PROXY_CAPS = 4096; - const PROXY_ALLOCATION = 8192; - const PROXY_SCHEDULING = 16384; - const ACCEPT_INTERSECT = 32768; - const ACCEPT_TEMPLATE = 65536; + #[doc(alias = "GST_PAD_FLAG_BLOCKED")] + const BLOCKED = ffi::GST_PAD_FLAG_BLOCKED as u32; + #[doc(alias = "GST_PAD_FLAG_FLUSHING")] + const FLUSHING = ffi::GST_PAD_FLAG_FLUSHING as u32; + #[doc(alias = "GST_PAD_FLAG_EOS")] + const EOS = ffi::GST_PAD_FLAG_EOS as u32; + #[doc(alias = "GST_PAD_FLAG_BLOCKING")] + const BLOCKING = ffi::GST_PAD_FLAG_BLOCKING as u32; + #[doc(alias = "GST_PAD_FLAG_NEED_PARENT")] + const NEED_PARENT = ffi::GST_PAD_FLAG_NEED_PARENT as u32; + #[doc(alias = "GST_PAD_FLAG_NEED_RECONFIGURE")] + const NEED_RECONFIGURE = ffi::GST_PAD_FLAG_NEED_RECONFIGURE as u32; + #[doc(alias = "GST_PAD_FLAG_PENDING_EVENTS")] + const PENDING_EVENTS = ffi::GST_PAD_FLAG_PENDING_EVENTS as u32; + #[doc(alias = "GST_PAD_FLAG_FIXED_CAPS")] + const FIXED_CAPS = ffi::GST_PAD_FLAG_FIXED_CAPS as u32; + #[doc(alias = "GST_PAD_FLAG_PROXY_CAPS")] + const PROXY_CAPS = ffi::GST_PAD_FLAG_PROXY_CAPS as u32; + #[doc(alias = "GST_PAD_FLAG_PROXY_ALLOCATION")] + const PROXY_ALLOCATION = ffi::GST_PAD_FLAG_PROXY_ALLOCATION as u32; + #[doc(alias = "GST_PAD_FLAG_PROXY_SCHEDULING")] + const PROXY_SCHEDULING = ffi::GST_PAD_FLAG_PROXY_SCHEDULING as u32; + #[doc(alias = "GST_PAD_FLAG_ACCEPT_INTERSECT")] + const ACCEPT_INTERSECT = ffi::GST_PAD_FLAG_ACCEPT_INTERSECT as u32; + #[doc(alias = "GST_PAD_FLAG_ACCEPT_TEMPLATE")] + const ACCEPT_TEMPLATE = ffi::GST_PAD_FLAG_ACCEPT_TEMPLATE as u32; } } @@ -771,12 +870,18 @@ impl ToValue for PadFlags { } bitflags! { + #[doc(alias = "GstPadLinkCheck")] pub struct PadLinkCheck: u32 { - const HIERARCHY = 1; - const TEMPLATE_CAPS = 2; - const CAPS = 4; - const NO_RECONFIGURE = 8; - const DEFAULT = 5; + #[doc(alias = "GST_PAD_LINK_CHECK_HIERARCHY")] + const HIERARCHY = ffi::GST_PAD_LINK_CHECK_HIERARCHY as u32; + #[doc(alias = "GST_PAD_LINK_CHECK_TEMPLATE_CAPS")] + const TEMPLATE_CAPS = ffi::GST_PAD_LINK_CHECK_TEMPLATE_CAPS as u32; + #[doc(alias = "GST_PAD_LINK_CHECK_CAPS")] + const CAPS = ffi::GST_PAD_LINK_CHECK_CAPS as u32; + #[doc(alias = "GST_PAD_LINK_CHECK_NO_RECONFIGURE")] + const NO_RECONFIGURE = ffi::GST_PAD_LINK_CHECK_NO_RECONFIGURE as u32; + #[doc(alias = "GST_PAD_LINK_CHECK_DEFAULT")] + const DEFAULT = ffi::GST_PAD_LINK_CHECK_DEFAULT as u32; } } @@ -831,28 +936,50 @@ impl ToValue for PadLinkCheck { } bitflags! { + #[doc(alias = "GstPadProbeType")] pub struct PadProbeType: u32 { - const IDLE = 1; - const BLOCK = 2; - const BUFFER = 16; - const BUFFER_LIST = 32; - const EVENT_DOWNSTREAM = 64; - const EVENT_UPSTREAM = 128; - const EVENT_FLUSH = 256; - const QUERY_DOWNSTREAM = 512; - const QUERY_UPSTREAM = 1024; - const PUSH = 4096; - const PULL = 8192; - const BLOCKING = 3; - const DATA_DOWNSTREAM = 112; - const DATA_UPSTREAM = 128; - const DATA_BOTH = 240; - const BLOCK_DOWNSTREAM = 114; - const BLOCK_UPSTREAM = 130; - const EVENT_BOTH = 192; - const QUERY_BOTH = 1536; - const ALL_BOTH = 1776; - const SCHEDULING = 12288; + #[doc(alias = "GST_PAD_PROBE_TYPE_IDLE")] + const IDLE = ffi::GST_PAD_PROBE_TYPE_IDLE as u32; + #[doc(alias = "GST_PAD_PROBE_TYPE_BLOCK")] + const BLOCK = ffi::GST_PAD_PROBE_TYPE_BLOCK as u32; + #[doc(alias = "GST_PAD_PROBE_TYPE_BUFFER")] + const BUFFER = ffi::GST_PAD_PROBE_TYPE_BUFFER as u32; + #[doc(alias = "GST_PAD_PROBE_TYPE_BUFFER_LIST")] + const BUFFER_LIST = ffi::GST_PAD_PROBE_TYPE_BUFFER_LIST as u32; + #[doc(alias = "GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM")] + const EVENT_DOWNSTREAM = ffi::GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM as u32; + #[doc(alias = "GST_PAD_PROBE_TYPE_EVENT_UPSTREAM")] + const EVENT_UPSTREAM = ffi::GST_PAD_PROBE_TYPE_EVENT_UPSTREAM as u32; + #[doc(alias = "GST_PAD_PROBE_TYPE_EVENT_FLUSH")] + const EVENT_FLUSH = ffi::GST_PAD_PROBE_TYPE_EVENT_FLUSH as u32; + #[doc(alias = "GST_PAD_PROBE_TYPE_QUERY_DOWNSTREAM")] + const QUERY_DOWNSTREAM = ffi::GST_PAD_PROBE_TYPE_QUERY_DOWNSTREAM as u32; + #[doc(alias = "GST_PAD_PROBE_TYPE_QUERY_UPSTREAM")] + const QUERY_UPSTREAM = ffi::GST_PAD_PROBE_TYPE_QUERY_UPSTREAM as u32; + #[doc(alias = "GST_PAD_PROBE_TYPE_PUSH")] + const PUSH = ffi::GST_PAD_PROBE_TYPE_PUSH as u32; + #[doc(alias = "GST_PAD_PROBE_TYPE_PULL")] + const PULL = ffi::GST_PAD_PROBE_TYPE_PULL as u32; + #[doc(alias = "GST_PAD_PROBE_TYPE_BLOCKING")] + const BLOCKING = ffi::GST_PAD_PROBE_TYPE_BLOCKING as u32; + #[doc(alias = "GST_PAD_PROBE_TYPE_DATA_DOWNSTREAM")] + const DATA_DOWNSTREAM = ffi::GST_PAD_PROBE_TYPE_DATA_DOWNSTREAM as u32; + #[doc(alias = "GST_PAD_PROBE_TYPE_DATA_UPSTREAM")] + const DATA_UPSTREAM = ffi::GST_PAD_PROBE_TYPE_DATA_UPSTREAM as u32; + #[doc(alias = "GST_PAD_PROBE_TYPE_DATA_BOTH")] + const DATA_BOTH = ffi::GST_PAD_PROBE_TYPE_DATA_BOTH as u32; + #[doc(alias = "GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM")] + const BLOCK_DOWNSTREAM = ffi::GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM as u32; + #[doc(alias = "GST_PAD_PROBE_TYPE_BLOCK_UPSTREAM")] + const BLOCK_UPSTREAM = ffi::GST_PAD_PROBE_TYPE_BLOCK_UPSTREAM as u32; + #[doc(alias = "GST_PAD_PROBE_TYPE_EVENT_BOTH")] + const EVENT_BOTH = ffi::GST_PAD_PROBE_TYPE_EVENT_BOTH as u32; + #[doc(alias = "GST_PAD_PROBE_TYPE_QUERY_BOTH")] + const QUERY_BOTH = ffi::GST_PAD_PROBE_TYPE_QUERY_BOTH as u32; + #[doc(alias = "GST_PAD_PROBE_TYPE_ALL_BOTH")] + const ALL_BOTH = ffi::GST_PAD_PROBE_TYPE_ALL_BOTH as u32; + #[doc(alias = "GST_PAD_PROBE_TYPE_SCHEDULING")] + const SCHEDULING = ffi::GST_PAD_PROBE_TYPE_SCHEDULING as u32; } } @@ -907,12 +1034,16 @@ impl ToValue for PadProbeType { } bitflags! { + #[doc(alias = "GstParseFlags")] pub struct ParseFlags: u32 { - const FATAL_ERRORS = 1; - const NO_SINGLE_ELEMENT_BINS = 2; + #[doc(alias = "GST_PARSE_FLAG_FATAL_ERRORS")] + const FATAL_ERRORS = ffi::GST_PARSE_FLAG_FATAL_ERRORS as u32; + #[doc(alias = "GST_PARSE_FLAG_NO_SINGLE_ELEMENT_BINS")] + const NO_SINGLE_ELEMENT_BINS = ffi::GST_PARSE_FLAG_NO_SINGLE_ELEMENT_BINS as u32; #[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] - const PLACE_IN_BIN = 4; + #[doc(alias = "GST_PARSE_FLAG_PLACE_IN_BIN")] + const PLACE_IN_BIN = ffi::GST_PARSE_FLAG_PLACE_IN_BIN as u32; } } @@ -967,8 +1098,10 @@ impl ToValue for ParseFlags { } bitflags! { + #[doc(alias = "GstPipelineFlags")] pub struct PipelineFlags: u32 { - const FIXED_CLOCK = 524288; + #[doc(alias = "GST_PIPELINE_FLAG_FIXED_CLOCK")] + const FIXED_CLOCK = ffi::GST_PIPELINE_FLAG_FIXED_CLOCK as u32; } } @@ -1025,8 +1158,10 @@ impl ToValue for PipelineFlags { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] bitflags! { + #[doc(alias = "GstPluginAPIFlags")] pub struct PluginAPIFlags: u32 { - const MEMBERS = 1; + #[doc(alias = "GST_PLUGIN_API_FLAG_IGNORE_ENUM_MEMBERS")] + const MEMBERS = ffi::GST_PLUGIN_API_FLAG_IGNORE_ENUM_MEMBERS as u32; } } @@ -1093,12 +1228,18 @@ impl ToValue for PluginAPIFlags { } bitflags! { + #[doc(alias = "GstPluginDependencyFlags")] pub struct PluginDependencyFlags: u32 { - const RECURSE = 1; - const PATHS_ARE_DEFAULT_ONLY = 2; - const FILE_NAME_IS_SUFFIX = 4; - const FILE_NAME_IS_PREFIX = 8; - const PATHS_ARE_RELATIVE_TO_EXE = 16; + #[doc(alias = "GST_PLUGIN_DEPENDENCY_FLAG_RECURSE")] + const RECURSE = ffi::GST_PLUGIN_DEPENDENCY_FLAG_RECURSE as u32; + #[doc(alias = "GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY")] + const PATHS_ARE_DEFAULT_ONLY = ffi::GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY as u32; + #[doc(alias = "GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX")] + const FILE_NAME_IS_SUFFIX = ffi::GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX as u32; + #[doc(alias = "GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_PREFIX")] + const FILE_NAME_IS_PREFIX = ffi::GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_PREFIX as u32; + #[doc(alias = "GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_RELATIVE_TO_EXE")] + const PATHS_ARE_RELATIVE_TO_EXE = ffi::GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_RELATIVE_TO_EXE as u32; } } @@ -1153,9 +1294,12 @@ impl ToValue for PluginDependencyFlags { } bitflags! { + #[doc(alias = "GstPluginFlags")] pub struct PluginFlags: u32 { - const CACHED = 16; - const BLACKLISTED = 32; + #[doc(alias = "GST_PLUGIN_FLAG_CACHED")] + const CACHED = ffi::GST_PLUGIN_FLAG_CACHED as u32; + #[doc(alias = "GST_PLUGIN_FLAG_BLACKLISTED")] + const BLACKLISTED = ffi::GST_PLUGIN_FLAG_BLACKLISTED as u32; } } @@ -1210,10 +1354,14 @@ impl ToValue for PluginFlags { } bitflags! { + #[doc(alias = "GstSchedulingFlags")] pub struct SchedulingFlags: u32 { - const SEEKABLE = 1; - const SEQUENTIAL = 2; - const BANDWIDTH_LIMITED = 4; + #[doc(alias = "GST_SCHEDULING_FLAG_SEEKABLE")] + const SEEKABLE = ffi::GST_SCHEDULING_FLAG_SEEKABLE as u32; + #[doc(alias = "GST_SCHEDULING_FLAG_SEQUENTIAL")] + const SEQUENTIAL = ffi::GST_SCHEDULING_FLAG_SEQUENTIAL as u32; + #[doc(alias = "GST_SCHEDULING_FLAG_BANDWIDTH_LIMITED")] + const BANDWIDTH_LIMITED = ffi::GST_SCHEDULING_FLAG_BANDWIDTH_LIMITED as u32; } } @@ -1268,24 +1416,38 @@ impl ToValue for SchedulingFlags { } bitflags! { + #[doc(alias = "GstSeekFlags")] pub struct SeekFlags: u32 { - const FLUSH = 1; - const ACCURATE = 2; - const KEY_UNIT = 4; - const SEGMENT = 8; - const TRICKMODE = 16; - const SKIP = 16; - const SNAP_BEFORE = 32; - const SNAP_AFTER = 64; - const SNAP_NEAREST = 96; - const TRICKMODE_KEY_UNITS = 128; - const TRICKMODE_NO_AUDIO = 256; + #[doc(alias = "GST_SEEK_FLAG_FLUSH")] + const FLUSH = ffi::GST_SEEK_FLAG_FLUSH as u32; + #[doc(alias = "GST_SEEK_FLAG_ACCURATE")] + const ACCURATE = ffi::GST_SEEK_FLAG_ACCURATE as u32; + #[doc(alias = "GST_SEEK_FLAG_KEY_UNIT")] + const KEY_UNIT = ffi::GST_SEEK_FLAG_KEY_UNIT as u32; + #[doc(alias = "GST_SEEK_FLAG_SEGMENT")] + const SEGMENT = ffi::GST_SEEK_FLAG_SEGMENT as u32; + #[doc(alias = "GST_SEEK_FLAG_TRICKMODE")] + const TRICKMODE = ffi::GST_SEEK_FLAG_TRICKMODE as u32; + #[doc(alias = "GST_SEEK_FLAG_SKIP")] + const SKIP = ffi::GST_SEEK_FLAG_SKIP as u32; + #[doc(alias = "GST_SEEK_FLAG_SNAP_BEFORE")] + const SNAP_BEFORE = ffi::GST_SEEK_FLAG_SNAP_BEFORE as u32; + #[doc(alias = "GST_SEEK_FLAG_SNAP_AFTER")] + const SNAP_AFTER = ffi::GST_SEEK_FLAG_SNAP_AFTER as u32; + #[doc(alias = "GST_SEEK_FLAG_SNAP_NEAREST")] + const SNAP_NEAREST = ffi::GST_SEEK_FLAG_SNAP_NEAREST as u32; + #[doc(alias = "GST_SEEK_FLAG_TRICKMODE_KEY_UNITS")] + const TRICKMODE_KEY_UNITS = ffi::GST_SEEK_FLAG_TRICKMODE_KEY_UNITS as u32; + #[doc(alias = "GST_SEEK_FLAG_TRICKMODE_NO_AUDIO")] + const TRICKMODE_NO_AUDIO = ffi::GST_SEEK_FLAG_TRICKMODE_NO_AUDIO as u32; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - const TRICKMODE_FORWARD_PREDICTED = 512; + #[doc(alias = "GST_SEEK_FLAG_TRICKMODE_FORWARD_PREDICTED")] + const TRICKMODE_FORWARD_PREDICTED = ffi::GST_SEEK_FLAG_TRICKMODE_FORWARD_PREDICTED as u32; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - const INSTANT_RATE_CHANGE = 1024; + #[doc(alias = "GST_SEEK_FLAG_INSTANT_RATE_CHANGE")] + const INSTANT_RATE_CHANGE = ffi::GST_SEEK_FLAG_INSTANT_RATE_CHANGE as u32; } } @@ -1341,16 +1503,24 @@ impl ToValue for SeekFlags { bitflags! { #[cfg_attr(feature = "ser_de", derive(serde::Serialize, serde::Deserialize))] + #[doc(alias = "GstSegmentFlags")] pub struct SegmentFlags: u32 { - const RESET = 1; - const TRICKMODE = 16; - const SKIP = 16; - const SEGMENT = 8; - const TRICKMODE_KEY_UNITS = 128; + #[doc(alias = "GST_SEGMENT_FLAG_RESET")] + const RESET = ffi::GST_SEGMENT_FLAG_RESET as u32; + #[doc(alias = "GST_SEGMENT_FLAG_TRICKMODE")] + const TRICKMODE = ffi::GST_SEGMENT_FLAG_TRICKMODE as u32; + #[doc(alias = "GST_SEGMENT_FLAG_SKIP")] + const SKIP = ffi::GST_SEGMENT_FLAG_SKIP as u32; + #[doc(alias = "GST_SEGMENT_FLAG_SEGMENT")] + const SEGMENT = ffi::GST_SEGMENT_FLAG_SEGMENT as u32; + #[doc(alias = "GST_SEGMENT_FLAG_TRICKMODE_KEY_UNITS")] + const TRICKMODE_KEY_UNITS = ffi::GST_SEGMENT_FLAG_TRICKMODE_KEY_UNITS as u32; #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - const TRICKMODE_FORWARD_PREDICTED = 512; - const TRICKMODE_NO_AUDIO = 256; + #[doc(alias = "GST_SEGMENT_FLAG_TRICKMODE_FORWARD_PREDICTED")] + const TRICKMODE_FORWARD_PREDICTED = ffi::GST_SEGMENT_FLAG_TRICKMODE_FORWARD_PREDICTED as u32; + #[doc(alias = "GST_SEGMENT_FLAG_TRICKMODE_NO_AUDIO")] + const TRICKMODE_NO_AUDIO = ffi::GST_SEGMENT_FLAG_TRICKMODE_NO_AUDIO as u32; } } @@ -1407,8 +1577,10 @@ impl ToValue for SegmentFlags { #[cfg(any(feature = "v1_12", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))] bitflags! { + #[doc(alias = "GstStackTraceFlags")] pub struct StackTraceFlags: u32 { - const FULL = 1; + #[doc(alias = "GST_STACK_TRACE_SHOW_FULL")] + const FULL = ffi::GST_STACK_TRACE_SHOW_FULL as u32; } } @@ -1475,10 +1647,14 @@ impl ToValue for StackTraceFlags { } bitflags! { + #[doc(alias = "GstStreamFlags")] pub struct StreamFlags: u32 { - const SPARSE = 1; - const SELECT = 2; - const UNSELECT = 4; + #[doc(alias = "GST_STREAM_FLAG_SPARSE")] + const SPARSE = ffi::GST_STREAM_FLAG_SPARSE as u32; + #[doc(alias = "GST_STREAM_FLAG_SELECT")] + const SELECT = ffi::GST_STREAM_FLAG_SELECT as u32; + #[doc(alias = "GST_STREAM_FLAG_UNSELECT")] + const UNSELECT = ffi::GST_STREAM_FLAG_UNSELECT as u32; } } @@ -1535,12 +1711,18 @@ impl ToValue for StreamFlags { #[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] bitflags! { + #[doc(alias = "GstStreamType")] pub struct StreamType: u32 { - const UNKNOWN = 1; - const AUDIO = 2; - const VIDEO = 4; - const CONTAINER = 8; - const TEXT = 16; + #[doc(alias = "GST_STREAM_TYPE_UNKNOWN")] + const UNKNOWN = ffi::GST_STREAM_TYPE_UNKNOWN as u32; + #[doc(alias = "GST_STREAM_TYPE_AUDIO")] + const AUDIO = ffi::GST_STREAM_TYPE_AUDIO as u32; + #[doc(alias = "GST_STREAM_TYPE_VIDEO")] + const VIDEO = ffi::GST_STREAM_TYPE_VIDEO as u32; + #[doc(alias = "GST_STREAM_TYPE_CONTAINER")] + const CONTAINER = ffi::GST_STREAM_TYPE_CONTAINER as u32; + #[doc(alias = "GST_STREAM_TYPE_TEXT")] + const TEXT = ffi::GST_STREAM_TYPE_TEXT as u32; } } diff --git a/gstreamer/src/auto/ghost_pad.rs b/gstreamer/src/auto/ghost_pad.rs index 29797bebd..3e42b5889 100644 --- a/gstreamer/src/auto/ghost_pad.rs +++ b/gstreamer/src/auto/ghost_pad.rs @@ -10,6 +10,7 @@ use glib::object::IsA; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstGhostPad")] pub struct GhostPad(Object) @extends ProxyPad, Pad, Object; match fn { diff --git a/gstreamer/src/auto/object.rs b/gstreamer/src/auto/object.rs index 8141cefb8..6d47e6285 100644 --- a/gstreamer/src/auto/object.rs +++ b/gstreamer/src/auto/object.rs @@ -15,6 +15,7 @@ use std::fmt; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstObject")] pub struct Object(Object); match fn { diff --git a/gstreamer/src/auto/pad.rs b/gstreamer/src/auto/pad.rs index 912b37947..345756e3f 100644 --- a/gstreamer/src/auto/pad.rs +++ b/gstreamer/src/auto/pad.rs @@ -32,6 +32,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstPad")] pub struct Pad(Object) @extends Object; match fn { diff --git a/gstreamer/src/auto/pad_template.rs b/gstreamer/src/auto/pad_template.rs index 860f7c953..90c4de922 100644 --- a/gstreamer/src/auto/pad_template.rs +++ b/gstreamer/src/auto/pad_template.rs @@ -18,6 +18,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstPadTemplate")] pub struct PadTemplate(Object) @extends Object; match fn { diff --git a/gstreamer/src/auto/pipeline.rs b/gstreamer/src/auto/pipeline.rs index 0e60b276d..caaebbd0e 100644 --- a/gstreamer/src/auto/pipeline.rs +++ b/gstreamer/src/auto/pipeline.rs @@ -18,6 +18,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstPipeline")] pub struct Pipeline(Object) @extends Bin, Element, Object, @implements ChildProxy; match fn { diff --git a/gstreamer/src/auto/plugin.rs b/gstreamer/src/auto/plugin.rs index e2bc35c76..3f7730c12 100644 --- a/gstreamer/src/auto/plugin.rs +++ b/gstreamer/src/auto/plugin.rs @@ -9,6 +9,7 @@ use glib::translate::*; use std::ptr; glib::wrapper! { + #[doc(alias = "GstPlugin")] pub struct Plugin(Object) @extends Object; match fn { diff --git a/gstreamer/src/auto/plugin_feature.rs b/gstreamer/src/auto/plugin_feature.rs index 74bfb9fe5..414cc6cf3 100644 --- a/gstreamer/src/auto/plugin_feature.rs +++ b/gstreamer/src/auto/plugin_feature.rs @@ -9,6 +9,7 @@ use glib::object::IsA; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstPluginFeature")] pub struct PluginFeature(Object) @extends Object; match fn { diff --git a/gstreamer/src/auto/preset.rs b/gstreamer/src/auto/preset.rs index 894f7fb46..0210044f1 100644 --- a/gstreamer/src/auto/preset.rs +++ b/gstreamer/src/auto/preset.rs @@ -8,6 +8,7 @@ use glib::translate::*; use std::ptr; glib::wrapper! { + #[doc(alias = "GstPreset")] pub struct Preset(Interface); match fn { diff --git a/gstreamer/src/auto/proxy_pad.rs b/gstreamer/src/auto/proxy_pad.rs index 9a9e1033f..0334edec2 100644 --- a/gstreamer/src/auto/proxy_pad.rs +++ b/gstreamer/src/auto/proxy_pad.rs @@ -9,6 +9,7 @@ use glib::object::IsA; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstProxyPad")] pub struct ProxyPad(Object) @extends Pad, Object; match fn { diff --git a/gstreamer/src/auto/registry.rs b/gstreamer/src/auto/registry.rs index 4b4d0d037..d1b734e34 100644 --- a/gstreamer/src/auto/registry.rs +++ b/gstreamer/src/auto/registry.rs @@ -15,6 +15,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstRegistry")] pub struct Registry(Object) @extends Object; match fn { diff --git a/gstreamer/src/auto/stream.rs b/gstreamer/src/auto/stream.rs index 8c80c90d2..7c6ea35bf 100644 --- a/gstreamer/src/auto/stream.rs +++ b/gstreamer/src/auto/stream.rs @@ -16,6 +16,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstStream")] pub struct Stream(Object) @extends Object; match fn { diff --git a/gstreamer/src/auto/stream_collection.rs b/gstreamer/src/auto/stream_collection.rs index 029eeb1ae..39588dd0e 100644 --- a/gstreamer/src/auto/stream_collection.rs +++ b/gstreamer/src/auto/stream_collection.rs @@ -8,6 +8,7 @@ use crate::Stream; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstStreamCollection")] pub struct StreamCollection(Object) @extends Object; match fn { diff --git a/gstreamer/src/auto/system_clock.rs b/gstreamer/src/auto/system_clock.rs index b7225dc08..efdd2f6d0 100644 --- a/gstreamer/src/auto/system_clock.rs +++ b/gstreamer/src/auto/system_clock.rs @@ -17,6 +17,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; glib::wrapper! { + #[doc(alias = "GstSystemClock")] pub struct SystemClock(Object) @extends Clock, Object; match fn { diff --git a/gstreamer/src/auto/tag_setter.rs b/gstreamer/src/auto/tag_setter.rs index 3c0985705..fecf1f7e1 100644 --- a/gstreamer/src/auto/tag_setter.rs +++ b/gstreamer/src/auto/tag_setter.rs @@ -11,6 +11,7 @@ use glib::object::IsA; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstTagSetter")] pub struct TagSetter(Interface) @requires Element, Object; match fn { diff --git a/gstreamer/src/auto/toc_setter.rs b/gstreamer/src/auto/toc_setter.rs index 62cbc7218..69e3642b9 100644 --- a/gstreamer/src/auto/toc_setter.rs +++ b/gstreamer/src/auto/toc_setter.rs @@ -10,6 +10,7 @@ use glib::object::IsA; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstTocSetter")] pub struct TocSetter(Interface) @requires Element, Object; match fn { diff --git a/gstreamer/src/auto/type_find_factory.rs b/gstreamer/src/auto/type_find_factory.rs index 68aae25fb..55c2388bb 100644 --- a/gstreamer/src/auto/type_find_factory.rs +++ b/gstreamer/src/auto/type_find_factory.rs @@ -9,6 +9,7 @@ use crate::PluginFeature; use glib::translate::*; glib::wrapper! { + #[doc(alias = "GstTypeFindFactory")] pub struct TypeFindFactory(Object) @extends PluginFeature, Object; match fn { diff --git a/gstreamer/src/auto/uri_handler.rs b/gstreamer/src/auto/uri_handler.rs index 23d401cd9..b59619f52 100644 --- a/gstreamer/src/auto/uri_handler.rs +++ b/gstreamer/src/auto/uri_handler.rs @@ -9,6 +9,7 @@ use glib::translate::*; use std::ptr; glib::wrapper! { + #[doc(alias = "GstURIHandler")] pub struct URIHandler(Interface); match fn { diff --git a/gstreamer/src/auto/versions.txt b/gstreamer/src/auto/versions.txt index 618c31e5c..aacb38c9b 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 @ de679ce) +Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) 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 36827cfe6..90a7404a1 100644 --- a/gstreamer/sys/build.rs +++ b/gstreamer/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 b0268c076..3c272bc94 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 b886015a4..6ca0631b3 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 f1db04788..960fc2c17 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // 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 459651b1a..5989447d5 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 @ de679ce) +// Generated by gir (https://github.com/gtk-rs/gir @ 72e79f7) // from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT