From 172a4d47abb30c89f4079d07124bd71a12a0edb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Laignel?= Date: Mon, 19 Apr 2021 21:55:01 +0200 Subject: [PATCH] regen: use type_ for glib macros This also includes a new substitution for bool getters: get_need_... -> needs_... --- docs/gstreamer-app/docs.md | 32 +- docs/gstreamer-audio/docs.md | 92 +- docs/gstreamer-base/docs.md | 70 +- docs/gstreamer-check/docs.md | 1023 ++++++++++++++++- docs/gstreamer-controller/docs.md | 30 +- docs/gstreamer-editing-services/docs.md | 192 ++-- docs/gstreamer-gl/docs.md | 282 ++++- docs/gstreamer-gl/egl/docs.md | 2 +- docs/gstreamer-gl/wayland/docs.md | 4 +- docs/gstreamer-gl/x11/docs.md | 4 +- docs/gstreamer-net/docs.md | 8 +- docs/gstreamer-pbutils/docs.md | 150 +-- docs/gstreamer-player/docs.md | 128 +-- docs/gstreamer-rtsp-server/docs.md | 271 ++--- docs/gstreamer-video/docs.md | 223 +++- docs/gstreamer-webrtc/docs.md | 12 +- docs/gstreamer/docs.md | 342 +++--- gstreamer-app/src/auto/app_sink.rs | 2 +- gstreamer-app/src/auto/app_src.rs | 2 +- gstreamer-app/src/auto/versions.txt | 2 +- gstreamer-app/sys/build.rs | 2 +- gstreamer-app/sys/src/lib.rs | 2 +- gstreamer-app/sys/tests/abi.rs | 2 +- gstreamer-app/sys/tests/constant.c | 2 +- gstreamer-app/sys/tests/layout.c | 2 +- gstreamer-audio/src/auto/audio_base_sink.rs | 2 +- gstreamer-audio/src/auto/audio_base_src.rs | 2 +- gstreamer-audio/src/auto/audio_decoder.rs | 6 +- gstreamer-audio/src/auto/audio_encoder.rs | 2 +- gstreamer-audio/src/auto/audio_sink.rs | 2 +- gstreamer-audio/src/auto/audio_src.rs | 2 +- .../src/auto/audio_stream_align.rs | 2 +- gstreamer-audio/src/auto/stream_volume.rs | 2 +- gstreamer-audio/src/auto/versions.txt | 2 +- gstreamer-audio/sys/build.rs | 2 +- gstreamer-audio/sys/src/lib.rs | 2 +- gstreamer-audio/sys/tests/abi.rs | 2 +- gstreamer-audio/sys/tests/constant.c | 2 +- gstreamer-audio/sys/tests/layout.c | 2 +- gstreamer-base/src/auto/adapter.rs | 2 +- gstreamer-base/src/auto/aggregator.rs | 2 +- gstreamer-base/src/auto/aggregator_pad.rs | 2 +- gstreamer-base/src/auto/base_parse.rs | 2 +- gstreamer-base/src/auto/base_sink.rs | 2 +- gstreamer-base/src/auto/base_src.rs | 2 +- gstreamer-base/src/auto/base_transform.rs | 2 +- gstreamer-base/src/auto/push_src.rs | 2 +- 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 | 2 +- gstreamer-check/src/auto/versions.txt | 2 +- gstreamer-check/sys/build.rs | 2 +- gstreamer-check/sys/src/lib.rs | 2 +- gstreamer-check/sys/tests/abi.rs | 2 +- gstreamer-check/sys/tests/constant.c | 2 +- gstreamer-check/sys/tests/layout.c | 2 +- .../src/auto/argb_control_binding.rs | 2 +- .../src/auto/direct_control_binding.rs | 2 +- .../src/auto/interpolation_control_source.rs | 2 +- .../src/auto/lfo_control_source.rs | 2 +- .../src/auto/proxy_control_binding.rs | 2 +- .../src/auto/timed_value_control_source.rs | 2 +- .../src/auto/trigger_control_source.rs | 2 +- gstreamer-controller/src/auto/versions.txt | 2 +- gstreamer-controller/sys/build.rs | 2 +- gstreamer-controller/sys/src/lib.rs | 2 +- gstreamer-controller/sys/tests/abi.rs | 2 +- gstreamer-controller/sys/tests/constant.c | 2 +- gstreamer-controller/sys/tests/layout.c | 2 +- gstreamer-editing-services/src/auto/asset.rs | 2 +- .../src/auto/base_effect.rs | 2 +- .../src/auto/base_transition_clip.rs | 2 +- gstreamer-editing-services/src/auto/clip.rs | 2 +- .../src/auto/container.rs | 2 +- gstreamer-editing-services/src/auto/effect.rs | 2 +- .../src/auto/extractable.rs | 2 +- gstreamer-editing-services/src/auto/group.rs | 2 +- gstreamer-editing-services/src/auto/layer.rs | 2 +- .../src/auto/operation_clip.rs | 2 +- .../src/auto/pipeline.rs | 2 +- .../src/auto/project.rs | 2 +- .../src/auto/timeline.rs | 2 +- .../src/auto/timeline_element.rs | 2 +- gstreamer-editing-services/src/auto/track.rs | 2 +- .../src/auto/track_element.rs | 2 +- .../src/auto/transition_clip.rs | 2 +- .../src/auto/uri_clip.rs | 2 +- .../src/auto/uri_clip_asset.rs | 2 +- .../src/auto/uri_source_asset.rs | 2 +- .../src/auto/versions.txt | 2 +- gstreamer-editing-services/sys/build.rs | 2 +- gstreamer-editing-services/sys/src/lib.rs | 2 +- gstreamer-editing-services/sys/tests/abi.rs | 2 +- .../sys/tests/constant.c | 2 +- gstreamer-editing-services/sys/tests/layout.c | 2 +- gstreamer-gl/egl/src/auto/gl_display_egl.rs | 2 +- gstreamer-gl/egl/src/auto/versions.txt | 2 +- gstreamer-gl/egl/sys/build.rs | 2 +- gstreamer-gl/egl/sys/src/lib.rs | 2 +- gstreamer-gl/egl/sys/tests/abi.rs | 2 +- gstreamer-gl/egl/sys/tests/constant.c | 2 +- gstreamer-gl/egl/sys/tests/layout.c | 2 +- gstreamer-gl/src/auto/gl_allocation_params.rs | 2 +- gstreamer-gl/src/auto/gl_base_filter.rs | 2 +- .../src/auto/gl_base_memory_allocator.rs | 2 +- gstreamer-gl/src/auto/gl_color_convert.rs | 2 +- gstreamer-gl/src/auto/gl_context.rs | 2 +- gstreamer-gl/src/auto/gl_display.rs | 2 +- gstreamer-gl/src/auto/gl_filter.rs | 2 +- gstreamer-gl/src/auto/gl_framebuffer.rs | 2 +- gstreamer-gl/src/auto/gl_memory_allocator.rs | 2 +- .../src/auto/gl_overlay_compositor.rs | 2 +- gstreamer-gl/src/auto/gl_shader.rs | 2 +- gstreamer-gl/src/auto/gl_upload.rs | 2 +- .../src/auto/gl_video_allocation_params.rs | 2 +- gstreamer-gl/src/auto/gl_view_convert.rs | 2 +- gstreamer-gl/src/auto/gl_window.rs | 2 +- gstreamer-gl/src/auto/glsl_stage.rs | 2 +- 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 | 2 +- gstreamer-gl/wayland/src/auto/versions.txt | 2 +- gstreamer-gl/wayland/sys/build.rs | 2 +- gstreamer-gl/wayland/sys/src/lib.rs | 2 +- gstreamer-gl/wayland/sys/tests/abi.rs | 2 +- gstreamer-gl/wayland/sys/tests/constant.c | 2 +- gstreamer-gl/wayland/sys/tests/layout.c | 2 +- gstreamer-gl/x11/src/auto/gl_display_x11.rs | 2 +- gstreamer-gl/x11/src/auto/versions.txt | 2 +- gstreamer-gl/x11/sys/build.rs | 2 +- gstreamer-gl/x11/sys/src/lib.rs | 2 +- gstreamer-gl/x11/sys/tests/abi.rs | 2 +- gstreamer-gl/x11/sys/tests/constant.c | 2 +- gstreamer-gl/x11/sys/tests/layout.c | 2 +- gstreamer-mpegts/sys/build.rs | 2 +- gstreamer-mpegts/sys/src/lib.rs | 2 +- gstreamer-mpegts/sys/tests/abi.rs | 2 +- gstreamer-mpegts/sys/tests/constant.c | 2 +- gstreamer-mpegts/sys/tests/layout.c | 2 +- gstreamer-net/src/auto/net_client_clock.rs | 2 +- gstreamer-net/src/auto/net_time_provider.rs | 2 +- gstreamer-net/src/auto/ntp_clock.rs | 2 +- gstreamer-net/src/auto/ptp_clock.rs | 2 +- gstreamer-net/src/auto/versions.txt | 2 +- gstreamer-net/sys/build.rs | 2 +- gstreamer-net/sys/src/lib.rs | 2 +- gstreamer-net/sys/tests/abi.rs | 2 +- gstreamer-net/sys/tests/constant.c | 2 +- gstreamer-net/sys/tests/layout.c | 2 +- gstreamer-pbutils/src/auto/discoverer.rs | 2 +- .../src/auto/discoverer_audio_info.rs | 2 +- .../src/auto/discoverer_container_info.rs | 2 +- gstreamer-pbutils/src/auto/discoverer_info.rs | 2 +- .../src/auto/discoverer_stream_info.rs | 2 +- .../src/auto/discoverer_subtitle_info.rs | 2 +- .../src/auto/discoverer_video_info.rs | 2 +- .../src/auto/encoding_audio_profile.rs | 2 +- .../src/auto/encoding_container_profile.rs | 2 +- .../src/auto/encoding_profile.rs | 2 +- gstreamer-pbutils/src/auto/encoding_target.rs | 2 +- .../src/auto/encoding_video_profile.rs | 2 +- gstreamer-pbutils/src/auto/versions.txt | 2 +- gstreamer-pbutils/sys/build.rs | 2 +- gstreamer-pbutils/sys/src/lib.rs | 2 +- gstreamer-pbutils/sys/tests/abi.rs | 2 +- gstreamer-pbutils/sys/tests/constant.c | 2 +- gstreamer-pbutils/sys/tests/layout.c | 2 +- gstreamer-player/src/auto/player.rs | 2 +- .../src/auto/player_audio_info.rs | 2 +- .../player_gmain_context_signal_dispatcher.rs | 2 +- .../src/auto/player_media_info.rs | 2 +- .../src/auto/player_signal_dispatcher.rs | 2 +- .../src/auto/player_stream_info.rs | 2 +- .../src/auto/player_subtitle_info.rs | 2 +- .../src/auto/player_video_info.rs | 2 +- .../player_video_overlay_video_renderer.rs | 2 +- .../src/auto/player_video_renderer.rs | 2 +- .../src/auto/player_visualization.rs | 2 +- gstreamer-player/src/auto/versions.txt | 2 +- gstreamer-player/sys/build.rs | 2 +- gstreamer-player/sys/src/lib.rs | 2 +- gstreamer-player/sys/tests/abi.rs | 2 +- gstreamer-player/sys/tests/constant.c | 2 +- gstreamer-player/sys/tests/layout.c | 2 +- gstreamer-rtp/src/auto/versions.txt | 2 +- gstreamer-rtp/sys/build.rs | 2 +- gstreamer-rtp/sys/src/lib.rs | 2 +- gstreamer-rtp/sys/tests/abi.rs | 2 +- gstreamer-rtp/sys/tests/constant.c | 2 +- gstreamer-rtp/sys/tests/layout.c | 2 +- .../src/auto/rtsp_address.rs | 2 +- .../src/auto/rtsp_address_pool.rs | 2 +- gstreamer-rtsp-server/src/auto/rtsp_auth.rs | 2 +- gstreamer-rtsp-server/src/auto/rtsp_client.rs | 2 +- gstreamer-rtsp-server/src/auto/rtsp_media.rs | 2 +- .../src/auto/rtsp_media_factory.rs | 2 +- .../src/auto/rtsp_media_factory_uri.rs | 2 +- .../src/auto/rtsp_mount_points.rs | 2 +- gstreamer-rtsp-server/src/auto/rtsp_server.rs | 2 +- .../src/auto/rtsp_session.rs | 2 +- .../src/auto/rtsp_session_media.rs | 2 +- .../src/auto/rtsp_session_pool.rs | 2 +- gstreamer-rtsp-server/src/auto/rtsp_stream.rs | 2 +- .../src/auto/rtsp_stream_transport.rs | 2 +- .../src/auto/rtsp_thread_pool.rs | 2 +- gstreamer-rtsp-server/src/auto/versions.txt | 2 +- gstreamer-rtsp-server/sys/build.rs | 2 +- gstreamer-rtsp-server/sys/src/lib.rs | 2 +- gstreamer-rtsp-server/sys/tests/abi.rs | 2 +- gstreamer-rtsp-server/sys/tests/constant.c | 2 +- gstreamer-rtsp-server/sys/tests/layout.c | 2 +- gstreamer-rtsp/src/auto/rtsp_auth_param.rs | 2 +- gstreamer-rtsp/src/auto/rtsp_url.rs | 2 +- gstreamer-rtsp/src/auto/versions.txt | 2 +- gstreamer-rtsp/sys/build.rs | 2 +- gstreamer-rtsp/sys/src/lib.rs | 2 +- gstreamer-rtsp/sys/tests/abi.rs | 2 +- gstreamer-rtsp/sys/tests/constant.c | 2 +- gstreamer-rtsp/sys/tests/layout.c | 2 +- gstreamer-sdp/src/auto/versions.txt | 2 +- gstreamer-sdp/sys/build.rs | 2 +- gstreamer-sdp/sys/src/lib.rs | 2 +- gstreamer-sdp/sys/tests/abi.rs | 2 +- gstreamer-sdp/sys/tests/constant.c | 2 +- gstreamer-sdp/sys/tests/layout.c | 2 +- gstreamer-tag/sys/build.rs | 2 +- gstreamer-tag/sys/src/lib.rs | 2 +- gstreamer-tag/sys/tests/abi.rs | 2 +- gstreamer-tag/sys/tests/constant.c | 2 +- gstreamer-tag/sys/tests/layout.c | 2 +- gstreamer-video/src/auto/versions.txt | 2 +- gstreamer-video/src/auto/video_buffer_pool.rs | 2 +- gstreamer-video/src/auto/video_decoder.rs | 6 +- gstreamer-video/src/auto/video_encoder.rs | 2 +- gstreamer-video/src/auto/video_filter.rs | 2 +- gstreamer-video/src/auto/video_orientation.rs | 2 +- gstreamer-video/src/auto/video_overlay.rs | 2 +- gstreamer-video/src/auto/video_sink.rs | 2 +- gstreamer-video/sys/build.rs | 2 +- gstreamer-video/sys/src/lib.rs | 2 +- gstreamer-video/sys/tests/abi.rs | 2 +- gstreamer-video/sys/tests/constant.c | 2 +- gstreamer-video/sys/tests/layout.c | 2 +- gstreamer-webrtc/src/auto/versions.txt | 2 +- .../src/auto/web_rtc_data_channel.rs | 2 +- .../src/auto/web_rtc_session_description.rs | 2 +- .../src/auto/web_rtcdtls_transport.rs | 2 +- .../src/auto/web_rtcice_transport.rs | 2 +- .../src/auto/web_rtcrtp_receiver.rs | 2 +- .../src/auto/web_rtcrtp_sender.rs | 2 +- .../src/auto/web_rtcrtp_transceiver.rs | 2 +- gstreamer-webrtc/sys/build.rs | 2 +- gstreamer-webrtc/sys/src/lib.rs | 2 +- gstreamer-webrtc/sys/tests/abi.rs | 2 +- gstreamer-webrtc/sys/tests/constant.c | 2 +- gstreamer-webrtc/sys/tests/layout.c | 2 +- gstreamer/src/auto/allocator.rs | 2 +- gstreamer/src/auto/bin.rs | 2 +- gstreamer/src/auto/buffer_pool.rs | 2 +- gstreamer/src/auto/bus.rs | 2 +- gstreamer/src/auto/child_proxy.rs | 2 +- gstreamer/src/auto/clock.rs | 2 +- gstreamer/src/auto/control_binding.rs | 2 +- gstreamer/src/auto/control_source.rs | 2 +- gstreamer/src/auto/date_time.rs | 2 +- gstreamer/src/auto/device.rs | 2 +- gstreamer/src/auto/device_monitor.rs | 2 +- gstreamer/src/auto/device_provider.rs | 2 +- gstreamer/src/auto/device_provider_factory.rs | 2 +- gstreamer/src/auto/element.rs | 2 +- gstreamer/src/auto/element_factory.rs | 2 +- gstreamer/src/auto/ghost_pad.rs | 2 +- gstreamer/src/auto/object.rs | 2 +- gstreamer/src/auto/pad.rs | 2 +- gstreamer/src/auto/pad_template.rs | 2 +- gstreamer/src/auto/pipeline.rs | 2 +- gstreamer/src/auto/plugin.rs | 2 +- gstreamer/src/auto/plugin_feature.rs | 2 +- gstreamer/src/auto/preset.rs | 2 +- gstreamer/src/auto/proxy_pad.rs | 2 +- gstreamer/src/auto/registry.rs | 2 +- gstreamer/src/auto/stream.rs | 2 +- gstreamer/src/auto/stream_collection.rs | 2 +- gstreamer/src/auto/system_clock.rs | 2 +- gstreamer/src/auto/tag_setter.rs | 2 +- gstreamer/src/auto/toc_setter.rs | 2 +- gstreamer/src/auto/type_find_factory.rs | 2 +- gstreamer/src/auto/uri_handler.rs | 2 +- gstreamer/src/auto/versions.txt | 2 +- gstreamer/sys/build.rs | 2 +- gstreamer/sys/src/lib.rs | 2 +- gstreamer/sys/tests/abi.rs | 2 +- gstreamer/sys/tests/constant.c | 2 +- gstreamer/sys/tests/layout.c | 2 +- 302 files changed, 2429 insertions(+), 1014 deletions(-) diff --git a/docs/gstreamer-app/docs.md b/docs/gstreamer-app/docs.md index 0255c301d..04d5fd4a2 100644 --- a/docs/gstreamer-app/docs.md +++ b/docs/gstreamer-app/docs.md @@ -39,8 +39,8 @@ to avoid polling. # Implements -[`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`gst::URIHandlerExt`](../gst/trait.URIHandlerExt.html) - +[`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`], [`trait@gst::URIHandlerExt`] + Check if `self` supports buffer lists. Feature: `v1_12` @@ -49,13 +49,13 @@ Feature: `v1_12` # Returns `true` if `self` supports buffer lists. - + Get the configured caps on `self`. # Returns the `gst::Caps` accepted by the sink. `gst_caps_unref` after usage. - + Check if `self` will drop old buffers when the maximum amount of queued buffers is reached. @@ -63,20 +63,20 @@ buffers is reached. `true` if `self` is dropping old buffers when the queue is filled. - + Check if appsink will emit the "new-preroll" and "new-sample" signals. # Returns `true` if `self` is emitting the "new-preroll" and "new-sample" signals. - + Get the maximum amount of buffers that can be queued in `self`. # Returns The maximum amount of buffers that can be queued. - + Check if `self` will wait for all buffers to be consumed when an EOS is received. @@ -433,7 +433,7 @@ occurs or the state of the appsrc has gone through READY. # Implements -[`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`gst::URIHandlerExt`](../gst/trait.URIHandlerExt.html) +[`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`], [`trait@gst::URIHandlerExt`] Indicates to the appsrc element that the last buffer queued in the element is the last buffer of the stream. @@ -442,19 +442,19 @@ element is the last buffer of the stream. `gst::FlowReturn::Ok` when the EOS was successfully queued. `gst::FlowReturn::Flushing` when `self` is not PAUSED or PLAYING. - + Get the configured caps on `self`. # Returns the `gst::Caps` produced by the source. `gst_caps_unref` after usage. - + Get the number of currently queued bytes inside `self`. # Returns The number of currently queued bytes. - + Get the duration of the stream in nanoseconds. A value of GST_CLOCK_TIME_NONE means that the duration is not known. @@ -464,33 +464,33 @@ Feature: `v1_10` # Returns the duration of the stream previously set with `AppSrc::set_duration`; - + Check if appsrc will emit the "new-preroll" and "new-buffer" signals. # Returns `true` if `self` is emitting the "new-preroll" and "new-buffer" signals. - + Retrieve the min and max latencies in `min` and `max` respectively. ## `min` the min latency ## `max` the max latency - + Get the maximum amount of bytes that can be queued in `self`. # Returns The maximum amount of bytes that can be queued. - + Get the size of the stream in bytes. A value of -1 means that the size is not known. # Returns the size of the stream previously set with `AppSrc::set_size`; - + Get the stream type. Control the stream type of `self` with `AppSrc::set_stream_type`. diff --git a/docs/gstreamer-audio/docs.md b/docs/gstreamer-audio/docs.md index e021d0152..7c7d4905f 100644 --- a/docs/gstreamer-audio/docs.md +++ b/docs/gstreamer-audio/docs.md @@ -6,13 +6,13 @@ writing samples to the ringbuffer, synchronisation, clipping and flushing. # Implements -[`AudioBaseSinkExt`](trait.AudioBaseSinkExt.html), [`gst_base::BaseSinkExt`](../gst_base/trait.BaseSinkExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`AudioBaseSinkExt`](trait@crate::AudioBaseSinkExt), [`trait@gst_base::BaseSinkExt`], [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] Trait containing all `AudioBaseSink` methods. # Implementors -[`AudioBaseSink`](struct.AudioBaseSink.html), [`AudioSink`](struct.AudioSink.html) +[`AudioBaseSink`](struct@crate::AudioBaseSink), [`AudioSink`](struct@crate::AudioSink) Create and return the `AudioRingBuffer` for `self`. This function will call the ::create_ringbuffer vmethod and will set `self` as the parent of @@ -21,32 +21,32 @@ the returned buffer (see `gst::ObjectExt::set_parent`). # Returns The new ringbuffer of `self`. - + Get the current alignment threshold, in nanoseconds, used by `self`. # Returns The current alignment threshold used by `self`. - + Get the current discont wait, in nanoseconds, used by `self`. # Returns The current discont wait used by `self`. - + Get the current drift tolerance, in microseconds, used by `self`. # Returns The current drift tolerance used by `self`. - + Queries whether `self` will provide a clock or not. See also gst_audio_base_sink_set_provide_clock. # Returns `true` if `self` will provide a clock. - + Get the current slave method used by `self`. # Returns @@ -115,13 +115,13 @@ reading samples from the ringbuffer, synchronisation and flushing. # Implements -[`AudioBaseSrcExt`](trait.AudioBaseSrcExt.html), [`gst_base::BaseSrcExt`](../gst_base/trait.BaseSrcExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`AudioBaseSrcExt`](trait@crate::AudioBaseSrcExt), [`trait@gst_base::BaseSrcExt`], [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] Trait containing all `AudioBaseSrc` methods. # Implementors -[`AudioBaseSrc`](struct.AudioBaseSrc.html), [`AudioSrc`](struct.AudioSrc.html) +[`AudioBaseSrc`](struct@crate::AudioBaseSrc), [`AudioSrc`](struct@crate::AudioSrc) Create and return the `AudioRingBuffer` for `self`. This function will call the ::create_ringbuffer vmethod and will set `self` as the parent of the @@ -130,14 +130,14 @@ returned buffer (see `gst::ObjectExt::set_parent`). # Returns The new ringbuffer of `self`. - + Queries whether `self` will provide a clock or not. See also gst_audio_base_src_set_provide_clock. # Returns `true` if `self` will provide a clock. - + Get the current slave method used by `self`. # Returns @@ -342,13 +342,13 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`AudioDecoderExt`](trait.AudioDecoderExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`AudioDecoderExtManual`](prelude/trait.AudioDecoderExtManual.html) +[`AudioDecoderExt`](trait@crate::AudioDecoderExt), [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`], [`AudioDecoderExtManual`](trait@crate::AudioDecoderExtManual) Trait containing all `AudioDecoder` methods. # Implementors -[`AudioDecoder`](struct.AudioDecoder.html) +[`AudioDecoder`](struct@crate::AudioDecoder) Helper function that allocates a buffer to hold an audio frame for `self`'s current output format. @@ -400,7 +400,7 @@ decoded data # Returns a `gst::FlowReturn` that should be escalated to caller (of caller) - + Lets `AudioDecoder` sub-classes to know the memory `allocator` used by the base class and its `params`. @@ -411,17 +411,17 @@ used ## `params` the `gst::AllocationParams` of `allocator` - + # Returns a `AudioInfo` describing the input audio format - + # Returns currently configured decoder delay - + Queries decoder drain handling. # Returns @@ -429,24 +429,24 @@ Queries decoder drain handling. TRUE if drainable handling is enabled. MT safe. - + # Returns currently configured byte to time conversion setting - + Sets the variables pointed to by `min` and `max` to the currently configured latency. ## `min` a pointer to storage to hold minimum latency ## `max` a pointer to storage to hold maximum latency - + # Returns currently configured decoder tolerated error count. - + Queries decoder's latency aggregation. # Returns @@ -454,7 +454,7 @@ Queries decoder's latency aggregation. aggregation latency. MT safe. - + Queries decoder required format handling. # Returns @@ -462,13 +462,13 @@ Queries decoder required format handling. TRUE if required format handling is enabled. MT safe. - + Return current parsing (sync and eos) state. ## `sync` a pointer to a variable to hold the current sync state ## `eos` a pointer to a variable to hold the current eos state - + Queries decoder packet loss concealment handling. # Returns @@ -476,12 +476,12 @@ Queries decoder packet loss concealment handling. TRUE if packet loss concealment is enabled. MT safe. - + # Returns currently configured plc handling - + Queries current audio jitter tolerance threshold. # Returns @@ -741,13 +741,13 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`AudioEncoderExt`](trait.AudioEncoderExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`AudioEncoderExtManual`](prelude/trait.AudioEncoderExtManual.html) +[`AudioEncoderExt`](trait@crate::AudioEncoderExt), [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`], [`AudioEncoderExtManual`](trait@crate::AudioEncoderExtManual) Trait containing all `AudioEncoder` methods. # Implementors -[`AudioEncoder`](struct.AudioEncoder.html) +[`AudioEncoder`](struct@crate::AudioEncoder) Helper function that allocates a buffer to hold an encoded audio frame for `self`'s current output format. @@ -776,7 +776,7 @@ number of samples (per channel) represented by encoded data # Returns a `gst::FlowReturn` that should be escalated to caller (of caller) - + Lets `AudioEncoder` sub-classes to know the memory `allocator` used by the base class and its `params`. @@ -787,12 +787,12 @@ used ## `params` the `gst::AllocationParams` of `allocator` - + # Returns a `AudioInfo` describing the input audio format - + Queries encoder drain handling. # Returns @@ -800,22 +800,22 @@ Queries encoder drain handling. TRUE if drainable handling is enabled. MT safe. - + # Returns currently configured maximum handled frames - + # Returns currently maximum requested samples per frame - + # Returns currently minimum requested samples per frame - + Queries encoder hard minimum handling. # Returns @@ -823,19 +823,19 @@ Queries encoder hard minimum handling. TRUE if hard minimum handling is enabled. MT safe. - + Sets the variables pointed to by `min` and `max` to the currently configured latency. ## `min` a pointer to storage to hold minimum latency ## `max` a pointer to storage to hold maximum latency - + # Returns currently configured encoder lookahead - + Queries if the encoder will handle granule marking. # Returns @@ -843,7 +843,7 @@ Queries if the encoder will handle granule marking. TRUE if granule marking is enabled. MT safe. - + Queries encoder perfect timestamp behaviour. # Returns @@ -851,7 +851,7 @@ Queries encoder perfect timestamp behaviour. TRUE if perfect timestamp setting enabled. MT safe. - + Queries current audio jitter tolerance threshold. # Returns @@ -1109,6 +1109,8 @@ complex layout the format can be used in `GstAudioFormatUnpack` and `GstAudioFormatPack` functions + +Information for an audio format. Information describing audio properties. This information can be filled in from GstCaps with `AudioInfo::from_caps`. @@ -1286,7 +1288,7 @@ together with `AudioBaseSink` using a default implementation of a # Implements -[`AudioBaseSinkExt`](trait.AudioBaseSinkExt.html), [`gst_base::BaseSinkExt`](../gst_base/trait.BaseSinkExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`AudioBaseSinkExt`](trait@crate::AudioBaseSinkExt), [`trait@gst_base::BaseSinkExt`], [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] This is the most simple base class for audio sources that only requires subclasses to implement a set of simple functions: @@ -1305,7 +1307,7 @@ together with `AudioBaseSrc` using a default implementation of a # Implements -[`AudioBaseSrcExt`](trait.AudioBaseSrcExt.html), [`gst_base::BaseSrcExt`](../gst_base/trait.BaseSrcExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`AudioBaseSrcExt`](trait@crate::AudioBaseSrcExt), [`trait@gst_base::BaseSrcExt`], [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] `AudioStreamAlign` provides a helper object that helps tracking audio stream alignment and discontinuities, and detects discontinuities if @@ -1485,13 +1487,13 @@ The volume property is defined to be a linear volume factor. # Implements -[`StreamVolumeExt`](trait.StreamVolumeExt.html) +[`StreamVolumeExt`](trait@crate::StreamVolumeExt) Trait containing all `StreamVolume` methods. # Implementors -[`StreamVolume`](struct.StreamVolume.html) +[`StreamVolume`](struct@crate::StreamVolume) ## `from` `StreamVolumeFormat` to convert from @@ -1503,7 +1505,7 @@ Volume in `from` format that should be converted # Returns the converted volume - + # Returns diff --git a/docs/gstreamer-base/docs.md b/docs/gstreamer-base/docs.md index 00f64ecfa..a03489254 100644 --- a/docs/gstreamer-base/docs.md +++ b/docs/gstreamer-base/docs.md @@ -103,7 +103,7 @@ buffer pushed in it. # Implements -[`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`trait@glib::object::ObjectExt`] Creates a new `Adapter`. Free with `glib::object::ObjectExt::unref`. @@ -627,7 +627,7 @@ Feature: `v1_14` # Implements -[`AggregatorExt`](trait.AggregatorExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`AggregatorExtManual`](prelude/trait.AggregatorExtManual.html) +[`AggregatorExt`](trait@crate::AggregatorExt), [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`], [`AggregatorExtManual`](trait@crate::AggregatorExtManual) Trait containing all `Aggregator` methods. @@ -635,7 +635,7 @@ Feature: `v1_14` # Implementors -[`Aggregator`](struct.Aggregator.html) +[`Aggregator`](struct@crate::Aggregator) This method will push the provided output buffer downstream. If needed, mandatory events such as stream-start, caps, and segment events will be @@ -654,7 +654,7 @@ Feature: `v1_18` ## `bufferlist` the `gst::BufferList` to push. - + Lets `Aggregator` sub-classes get the memory `allocator` acquired by the base class and its `params`. @@ -668,7 +668,7 @@ used ## `params` the `gst::AllocationParams` of `allocator` - + Feature: `v1_14` @@ -677,7 +677,7 @@ Feature: `v1_14` the instance of the `gst::BufferPool` used by `trans`; free it after use it - + Retrieves the latency values reported by `self` in response to the latency query, or `GST_CLOCK_TIME_NONE` if there is not live source connected and the element will not wait for the clock. @@ -835,7 +835,7 @@ Feature: `v1_14` # Implements -[`AggregatorPadExt`](trait.AggregatorPadExt.html), [`gst::PadExt`](../gst/trait.PadExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`AggregatorPadExtManual`](prelude/trait.AggregatorPadExtManual.html) +[`AggregatorPadExt`](trait@crate::AggregatorPadExt), [`trait@gst::PadExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`], [`AggregatorPadExtManual`](trait@crate::AggregatorPadExtManual) Trait containing all `AggregatorPad` methods. @@ -843,7 +843,7 @@ Feature: `v1_14` # Implementors -[`AggregatorPad`](struct.AggregatorPad.html) +[`AggregatorPad`](struct@crate::AggregatorPad) Drop the buffer currently queued in `self`. @@ -1055,13 +1055,13 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`BaseParseExt`](trait.BaseParseExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`BaseParseExtManual`](prelude/trait.BaseParseExtManual.html) +[`BaseParseExt`](trait@crate::BaseParseExt), [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`], [`BaseParseExtManual`](trait@crate::BaseParseExtManual) Trait containing all `BaseParse` methods. # Implementors -[`BaseParse`](struct.BaseParse.html) +[`BaseParse`](struct@crate::BaseParse) Adds an entry to the index associating `offset` to `ts`. It is recommended to only add keyframe entries. `force` allows to bypass checks, such as @@ -1441,13 +1441,13 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`BaseSinkExt`](trait.BaseSinkExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`BaseSinkExtManual`](prelude/trait.BaseSinkExtManual.html) +[`BaseSinkExt`](trait@crate::BaseSinkExt), [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`], [`BaseSinkExtManual`](trait@crate::BaseSinkExtManual) Trait containing all `BaseSink` methods. # Implementors -[`BaseSink`](struct.BaseSink.html) +[`BaseSink`](struct@crate::BaseSink) If the `self` spawns its own thread for pulling buffers from upstream it should call this method after it has pulled a buffer. If the element needed @@ -1462,14 +1462,14 @@ the mini object that caused the preroll `gst::FlowReturn::Ok` if the preroll completed and processing can continue. Any other return value should be returned from the render vmethod. - + Get the number of bytes that the sink will pull when it is operating in pull mode. # Returns the number of bytes `self` will pull in pull mode. - + Checks if `self` is currently configured to drop buffers which are outside the current segment @@ -1480,7 +1480,7 @@ Feature: `v1_12` `true` if the sink is configured to drop buffers outside the current segment. - + Get the last sample that arrived in the sink and was used for preroll or for rendering. This property can be used to generate thumbnails. @@ -1493,19 +1493,19 @@ Free-function: gst_sample_unref a `gst::Sample`. `gst_sample_unref` after usage. This function returns `None` when no buffer has arrived in the sink yet or when the sink is not in PAUSED or PLAYING. - + Get the currently configured latency. # Returns The configured latency. - + Get the maximum amount of bits per second that the sink will render. # Returns the maximum number of bits per second `self` will render. - + Gets the max lateness value. See `BaseSinkExt::set_max_lateness` for more details. @@ -1514,7 +1514,7 @@ more details. The maximum time in nanoseconds that a buffer can be late before it is dropped and not rendered. A value of -1 means an unlimited time. - + Get the processing deadline of `self`. see `BaseSinkExt::set_processing_deadline` for more information about the processing deadline. @@ -1525,14 +1525,14 @@ Feature: `v1_16` # Returns the processing deadline - + Get the render delay of `self`. see `BaseSinkExt::set_render_delay` for more information about the render delay. # Returns the render delay of `self`. - + Return various `BaseSink` statistics. This function returns a `gst::Structure` with name `application/x-gst-base-sink-stats` with the following fields: @@ -1546,21 +1546,21 @@ Feature: `v1_18` # Returns pointer to `gst::Structure` - + Checks if `self` is currently configured to synchronize against the clock. # Returns `true` if the sink is configured to synchronize against the clock. - + Get the time that will be inserted between frames to control the maximum buffers per second. # Returns the number of nanoseconds `self` will put between frames. - + Get the synchronisation offset of `self`. # Returns @@ -1965,14 +1965,14 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`BaseSrcExt`](trait.BaseSrcExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`BaseSrcExtManual`](prelude/trait.BaseSrcExtManual.html) +[`BaseSrcExt`](trait@crate::BaseSrcExt), [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`], [`BaseSrcExtManual`](trait@crate::BaseSrcExtManual) Trait containing all `BaseSrc` methods. # Implementors -[`BaseSrc`](struct.BaseSrc.html), [`PushSrc`](struct.PushSrc.html) - +[`BaseSrc`](struct@crate::BaseSrc), [`PushSrc`](struct@crate::PushSrc) + Lets `BaseSrc` sub-classes to know the memory `allocator` used by the base class and its `params`. @@ -1982,19 +1982,19 @@ the `gst::Allocator` used ## `params` the `gst::AllocationParams` of `allocator` - + Get the number of bytes that `self` will push out with each buffer. # Returns the number of bytes pushed with each buffer. - + # Returns the instance of the `gst::BufferPool` used by the src; unref it after usage. - + Query if `self` timestamps outgoing buffers based on the current running_time. # Returns @@ -2309,14 +2309,14 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`BaseTransformExt`](trait.BaseTransformExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`BaseTransformExtManual`](prelude/trait.BaseTransformExtManual.html) +[`BaseTransformExt`](trait@crate::BaseTransformExt), [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`], [`BaseTransformExtManual`](trait@crate::BaseTransformExtManual) Trait containing all `BaseTransform` methods. # Implementors -[`BaseTransform`](struct.BaseTransform.html) - +[`BaseTransform`](struct@crate::BaseTransform) + Lets `BaseTransform` sub-classes know the memory `allocator` used by the base class and its `params`. @@ -2326,7 +2326,7 @@ the `gst::Allocator` used ## `params` the `gst::AllocationParams` of `allocator` - + # Returns @@ -2582,4 +2582,4 @@ base class. # Implements -[`BaseSrcExt`](trait.BaseSrcExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`BaseSrcExtManual`](prelude/trait.BaseSrcExtManual.html) +[`BaseSrcExt`](trait@crate::BaseSrcExt), [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`], [`BaseSrcExtManual`](trait@crate::BaseSrcExtManual) diff --git a/docs/gstreamer-check/docs.md b/docs/gstreamer-check/docs.md index c0d5532e2..d9d7a65b1 100644 --- a/docs/gstreamer-check/docs.md +++ b/docs/gstreamer-check/docs.md @@ -1,4 +1,1021 @@ + +`Harness` is meant to make writing unit test for GStreamer much easier. +It can be thought of as a way of treating a `gst::Element` as a black box, +deterministically feeding it data, and controlling what data it outputs. + +The basic structure of `Harness` is two "floating" `GstPads` that connect +to the harnessed `gst::Element` src and sink `GstPads` like so: + + +```C + #include + #include + GstHarness *h; + GstBuffer *in_buf; + GstBuffer *out_buf; + + // attach the harness to the src and sink pad of GstQueue + h = gst_harness_new ("queue"); + + // we must specify a caps before pushing buffers + gst_harness_set_src_caps_str (h, "mycaps"); + + // create a buffer of size 42 + in_buf = gst_harness_create_buffer (h, 42); + + // push the buffer into the queue + gst_harness_push (h, in_buf); + + // pull the buffer from the queue + out_buf = gst_harness_pull (h); + + // validate the buffer in is the same as buffer out + fail_unless (in_buf == out_buf); + + // cleanup + gst_buffer_unref (out_buf); + gst_harness_teardown (h); + + ]| + +Another main feature of the #GstHarness is its integration with the +#GstTestClock. Operating the #GstTestClock can be very challenging, but +#GstHarness simplifies some of the most desired actions a lot, like wanting +to manually advance the clock while at the same time releasing a #GstClockID +that is waiting, with functions like gst_harness_crank_single_clock_wait(). + +#GstHarness also supports sub-harnesses, as a way of generating and +validating data. A sub-harness is another #GstHarness that is managed by +the "parent" harness, and can either be created by using the standard +gst_harness_new type functions directly on the (GstHarness *)->src_harness, +or using the much more convenient gst_harness_add_src() or +gst_harness_add_sink_parse(). If you have a decoder-element you want to test, +(like vp8dec) it can be very useful to add a src-harness with both a +src-element (videotestsrc) and an encoder (vp8enc) to feed the decoder data +with different configurations, by simply doing: + +|[ + GstHarness * h = gst_harness_new (h, "vp8dec"); + gst_harness_add_src_parse (h, "videotestsrc is-live=1 ! vp8enc", TRUE); +``` + +and then feeding it data with: + + +```C +gst_harness_push_from_src (h); +``` + +Adds a `gst::Element` to an empty `Harness` + +MT safe. +## `element` +a `gst::Element` to add to the harness (transfer none) +## `hsrc` +a `gst::StaticPadTemplate` describing the harness srcpad. +`None` will not create a harness srcpad. +## `element_sinkpad_name` +a `gchar` with the name of the element +sinkpad that is then linked to the harness srcpad. Can be a static or request +or a sometimes pad that has been added. `None` will not get/request a sinkpad +from the element. (Like if the element is a src.) +## `hsink` +a `gst::StaticPadTemplate` describing the harness sinkpad. +`None` will not create a harness sinkpad. +## `element_srcpad_name` +a `gchar` with the name of the element +srcpad that is then linked to the harness sinkpad, similar to the +`element_sinkpad_name`. + +Links the specified `gst::Pad` the [`crate::Harness`] (XXX: @-reference does not belong to Harness!) srcpad. + +MT safe. +## `sinkpad` +a `gst::Pad` to link to the harness srcpad + +Links the specified `gst::Pad` the [`crate::Harness`] (XXX: @-reference does not belong to Harness!) sinkpad. This can be useful if +perhaps the srcpad did not exist at the time of creating the harness, +like a demuxer that provides a sometimes-pad after receiving data. + +MT safe. +## `srcpad` +a `gst::Pad` to link to the harness sinkpad + +Parses the `launchline` and puts that in a `gst::Bin`, +and then attches the supplied `Harness` to the bin. + +MT safe. +## `launchline` +a `gchar` describing a gst-launch type line + +A convenience function to allows you to call gst_pad_add_probe on a +`gst::Pad` of a `gst::Element` that are residing inside the `Harness`, +by using normal gst_pad_add_probe syntax + +MT safe. +## `element_name` +a `gchar` with a `gst::ElementFactory` name +## `pad_name` +a `gchar` with the name of the pad to attach the probe to +## `mask` +a `gst::PadProbeType` (see gst_pad_add_probe) +## `callback` +a `GstPadProbeCallback` (see gst_pad_add_probe) +## `user_data` +a `gpointer` (see gst_pad_add_probe) +## `destroy_data` +a `GDestroyNotify` (see gst_pad_add_probe) + +Add api with params as one of the supported metadata API to propose when +receiving an allocation query. + +MT safe. + +Feature: `v1_16` + +## `api` +a metadata API +## `params` +API specific parameters + +Similar to gst_harness_add_sink_harness, this is a convenience to +directly create a sink-harness using the `sink_element_name` name specified. + +MT safe. +## `sink_element_name` +a `gchar` with the name of a `gst::Element` + +Similar to gst_harness_add_src, this allows you to send the data coming out +of your harnessed `gst::Element` to a sink-element, allowing to test different +responses the element output might create in sink elements. An example might +be an existing sink providing some analytical data on the input it receives that +can be useful to your testing. If the goal is to test a sink-element itself, +this is better achieved using gst_harness_new directly on the sink. + +If a sink-harness already exists it will be replaced. + +MT safe. +## `sink_harness` +a `Harness` to be added as a sink-harness. + +Similar to gst_harness_add_sink, this allows you to specify a launch-line +instead of just an element name. See gst_harness_add_src_parse for details. + +MT safe. +## `launchline` +a `gchar` with the name of a `gst::Element` + +Similar to gst_harness_add_src_harness, this is a convenience to +directly create a src-harness using the `src_element_name` name specified. + +MT safe. +## `src_element_name` +a `gchar` with the name of a `gst::Element` +## `has_clock_wait` +a `gboolean` specifying if the `gst::Element` uses +gst_clock_wait_id internally. + +A src-harness is a great way of providing the `Harness` with data. +By adding a src-type `gst::Element`, it is then easy to use functions like +gst_harness_push_from_src or gst_harness_src_crank_and_push_many +to provide your harnessed element with input. The `has_clock_wait` variable +is a great way to control you src-element with, in that you can have it +produce a buffer for you by simply cranking the clock, and not have it +spin out of control producing buffers as fast as possible. + +If a src-harness already exists it will be replaced. + +MT safe. +## `src_harness` +a `Harness` to be added as a src-harness. +## `has_clock_wait` +a `gboolean` specifying if the `gst::Element` uses +gst_clock_wait_id internally. + +Similar to gst_harness_add_src, this allows you to specify a launch-line, +which can be useful for both having more then one `gst::Element` acting as your +src (Like a src producing raw buffers, and then an encoder, providing encoded +data), but also by allowing you to set properties like "is-live" directly on +the elements. + +MT safe. +## `launchline` +a `gchar` describing a gst-launch type line +## `has_clock_wait` +a `gboolean` specifying if the `gst::Element` uses +gst_clock_wait_id internally. + +The number of `GstBuffers` currently in the `Harness` sinkpad `glib::AsyncQueue` + +MT safe. + +# Returns + +a `guint` number of buffers in the queue + +The total number of `GstBuffers` that has arrived on the `Harness` sinkpad. +This number includes buffers that have been dropped as well as buffers +that have already been pulled out. + +MT safe. + +# Returns + +a `guint` number of buffers received + +Similar to `Harness::crank_single_clock_wait`, this is the function to use +if your harnessed element(s) are using more then one gst_clock_id_wait. +Failing to do so can (and will) make it racy which `gst::ClockID` you actually +are releasing, where as this function will process all the waits at the +same time, ensuring that one thread can't register another wait before +both are released. + +MT safe. +## `waits` +a `guint` describing the number of `GstClockIDs` to crank + +# Returns + +a `gboolean` `true` if the "crank" was successful, `false` if not. + +A "crank" consists of three steps: +1: Wait for a `gst::ClockID` to be registered with the `TestClock`. +2: Advance the `TestClock` to the time the `gst::ClockID` is waiting for. +3: Release the `gst::ClockID` wait. +Together, this provides an easy way to not have to think about the details +around clocks and time, but still being able to write deterministic tests +that are dependent on this. A "crank" can be though of as the notion of +manually driving the clock forward to its next logical step. + +MT safe. + +# Returns + +a `gboolean` `true` if the "crank" was successful, `false` if not. + +Allocates a buffer using a `gst::BufferPool` if present, or else using the +configured `gst::Allocator` and `gst::AllocationParams` + +MT safe. +## `size` +a `gsize` specifying the size of the buffer + +# Returns + +a `gst::Buffer` of size `size` + +Allows you to dump the `GstBuffers` the `Harness` sinkpad `glib::AsyncQueue` +to a file. + +MT safe. +## `filename` +a `gchar` with a the name of a file + +The number of `GstEvents` currently in the `Harness` sinkpad `glib::AsyncQueue` + +MT safe. + +# Returns + +a `guint` number of events in the queue + +The total number of `GstEvents` that has arrived on the `Harness` sinkpad +This number includes events handled by the harness as well as events +that have already been pulled out. + +MT safe. + +# Returns + +a `guint` number of events received + +Most useful in conjunction with gst_harness_new_parse, this will scan the +`GstElements` inside the `Harness`, and check if any of them matches +`element_name`. Typical usecase being that you need to access one of the +harnessed elements for properties and/or signals. + +MT safe. +## `element_name` +a `gchar` with a `gst::ElementFactory` name + +# Returns + +a `gst::Element` or `None` if not found + +A convenience function to allows you to call g_object_get on a `gst::Element` +that are residing inside the `Harness`, by using normal g_object_get +syntax. + +MT safe. +## `element_name` +a `gchar` with a `gst::ElementFactory` name +## `first_property_name` +a `gchar` with the first property name + +Gets the `allocator` and its `params` that has been decided to use after an +allocation query. + +MT safe. +## `allocator` +the `gst::Allocator` used +## `params` +the `gst::AllocationParams` of + `allocator` + +Get the timestamp of the last `gst::Buffer` pushed on the `Harness` srcpad, +typically with gst_harness_push or gst_harness_push_from_src. + +MT safe. + +# Returns + +a `gst::ClockTime` with the timestamp or `GST_CLOCK_TIME_NONE` if no +`gst::Buffer` has been pushed on the `Harness` srcpad + +Get the `TestClock`. Useful if specific operations on the testclock is +needed. + +MT safe. + +# Returns + +a `TestClock`, or `None` if the testclock is not +present. + +This will set the harnessed `gst::Element` to `gst::State::Playing`. +`GstElements` without a sink-`gst::Pad` and with the `gst::ElementFlags::Source` +flag set is considered a src `gst::Element` +Non-src `GstElements` (like sinks and filters) are automatically set to +playing by the `Harness`, but src `GstElements` are not to avoid them +starting to produce buffers. +Hence, for src `gst::Element` you must call `Harness::play` explicitly. + +MT safe. + +Pulls a `gst::Buffer` from the `glib::AsyncQueue` on the `Harness` sinkpad. The pull +will timeout in 60 seconds. This is the standard way of getting a buffer +from a harnessed `gst::Element`. + +MT safe. + +# Returns + +a `gst::Buffer` or `None` if timed out. + +Pulls an `gst::Event` from the `glib::AsyncQueue` on the `Harness` sinkpad. +Timeouts after 60 seconds similar to gst_harness_pull. + +MT safe. + +# Returns + +a `gst::Event` or `None` if timed out. + +Pulls a `gst::Buffer` from the `glib::AsyncQueue` on the `Harness` sinkpad. The pull +will block until an EOS event is received, or timeout in 60 seconds. +MT safe. + +Feature: `v1_18` + +## `buf` +A `gst::Buffer`, or `None` if EOS or timeout occures + first. + +# Returns + +`true` on success, `false` on timeout. + +Pulls an `gst::Event` from the `glib::AsyncQueue` on the `Harness` srcpad. +Timeouts after 60 seconds similar to gst_harness_pull. + +MT safe. + +# Returns + +a `gst::Event` or `None` if timed out. + +Pushes a `gst::Buffer` on the `Harness` srcpad. The standard way of +interacting with an harnessed element. + +MT safe. +## `buffer` +a `gst::Buffer` to push + +# Returns + +a `gst::FlowReturn` with the result from the push + +Basically a gst_harness_push and a gst_harness_pull in one line. Reflects +the fact that you often want to do exactly this in your test: Push one buffer +in, and inspect the outcome. + +MT safe. +## `buffer` +a `gst::Buffer` to push + +# Returns + +a `gst::Buffer` or `None` if timed out. + +Pushes an `gst::Event` on the `Harness` srcpad. + +MT safe. +## `event` +a `gst::Event` to push + +# Returns + +a `gboolean` with the result from the push + +Transfer data from the src-`Harness` to the main-`Harness`. It consists +of 4 steps: +1: Make sure the src is started. (see: gst_harness_play) +2: Crank the clock (see: gst_harness_crank_single_clock_wait) +3: Pull a `gst::Buffer` from the src-`Harness` (see: gst_harness_pull) +4: Push the same `gst::Buffer` into the main-`Harness` (see: gst_harness_push) + +MT safe. + +# Returns + +a `gst::FlowReturn` with the result of the push + +Transfer one `gst::Buffer` from the main-`Harness` to the sink-`Harness`. +See gst_harness_push_from_src for details. + +MT safe. + +# Returns + +a `gst::FlowReturn` with the result of the push + +Pushes an `gst::Event` on the `Harness` sinkpad. + +MT safe. +## `event` +a `gst::Event` to push + +# Returns + +a `gboolean` with the result from the push + +Get the min latency reported by any harnessed `gst::Element`. + +MT safe. + +# Returns + +a `gst::ClockTime` with min latency + +A convenience function to allows you to call g_object_set on a `gst::Element` +that are residing inside the `Harness`, by using normal g_object_set +syntax. + +MT safe. +## `element_name` +a `gchar` with a `gst::ElementFactory` name +## `first_property_name` +a `gchar` with the first property name + +Setting this will make the harness block in the chain-function, and +then release when `Harness::pull` or `Harness::try_pull` is called. +Can be useful when wanting to control a src-element that is not implementing +`gst::Clock::id_wait` so it can't be controlled by the `TestClock`, since +it otherwise would produce buffers as fast as possible. + +MT safe. + +Sets the [`crate::Harness`] (XXX: @-reference does not belong to Harness!) srcpad and sinkpad caps. + +MT safe. +## `in_` +a `gst::Caps` to set on the harness srcpad +## `out` +a `gst::Caps` to set on the harness sinkpad + +Sets the [`crate::Harness`] (XXX: @-reference does not belong to Harness!) srcpad and sinkpad caps using strings. + +MT safe. +## `in_` +a `gchar` describing a `gst::Caps` to set on the harness srcpad +## `out` +a `gchar` describing a `gst::Caps` to set on the harness sinkpad + +When set to `true`, instead of placing the buffers arriving from the harnessed +`gst::Element` inside the sinkpads `glib::AsyncQueue`, they are instead unreffed. + +MT safe. +## `drop_buffers` +a `gboolean` specifying to drop outgoing buffers or not + +As a convenience, a src-harness will forward `gst::EventType::StreamStart`, +`gst::EventType::Caps` and `gst::EventType::Segment` to the main-harness if forwarding +is enabled, and forward any sticky-events from the main-harness to +the sink-harness. It will also forward the `gst::QueryType::Allocation`. + +If forwarding is disabled, the user will have to either manually push +these events from the src-harness using `Harness::src_push_event`, or +create and push them manually. While this will allow full control and +inspection of these events, for the most cases having forwarding enabled +will be sufficient when writing a test where the src-harness' main function +is providing data for the main-harness. + +Forwarding is enabled by default. + +MT safe. +## `forwarding` +a `gboolean` to enable/disable forwarding + +Sets the `allocator` and `params` to propose when receiving an allocation +query. + +MT safe. +## `allocator` +a `gst::Allocator` +## `params` +a `gst::AllocationParams` + +Sets the [`crate::Harness`] (XXX: @-reference does not belong to Harness!) sinkpad caps. + +MT safe. +## `caps` +a `gst::Caps` to set on the harness sinkpad + +Sets the [`crate::Harness`] (XXX: @-reference does not belong to Harness!) sinkpad caps using a string. + +MT safe. +## `str` +a `gchar` describing a `gst::Caps` to set on the harness sinkpad + +Sets the [`crate::Harness`] (XXX: @-reference does not belong to Harness!) srcpad caps. This must be done before any buffers +can legally be pushed from the harness to the element. + +MT safe. +## `caps` +a `gst::Caps` to set on the harness srcpad + +Sets the [`crate::Harness`] (XXX: @-reference does not belong to Harness!) srcpad caps using a string. This must be done before +any buffers can legally be pushed from the harness to the element. + +MT safe. +## `str` +a `gchar` describing a `gst::Caps` to set on the harness srcpad + +Advance the `TestClock` to a specific time. + +MT safe. +## `time` +a `gst::ClockTime` to advance the clock to + +# Returns + +a `gboolean` `true` if the time could be set. `false` if not. + +Sets the min latency reported by `Harness` when receiving a latency-query +## `latency` +a `gst::ClockTime` specifying the latency + +Convenience that calls gst_harness_push_to_sink `pushes` number of times. +Will abort the pushing if any one push fails. + +MT safe. +## `pushes` +a `gint` with the number of calls to gst_harness_push_to_sink + +# Returns + +a `gst::FlowReturn` with the result of the push + +Transfer data from the src-`Harness` to the main-`Harness`. Similar to +gst_harness_push_from_src, this variant allows you to specify how many cranks +and how many pushes to perform. This can be useful for both moving a lot +of data at the same time, as well as cases when one crank does not equal one +buffer to push and v.v. + +MT safe. +## `cranks` +a `gint` with the number of calls to gst_harness_crank_single_clock_wait +## `pushes` +a `gint` with the number of calls to gst_harness_push + +# Returns + +a `gst::FlowReturn` with the result of the push + +Similar to what gst_harness_src_push does with `GstBuffers`, this transfers +a `gst::Event` from the src-`Harness` to the main-`Harness`. Note that +some `GstEvents` are being transferred automagically. Look at sink_forward_pad +for details. + +MT safe. + +# Returns + +a `gboolean` with the result of the push + +Start a custom stress-thread that will call your `callback` for every +iteration allowing you to do something nasty. + +MT safe. +## `init` +a `GFunc` that is called initially and only once +## `callback` +a `GFunc` that is called as often as possible +## `data` +a `gpointer` with custom data to pass to the `callback` function +## `sleep` +a `gulong` specifying how long to sleep in (microseconds) for +each call to the `callback` + +# Returns + +a `HarnessThread` + +Call g_object_set with `name` and `value` in intervals of `sleep` microseconds + +MT safe. +## `name` +a `gchar` specifying a property name +## `value` +a `glib::object::Value` to set the property to +## `sleep` +a `gulong` specifying how long to sleep in (microseconds) for +each g_object_set with `name` and `value` + +# Returns + +a `HarnessThread` + +Push a `gst::Buffer` in intervals of `sleep` microseconds. + +MT safe. +## `caps` +a `gst::Caps` for the `gst::Buffer` +## `segment` +a `gst::Segment` +## `buf` +a `gst::Buffer` to push +## `sleep` +a `gulong` specifying how long to sleep in (microseconds) for +each call to gst_pad_push + +# Returns + +a `HarnessThread` + +Push a `gst::Buffer` returned by `func` in intervals of `sleep` microseconds. + +MT safe. +## `caps` +a `gst::Caps` for the `gst::Buffer` +## `segment` +a `gst::Segment` +## `func` +a `GstHarnessPrepareBufferFunc` function called before every iteration +to prepare / create a `gst::Buffer` for pushing +## `data` +a `gpointer` with data to the `GstHarnessPrepareBufferFunc` function +## `notify` +a `GDestroyNotify` that is called when thread is stopped +## `sleep` +a `gulong` specifying how long to sleep in (microseconds) for +each call to gst_pad_push + +# Returns + +a `HarnessThread` + +Push the `event` onto the harnessed `gst::Element` sinkpad in intervals of +`sleep` microseconds + +MT safe. +## `event` +a `gst::Event` to push +## `sleep` +a `gulong` specifying how long to sleep in (microseconds) for +each gst_event_push with `event` + +# Returns + +a `HarnessThread` + +Push a `gst::Event` returned by `func` onto the harnessed `gst::Element` sinkpad +in intervals of `sleep` microseconds. + +MT safe. +## `func` +a `GstHarnessPrepareEventFunc` function called before every iteration +to prepare / create a `gst::Event` for pushing +## `data` +a `gpointer` with data to the `GstHarnessPrepareEventFunc` function +## `notify` +a `GDestroyNotify` that is called when thread is stopped +## `sleep` +a `gulong` specifying how long to sleep in (microseconds) for +each call to gst_pad_push + +# Returns + +a `HarnessThread` + +Push the `event` onto the harnessed `gst::Element` srcpad in intervals of +`sleep` microseconds. + +MT safe. +## `event` +a `gst::Event` to push +## `sleep` +a `gulong` specifying how long to sleep in (microseconds) for +each gst_event_push with `event` + +# Returns + +a `HarnessThread` + +Push a `gst::Event` returned by `func` onto the harnessed `gst::Element` srcpad +in intervals of `sleep` microseconds. + +MT safe. +## `func` +a `GstHarnessPrepareEventFunc` function called before every iteration +to prepare / create a `gst::Event` for pushing +## `data` +a `gpointer` with data to the `GstHarnessPrepareEventFunc` function +## `notify` +a `GDestroyNotify` that is called when thread is stopped +## `sleep` +a `gulong` specifying how long to sleep in (microseconds) for +each call to gst_pad_push + +# Returns + +a `HarnessThread` + +Call gst_element_request_pad in intervals of `sleep` microseconds + +MT safe. +## `templ` +a `gst::PadTemplate` +## `name` +a `gchar` +## `caps` +a `gst::Caps` +## `release` +a `gboolean` +## `sleep` +a `gulong` specifying how long to sleep in (microseconds) for +each gst_element_request_pad + +# Returns + +a `HarnessThread` + +Change the state of your harnessed `gst::Element` from NULL to PLAYING and +back again, only pausing for `sleep` microseconds every time. + +MT safe. +## `sleep` +a `gulong` specifying how long to sleep in (microseconds) for +each state-change + +# Returns + +a `HarnessThread` + +Pulls all pending data from the harness and returns it as a single +data slice. + +Feature: `v1_14` + +## `size` +the size of the data in bytes + +# Returns + +a pointer to the data, newly allocated. Free + with `g_free` when no longer needed. Will return `None` if there is no + data. + +Pulls all pending data from the harness and returns it as a single buffer. + +Feature: `v1_14` + + +# Returns + +the data as a buffer. Unref with `gst_buffer_unref` + when no longer needed. + +Pulls all pending data from the harness and returns it as a single `glib::Bytes`. + +Feature: `v1_14` + + +# Returns + +a pointer to the data, newly allocated. Free + with `g_free` when no longer needed. + +Tears down a [`crate::Harness`] (XXX: @-reference does not belong to Harness!), freeing all resources allocated using it. + +MT safe. + +Pulls a `gst::Buffer` from the `glib::AsyncQueue` on the `Harness` sinkpad. Unlike +gst_harness_pull this will not wait for any buffers if not any are present, +and return `None` straight away. + +MT safe. + +# Returns + +a `gst::Buffer` or `None` if no buffers are present in the `glib::AsyncQueue` + +Pulls an `gst::Event` from the `glib::AsyncQueue` on the `Harness` sinkpad. +See gst_harness_try_pull for details. + +MT safe. + +# Returns + +a `gst::Event` or `None` if no buffers are present in the `glib::AsyncQueue` + +Pulls an `gst::Event` from the `glib::AsyncQueue` on the `Harness` srcpad. +See gst_harness_try_pull for details. + +MT safe. + +# Returns + +a `gst::Event` or `None` if no buffers are present in the `glib::AsyncQueue` + +The number of `GstEvents` currently in the `Harness` srcpad `glib::AsyncQueue` + +MT safe. + +# Returns + +a `guint` number of events in the queue + +The total number of `GstEvents` that has arrived on the `Harness` srcpad +This number includes events handled by the harness as well as events +that have already been pulled out. + +MT safe. + +# Returns + +a `guint` number of events received + +Sets the system `gst::Clock` on the [`crate::Harness`] (XXX: @-reference does not belong to Harness!) `gst::Element` + +MT safe. + +Sets the `TestClock` on the `Harness` `gst::Element` + +MT safe. + +Waits for `timeout` seconds until `waits` number of `gst::ClockID` waits is +registered with the `TestClock`. Useful for writing deterministic tests, +where you want to make sure that an expected number of waits have been +reached. + +MT safe. +## `waits` +a `guint` describing the numbers of `gst::ClockID` registered with +the `TestClock` +## `timeout` +a `guint` describing how many seconds to wait for `waits` to be true + +# Returns + +a `gboolean` `true` if the waits have been registered, `false` if not. +(Could be that it timed out waiting or that more waits than waits was found) + +Creates a new harness. Works like `Harness::new_with_padnames`, except it +assumes the `gst::Element` sinkpad is named "sink" and srcpad is named "src" + +MT safe. +## `element_name` +a `gchar` describing the `gst::Element` name + +# Returns + +a `Harness`, or `None` if the harness could +not be created + +Creates a new empty harness. Use `Harness::add_element_full` to add +an `gst::Element` to it. + +MT safe. + +# Returns + +a `Harness`, or `None` if the harness could +not be created + +Creates a new harness. + +MT safe. +## `element` +a `gst::Element` to attach the harness to (transfer none) +## `hsrc` +a `gst::StaticPadTemplate` describing the harness srcpad. +`None` will not create a harness srcpad. +## `element_sinkpad_name` +a `gchar` with the name of the element +sinkpad that is then linked to the harness srcpad. Can be a static or request +or a sometimes pad that has been added. `None` will not get/request a sinkpad +from the element. (Like if the element is a src.) +## `hsink` +a `gst::StaticPadTemplate` describing the harness sinkpad. +`None` will not create a harness sinkpad. +## `element_srcpad_name` +a `gchar` with the name of the element +srcpad that is then linked to the harness sinkpad, similar to the +`element_sinkpad_name`. + +# Returns + +a `Harness`, or `None` if the harness could +not be created + +Creates a new harness, parsing the `launchline` and putting that in a `gst::Bin`, +and then attches the harness to the bin. + +MT safe. +## `launchline` +a `gchar` describing a gst-launch type line + +# Returns + +a `Harness`, or `None` if the harness could +not be created + +Creates a new harness. Works in the same way as `Harness::new_full`, only +that generic padtemplates are used for the harness src and sinkpads, which +will be sufficient in most usecases. + +MT safe. +## `element` +a `gst::Element` to attach the harness to (transfer none) +## `element_sinkpad_name` +a `gchar` with the name of the element +sinkpad that is then linked to the harness srcpad. `None` does not attach a +sinkpad +## `element_srcpad_name` +a `gchar` with the name of the element +srcpad that is then linked to the harness sinkpad. `None` does not attach a +srcpad + +# Returns + +a `Harness`, or `None` if the harness could +not be created + +Creates a new harness. Works like `Harness::new_with_element`, +except you specify the factoryname of the `gst::Element` + +MT safe. +## `element_name` +a `gchar` describing the `gst::Element` name +## `element_sinkpad_name` +a `gchar` with the name of the element +sinkpad that is then linked to the harness srcpad. `None` does not attach a +sinkpad +## `element_srcpad_name` +a `gchar` with the name of the element +srcpad that is then linked to the harness sinkpad. `None` does not attach a +srcpad + +# Returns + +a `Harness`, or `None` if the harness could +not be created + +Creates a new harness, like `Harness::new_full`, except it +assumes the `gst::Element` sinkpad is named "sink" and srcpad is named "src" + +MT safe. +## `element_name` +a `gchar` describing the `gst::Element` name +## `hsrc` +a `gst::StaticPadTemplate` describing the harness srcpad. +`None` will not create a harness srcpad. +## `hsink` +a `gst::StaticPadTemplate` describing the harness sinkpad. +`None` will not create a harness sinkpad. + +# Returns + +a `Harness`, or `None` if the harness could +not be created + +Stop the running `HarnessThread` + +MT safe. +## `t` +a `HarnessThread` GstTestClock is an implementation of `gst::Clock` which has different behaviour compared to `gst::SystemClock`. Time for `gst::SystemClock` advances @@ -149,7 +1166,7 @@ arguments. This will highlight any issues with the unit test code itself. # Implements -[`gst::ClockExt`](../gst/trait.ClockExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`trait@gst::ClockExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] Creates a new test clock with its time set to zero. @@ -158,7 +1175,7 @@ MT safe. # Returns a `TestClock` cast to `gst::Clock`. - + Creates a new test clock with its time set to the specified time. MT safe. @@ -197,7 +1214,7 @@ manually driving the clock forward to its next logical step. `true` if the crank was successful, `false` otherwise. MT safe. - + Retrieve the requested time for the next pending clock notification. MT safe. diff --git a/docs/gstreamer-controller/docs.md b/docs/gstreamer-controller/docs.md index d0157a45a..342d55466 100644 --- a/docs/gstreamer-controller/docs.md +++ b/docs/gstreamer-controller/docs.md @@ -6,13 +6,13 @@ color component off and a value of 1.0 will be the color level. # Implements -[`ARGBControlBindingExt`](trait.ARGBControlBindingExt.html), [`gst::ControlBindingExt`](../gst/trait.ControlBindingExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html) +[`ARGBControlBindingExt`](trait@crate::ARGBControlBindingExt), [`trait@gst::ControlBindingExt`], [`trait@gst::ObjectExt`] Trait containing all `ARGBControlBinding` methods. # Implementors -[`ARGBControlBinding`](struct.ARGBControlBinding.html) +[`ARGBControlBinding`](struct@crate::ARGBControlBinding) Create a new control-binding that attaches the given `gst::ControlSource` to the `glib::object::Object` property. @@ -54,13 +54,13 @@ transformations. # Implements -[`DirectControlBindingExt`](trait.DirectControlBindingExt.html), [`gst::ControlBindingExt`](../gst/trait.ControlBindingExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html) +[`DirectControlBindingExt`](trait@crate::DirectControlBindingExt), [`trait@gst::ControlBindingExt`], [`trait@gst::ObjectExt`] Trait containing all `DirectControlBinding` methods. # Implementors -[`DirectControlBinding`](struct.DirectControlBinding.html) +[`DirectControlBinding`](struct@crate::DirectControlBinding) Create a new control-binding that attaches the `gst::ControlSource` to the `glib::object::Object` property. It will map the control source range [0.0 ... 1.0] to @@ -101,13 +101,13 @@ All functions are MT-safe. # Implements -[`InterpolationControlSourceExt`](trait.InterpolationControlSourceExt.html), [`TimedValueControlSourceExt`](trait.TimedValueControlSourceExt.html), [`gst::ControlSourceExt`](../gst/trait.ControlSourceExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html) +[`InterpolationControlSourceExt`](trait@crate::InterpolationControlSourceExt), [`TimedValueControlSourceExt`](trait@crate::TimedValueControlSourceExt), [`trait@gst::ControlSourceExt`], [`trait@gst::ObjectExt`] Trait containing all `InterpolationControlSource` methods. # Implementors -[`InterpolationControlSource`](struct.InterpolationControlSource.html) +[`InterpolationControlSource`](struct@crate::InterpolationControlSource) This returns a new, unbound `InterpolationControlSource`. @@ -139,13 +139,13 @@ All functions are MT-safe. # Implements -[`LFOControlSourceExt`](trait.LFOControlSourceExt.html), [`gst::ControlSourceExt`](../gst/trait.ControlSourceExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html) +[`LFOControlSourceExt`](trait@crate::LFOControlSourceExt), [`trait@gst::ControlSourceExt`], [`trait@gst::ObjectExt`] Trait containing all `LFOControlSource` methods. # Implementors -[`LFOControlSource`](struct.LFOControlSource.html) +[`LFOControlSource`](struct@crate::LFOControlSource) This returns a new, unbound `LFOControlSource`. @@ -203,7 +203,7 @@ Feature: `v1_12` # Implements -[`gst::ControlBindingExt`](../gst/trait.ControlBindingExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html) +[`trait@gst::ControlBindingExt`], [`trait@gst::ObjectExt`] `ProxyControlBinding` forwards all access to data or `sync_values()` requests from `property_name` on `object` to the control binding at @@ -237,13 +237,13 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`TimedValueControlSourceExt`](trait.TimedValueControlSourceExt.html), [`gst::ControlSourceExt`](../gst/trait.ControlSourceExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html) +[`TimedValueControlSourceExt`](trait@crate::TimedValueControlSourceExt), [`trait@gst::ControlSourceExt`], [`trait@gst::ObjectExt`] Trait containing all `TimedValueControlSource` methods. # Implementors -[`InterpolationControlSource`](struct.InterpolationControlSource.html), [`TimedValueControlSource`](struct.TimedValueControlSource.html), [`TriggerControlSource`](struct.TriggerControlSource.html) +[`InterpolationControlSource`](struct@crate::InterpolationControlSource), [`TimedValueControlSource`](struct@crate::TimedValueControlSource), [`TriggerControlSource`](struct@crate::TriggerControlSource) Find last value before given timestamp in control point list. If all values in the control point list come after the given @@ -256,7 +256,7 @@ the search key # Returns the found `glib::SequenceIter` or `None` - + Returns a read-only copy of the list of `gst::TimedValue` for the given property. Free the list after done with it. @@ -264,7 +264,7 @@ Free the list after done with it. a copy of the list, or `None` if the property isn't handled by the controller - + Get the number of control points that are set. # Returns @@ -324,13 +324,13 @@ All functions are MT-safe. # Implements -[`TriggerControlSourceExt`](trait.TriggerControlSourceExt.html), [`TimedValueControlSourceExt`](trait.TimedValueControlSourceExt.html), [`gst::ControlSourceExt`](../gst/trait.ControlSourceExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html) +[`TriggerControlSourceExt`](trait@crate::TriggerControlSourceExt), [`TimedValueControlSourceExt`](trait@crate::TimedValueControlSourceExt), [`trait@gst::ControlSourceExt`], [`trait@gst::ObjectExt`] Trait containing all `TriggerControlSource` methods. # Implementors -[`TriggerControlSource`](struct.TriggerControlSource.html) +[`TriggerControlSource`](struct@crate::TriggerControlSource) This returns a new, unbound `TriggerControlSource`. diff --git a/docs/gstreamer-editing-services/docs.md b/docs/gstreamer-editing-services/docs.md index 4b4d6a5ca..f72e41a30 100644 --- a/docs/gstreamer-editing-services/docs.md +++ b/docs/gstreamer-editing-services/docs.md @@ -97,13 +97,13 @@ them with `AssetExt::unproxy`. # Implements -[`AssetExt`](trait.AssetExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`AssetExt`](trait@crate::AssetExt), [`trait@glib::object::ObjectExt`] Trait containing all `Asset` methods. # Implementors -[`Asset`](struct.Asset.html), [`Project`](struct.Project.html) +[`Asset`](struct@crate::Asset), [`Project`](struct@crate::Project) Indicate that an existing `Asset` in the cache should be reloaded upon the next request. This can be used when some condition has @@ -241,32 +241,32 @@ newly created object. A newly created object, or `None` if an error occurred. - + Retrieve the error that was set on the asset when it was loaded. # Returns The error set on `asset`, or `None` if no error occurred when `asset` was loaded. - + Gets the `Asset:extractable-type` of the asset. # Returns The extractable type of `self`. - + Gets the `Asset:id` of the asset. # Returns The ID of `self`. - + Gets the default `Asset:proxy` of the asset. # Returns The default proxy of `self`. - + Gets the `Asset:proxy-target` of the asset. Note that the proxy target may have loaded with an error, so you should @@ -426,13 +426,13 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`BaseEffectExt`](trait.BaseEffectExt.html), [`TrackElementExt`](trait.TrackElementExt.html), [`TimelineElementExt`](trait.TimelineElementExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ExtractableExt`](trait.ExtractableExt.html), [`TimelineElementExtManual`](prelude/trait.TimelineElementExtManual.html) +[`BaseEffectExt`](trait@crate::BaseEffectExt), [`TrackElementExt`](trait@crate::TrackElementExt), [`TimelineElementExt`](trait@crate::TimelineElementExt), [`trait@glib::object::ObjectExt`], [`ExtractableExt`](trait@crate::ExtractableExt), [`TimelineElementExtManual`](trait@crate::TimelineElementExtManual) Trait containing all `BaseEffect` methods. # Implementors -[`BaseEffect`](struct.BaseEffect.html), [`Effect`](struct.Effect.html) +[`BaseEffect`](struct@crate::BaseEffect), [`Effect`](struct@crate::Effect) Get whether the effect is considered a time effect or not. An effect with registered time properties or set translation functions is @@ -512,7 +512,7 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`OperationClipExt`](trait.OperationClipExt.html), [`ClipExt`](trait.ClipExt.html), [`GESContainerExt`](trait.GESContainerExt.html), [`TimelineElementExt`](trait.TimelineElementExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ExtractableExt`](trait.ExtractableExt.html), [`TimelineElementExtManual`](prelude/trait.TimelineElementExtManual.html) +[`OperationClipExt`](trait@crate::OperationClipExt), [`ClipExt`](trait@crate::ClipExt), [`GESContainerExt`](trait@crate::GESContainerExt), [`TimelineElementExt`](trait@crate::TimelineElementExt), [`trait@glib::object::ObjectExt`], [`ExtractableExt`](trait@crate::ExtractableExt), [`TimelineElementExtManual`](trait@crate::TimelineElementExtManual) `Clip`-s are the core objects of a `Layer`. Each clip may exist in a single layer but may control several `TrackElement`-s that span @@ -696,13 +696,13 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`ClipExt`](trait.ClipExt.html), [`GESContainerExt`](trait.GESContainerExt.html), [`TimelineElementExt`](trait.TimelineElementExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ExtractableExt`](trait.ExtractableExt.html), [`TimelineElementExtManual`](prelude/trait.TimelineElementExtManual.html) +[`ClipExt`](trait@crate::ClipExt), [`GESContainerExt`](trait@crate::GESContainerExt), [`TimelineElementExt`](trait@crate::TimelineElementExt), [`trait@glib::object::ObjectExt`], [`ExtractableExt`](trait@crate::ExtractableExt), [`TimelineElementExtManual`](trait@crate::TimelineElementExtManual) Trait containing all `Clip` methods. # Implementors -[`Clip`](struct.Clip.html), [`OperationClip`](struct.OperationClip.html) +[`Clip`](struct@crate::Clip), [`OperationClip`](struct@crate::OperationClip) Extracts a `TrackElement` from an asset and adds it to the clip. This can be used to add effects that derive from the asset to the @@ -831,7 +831,7 @@ match any type A list of all the `TrackElement`-s controlled by `self`, in `track` or of the given `track_type`, and of the given `type_`. - + Gets the `Clip:duration-limit` of the clip. Feature: `v1_18` @@ -892,14 +892,14 @@ A time in the timeline time coordinates The time in the internal coordinates of `child` corresponding to `timeline_time`, or `GST_CLOCK_TIME_NONE` if the conversion could not be performed. - + Gets the `Clip:layer` of the clip. # Returns The layer `self` is in, or `None` if `self` is not in any layer. - + Gets the `Clip:supported-formats` of the clip. # Returns @@ -999,7 +999,7 @@ The effect we want to get the index of # Returns The index of `effect` in `self`, or -1 if something went wrong. - + Gets the `BaseEffect`-s that have been added to the clip. The returned list is ordered by their internal index in the clip. See `ClipExt::get_top_effect_index`. @@ -1172,13 +1172,13 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`GESContainerExt`](trait.GESContainerExt.html), [`TimelineElementExt`](trait.TimelineElementExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ExtractableExt`](trait.ExtractableExt.html), [`TimelineElementExtManual`](prelude/trait.TimelineElementExtManual.html) +[`GESContainerExt`](trait@crate::GESContainerExt), [`TimelineElementExt`](trait@crate::TimelineElementExt), [`trait@glib::object::ObjectExt`], [`ExtractableExt`](trait@crate::ExtractableExt), [`TimelineElementExtManual`](trait@crate::TimelineElementExtManual) Trait containing all `Container` methods. # Implementors -[`Clip`](struct.Clip.html), [`Container`](struct.Container.html), [`Group`](struct.Group.html) +[`Clip`](struct@crate::Clip), [`Container`](struct@crate::Container), [`Group`](struct@crate::Group) Groups the containers into a single container by merging them. The containers must all belong to the same `TimelineElement:timeline`. @@ -1470,13 +1470,13 @@ GES will always request at most one sinkpad per effect (when required). # Implements -[`EffectExt`](trait.EffectExt.html), [`BaseEffectExt`](trait.BaseEffectExt.html), [`TrackElementExt`](trait.TrackElementExt.html), [`TimelineElementExt`](trait.TimelineElementExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ExtractableExt`](trait.ExtractableExt.html), [`TimelineElementExtManual`](prelude/trait.TimelineElementExtManual.html) +[`EffectExt`](trait@crate::EffectExt), [`BaseEffectExt`](trait@crate::BaseEffectExt), [`TrackElementExt`](trait@crate::TrackElementExt), [`TimelineElementExt`](trait@crate::TimelineElementExt), [`trait@glib::object::ObjectExt`], [`ExtractableExt`](trait@crate::ExtractableExt), [`TimelineElementExtManual`](trait@crate::TimelineElementExtManual) Trait containing all `Effect` methods. # Implementors -[`Effect`](struct.Effect.html) +[`Effect`](struct@crate::Effect) Creates a new `Effect` from the description of the bin. It should be possible to determine the type of the effect through the element @@ -1521,21 +1521,21 @@ came from, which you can retrieve using `Extractable::get_asset`. # Implements -[`ExtractableExt`](trait.ExtractableExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`ExtractableExt`](trait@crate::ExtractableExt), [`trait@glib::object::ObjectExt`] Trait containing all `Extractable` methods. # Implementors -[`BaseEffect`](struct.BaseEffect.html), [`BaseTransitionClip`](struct.BaseTransitionClip.html), [`Clip`](struct.Clip.html), [`Container`](struct.Container.html), [`Effect`](struct.Effect.html), [`Extractable`](struct.Extractable.html), [`Group`](struct.Group.html), [`Layer`](struct.Layer.html), [`OperationClip`](struct.OperationClip.html), [`TimelineElement`](struct.TimelineElement.html), [`Timeline`](struct.Timeline.html), [`TrackElement`](struct.TrackElement.html), [`TransitionClip`](struct.TransitionClip.html), [`UriClip`](struct.UriClip.html) - +[`BaseEffect`](struct@crate::BaseEffect), [`BaseTransitionClip`](struct@crate::BaseTransitionClip), [`Clip`](struct@crate::Clip), [`Container`](struct@crate::Container), [`Effect`](struct@crate::Effect), [`Extractable`](struct@crate::Extractable), [`Group`](struct@crate::Group), [`Layer`](struct@crate::Layer), [`OperationClip`](struct@crate::OperationClip), [`TimelineElement`](struct@crate::TimelineElement), [`Timeline`](struct@crate::Timeline), [`TrackElement`](struct@crate::TrackElement), [`TransitionClip`](struct@crate::TransitionClip), [`UriClip`](struct@crate::UriClip) + Get the asset that has been set on the extractable object. # Returns The asset set on `self`, or `None` if no asset has been set. - + Gets the `Asset:id` of some associated asset. It may be the case that the object has no set asset, or even that such an asset does not yet exist in the GES cache. Instead, this will return the asset @@ -1604,13 +1604,13 @@ smallest) of all the layers it spans. # Implements -[`GroupExt`](trait.GroupExt.html), [`GESContainerExt`](trait.GESContainerExt.html), [`TimelineElementExt`](trait.TimelineElementExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ExtractableExt`](trait.ExtractableExt.html), [`TimelineElementExtManual`](prelude/trait.TimelineElementExtManual.html) +[`GroupExt`](trait@crate::GroupExt), [`GESContainerExt`](trait@crate::GESContainerExt), [`TimelineElementExt`](trait@crate::TimelineElementExt), [`trait@glib::object::ObjectExt`], [`ExtractableExt`](trait@crate::ExtractableExt), [`TimelineElementExtManual`](trait@crate::TimelineElementExtManual) Trait containing all `Group` methods. # Implementors -[`Group`](struct.Group.html) +[`Group`](struct@crate::Group) Created a new empty group. You may wish to use `Container::group` instead, which can return a different @@ -1681,13 +1681,13 @@ layers will simply play in addition. # Implements -[`LayerExt`](trait.LayerExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ExtractableExt`](trait.ExtractableExt.html) +[`LayerExt`](trait@crate::LayerExt), [`trait@glib::object::ObjectExt`], [`ExtractableExt`](trait@crate::ExtractableExt) Trait containing all `Layer` methods. # Implementors -[`Layer`](struct.Layer.html) +[`Layer`](struct@crate::Layer) Creates a new layer. @@ -1778,13 +1778,13 @@ The `Track` to check if `self` is currently active for # Returns `true` if `self` is active for `track`, or `false` otherwise. - + Gets the `Layer:auto-transition` of the layer. # Returns `true` if transitions are automatically added to `self`. - + Get the `Clip`-s contained in this layer. # Returns @@ -1802,7 +1802,7 @@ End of the interval A list of `Clip`-s that intersect the interval `[start, end)` in `self`. - + Retrieves the duration of the layer, which is the difference between the start of the layer (always time 0) and the end (which will be the end time of the final clip). @@ -1810,14 +1810,14 @@ be the end time of the final clip). # Returns The duration of `self`. - + Get the priority of the layer. When inside a timeline, this is its index in the timeline. See `TimelineExt::move_layer`. # Returns The priority of `self` within its timeline. - + Gets the timeline that the layer is a part of. # Returns @@ -1956,7 +1956,7 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`ClipExt`](trait.ClipExt.html), [`GESContainerExt`](trait.GESContainerExt.html), [`TimelineElementExt`](trait.TimelineElementExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ExtractableExt`](trait.ExtractableExt.html), [`TimelineElementExtManual`](prelude/trait.TimelineElementExtManual.html) +[`ClipExt`](trait@crate::ClipExt), [`GESContainerExt`](trait@crate::GESContainerExt), [`TimelineElementExt`](trait@crate::TimelineElementExt), [`trait@glib::object::ObjectExt`], [`ExtractableExt`](trait@crate::ExtractableExt), [`TimelineElementExtManual`](trait@crate::TimelineElementExtManual) A `Pipeline` can take an audio-video `Timeline` and conveniently link its `Track`-s to an internal `playsink` element, for @@ -1972,20 +1972,20 @@ You can set the encoding and save location used in rendering by calling # Implements -[`GESPipelineExt`](trait.GESPipelineExt.html), [`gst::PipelineExt`](../gst/trait.PipelineExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`GESPipelineExt`](trait@crate::GESPipelineExt), [`trait@gst::PipelineExt`], [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] Trait containing all `Pipeline` methods. # Implementors -[`Pipeline`](struct.Pipeline.html) +[`Pipeline`](struct@crate::Pipeline) Creates a new pipeline. # Returns The newly created pipeline. - + Gets the `Pipeline:mode` of the pipeline. # Returns @@ -2223,13 +2223,13 @@ the same temporary location. # Implements -[`ProjectExt`](trait.ProjectExt.html), [`AssetExt`](trait.AssetExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`ProjectExt`](trait@crate::ProjectExt), [`AssetExt`](trait@crate::AssetExt), [`trait@glib::object::ObjectExt`] Trait containing all `Project` methods. # Implementors -[`Project`](struct.Project.html) +[`Project`](struct@crate::Project) Creates a new `Project` and sets its uri to `uri` if provided. Note that if `uri` is not valid or `None`, the uri of the project will then be set @@ -2306,7 +2306,7 @@ to retrieve from `object` The `Asset` with `id` or `None` if no asset with `id` as an ID - + Get the assets that are being loaded # Returns @@ -2314,7 +2314,7 @@ Get the assets that are being loaded A set of loading asset that will be added to `self`. Note that those Asset are *not* loaded yet, and thus can not be used - + Retrieve the uri that is currently set on `self` # Returns @@ -2545,13 +2545,13 @@ content, or render it to a file. # Implements -[`TimelineExt`](trait.TimelineExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ExtractableExt`](trait.ExtractableExt.html) +[`TimelineExt`](trait@crate::TimelineExt), [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`], [`ExtractableExt`](trait@crate::ExtractableExt) Trait containing all `Timeline` methods. # Implementors -[`Timeline`](struct.Timeline.html) +[`Timeline`](struct@crate::Timeline) Creates a new empty timeline. @@ -2566,7 +2566,7 @@ single `VideoTrack`. The new timeline, or `None` if the tracks could not be created and added. - + Creates a timeline from the given URI. ## `uri` The URI to load from @@ -2659,13 +2659,13 @@ See `TimelineExt::commit`. `true` if pending changes were committed, or `false` if nothing needed to be committed. - + Gets `Timeline:auto-transition` for the timeline. # Returns The auto-transition of `self_`. - + Get the current `Timeline:duration` of the timeline # Returns @@ -2707,7 +2707,7 @@ The frame number to get the corresponding timestamp of in the # Returns The timestamp corresponding to `frame_number` in the output of `self`. - + Get the list of `Group`-s present in the timeline. # Returns @@ -2727,7 +2727,7 @@ The layer with the given `priority`, or `None` if none was found. Since 1.6 - + Get the list of `Layer`-s present in the timeline. # Returns @@ -2744,7 +2744,7 @@ A track The pad corresponding to `track`, or `None` if there is an error. - + Gets the `Timeline:snapping-distance` for the timeline. # Returns @@ -2759,7 +2759,7 @@ A pad The track corresponding to `pad`, or `None` if there is an error. - + Get the list of `Track`-s used by the timeline. # Returns @@ -3137,13 +3137,13 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`TimelineElementExt`](trait.TimelineElementExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ExtractableExt`](trait.ExtractableExt.html), [`TimelineElementExtManual`](prelude/trait.TimelineElementExtManual.html) +[`TimelineElementExt`](trait@crate::TimelineElementExt), [`trait@glib::object::ObjectExt`], [`ExtractableExt`](trait@crate::ExtractableExt), [`TimelineElementExtManual`](trait@crate::TimelineElementExtManual) Trait containing all `TimelineElement` methods. # Implementors -[`Container`](struct.Container.html), [`TimelineElement`](struct.TimelineElement.html), [`TrackElement`](struct.TrackElement.html) +[`Container`](struct@crate::Container), [`TimelineElement`](struct@crate::TimelineElement), [`TrackElement`](struct@crate::TrackElement) Register a property of a child of the element to allow it to be written with `TimelineElementExt::set_child_property` and read with @@ -3293,19 +3293,19 @@ The name of the first child property to get ## `var_args` The return location for the first property, followed optionally by more name/return location pairs, followed by `None` - + Gets the `TimelineElement:duration` for the element. # Returns The duration of `self` (in nanoseconds). - + Gets the `TimelineElement:in-point` for the element. # Returns The in-point of `self` (in nanoseconds). - + Gets the priority of the layer the element is in. A `Group` may span several layers, so this would return the highest priority (numerically, the smallest) amongst them. @@ -3318,19 +3318,19 @@ Feature: `v1_16` The priority of the layer `self` is in, or `GES_TIMELINE_ELEMENT_NO_LAYER_PRIORITY` if `self` does not exist in a layer. - + Gets the `TimelineElement:max-duration` for the element. # Returns The max-duration of `self` (in nanoseconds). - + Gets the `TimelineElement:name` for the element. # Returns The name of `self`. - + Get the "natural" framerate of `self`. This is to say, for example for a `VideoUriSource` the framerate of the source. @@ -3353,39 +3353,39 @@ The framerate denominator Whether `self` has a natural framerate or not, `framerate_n` and `framerate_d` will be set to, respectively, 0 and -1 if it is not the case. - + Gets the `TimelineElement:parent` for the element. # Returns The parent of `self`, or `None` if `self` has no parent. - + Gets the `TimelineElement:priority` for the element. # Returns The priority of `self`. - + Gets the `TimelineElement:start` for the element. # Returns The start of `self` (in nanoseconds). - + Gets the `TimelineElement:timeline` for the element. # Returns The timeline of `self`, or `None` if `self` has no timeline. - + Gets the toplevel `TimelineElement:parent` of the element. # Returns The toplevel parent of `self`. - + Gets the track types that the element can interact with, i.e. the type of `Track` it can exist in, or will create `TrackElement`-s for. @@ -3880,13 +3880,13 @@ updating them. # Implements -[`GESTrackExt`](trait.GESTrackExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`GESTrackExt`](trait@crate::GESTrackExt), [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] Trait containing all `Track` methods. # Implementors -[`Track`](struct.Track.html) +[`Track`](struct@crate::Track) Creates a new track with the given track-type and caps. @@ -3958,13 +3958,13 @@ tracks, so you are unlikely to need to use this directly. `true` if pending changes were committed, or `false` if nothing needed to be committed. - + Get the `Track:caps` of the track. # Returns The caps of `self`. - + Gets the track elements contained in the track. The returned list is sorted by the element's `TimelineElement:priority` and `TimelineElement:start`. @@ -3973,13 +3973,13 @@ sorted by the element's `TimelineElement:priority` and A list of all the `TrackElement`-s in `self`. - + Gets the `Track:mixing` of the track. # Returns Whether `self` is mixing. - + Gets the `Track:restriction-caps` of the track. Feature: `v1_18` @@ -3988,7 +3988,7 @@ Feature: `v1_18` # Returns The restriction-caps of `self`. - + Get the timeline this track belongs to. # Returns @@ -4206,13 +4206,13 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`TrackElementExt`](trait.TrackElementExt.html), [`TimelineElementExt`](trait.TimelineElementExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ExtractableExt`](trait.ExtractableExt.html), [`TimelineElementExtManual`](prelude/trait.TimelineElementExtManual.html) +[`TrackElementExt`](trait@crate::TrackElementExt), [`TimelineElementExt`](trait@crate::TimelineElementExt), [`trait@glib::object::ObjectExt`], [`ExtractableExt`](trait@crate::ExtractableExt), [`TimelineElementExtManual`](trait@crate::TimelineElementExtManual) Trait containing all `TrackElement` methods. # Implementors -[`TrackElement`](struct.TrackElement.html) +[`TrackElement`](struct@crate::TrackElement) Adds all the properties of a `gst::Element` that match the criteria as children properties of the track element. If the name of `element`'s @@ -4277,7 +4277,7 @@ The edit position: a new location for the edge of `self` # Returns `true` if the edit of `self` completed, `false` on failure. - + Get all the control bindings that have been created for the children properties of the track element using `TrackElementExt::set_control_source`. The keys used in the returned @@ -4290,7 +4290,7 @@ corresponding created `gst::ControlBinding`. A hash table containing all child-property-name/control-binding pairs for `self`. - + Gets `TrackElement:auto-clamp-control-sources`. Feature: `v1_18` @@ -4370,7 +4370,7 @@ binding of The control binding that was created for the specified child property of `self`, or `None` if `property_name` does not correspond to any control binding. - + Get the `gst::Element` that the track element's underlying nleobject controls. @@ -4378,7 +4378,7 @@ controls. The `gst::Element` being controlled by the nleobject that `self` wraps. - + Get the GNonLin object this object is controlling. # Deprecated @@ -4388,20 +4388,20 @@ use `TrackElementExt::get_nleobject` instead. # Returns The GNonLin object this object is controlling. - + Get the nleobject that this element wraps. # Returns The nleobject that `self` wraps. - + Get the `TrackElement:track` for the element. # Returns The track that `self` belongs to, or `None` if it does not belong to a track. - + Gets the `TrackElement:track-type` for the element. # Returns @@ -4776,13 +4776,13 @@ will be updated when needed. # Implements -[`TransitionClipExt`](trait.TransitionClipExt.html), [`BaseTransitionClipExt`](trait.BaseTransitionClipExt.html), [`OperationClipExt`](trait.OperationClipExt.html), [`ClipExt`](trait.ClipExt.html), [`GESContainerExt`](trait.GESContainerExt.html), [`TimelineElementExt`](trait.TimelineElementExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ExtractableExt`](trait.ExtractableExt.html), [`TimelineElementExtManual`](prelude/trait.TimelineElementExtManual.html) +[`TransitionClipExt`](trait@crate::TransitionClipExt), [`BaseTransitionClipExt`](trait@crate::BaseTransitionClipExt), [`OperationClipExt`](trait@crate::OperationClipExt), [`ClipExt`](trait@crate::ClipExt), [`GESContainerExt`](trait@crate::GESContainerExt), [`TimelineElementExt`](trait@crate::TimelineElementExt), [`trait@glib::object::ObjectExt`], [`ExtractableExt`](trait@crate::ExtractableExt), [`TimelineElementExtManual`](trait@crate::TimelineElementExtManual) Trait containing all `TransitionClip` methods. # Implementors -[`TransitionClip`](struct.TransitionClip.html) +[`TransitionClip`](struct@crate::TransitionClip) Creates a new `TransitionClip`. ## `vtype` @@ -4792,7 +4792,7 @@ the type of transition to create a newly created `TransitionClip`, or `None` if something went wrong. - + Creates a new `TransitionClip` for the provided `nick`. ## `nick` a string representing the type of transition to create @@ -4811,13 +4811,13 @@ the URI points to a file of some type. # Implements -[`UriClipExt`](trait.UriClipExt.html), [`ClipExt`](trait.ClipExt.html), [`GESContainerExt`](trait.GESContainerExt.html), [`TimelineElementExt`](trait.TimelineElementExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ExtractableExt`](trait.ExtractableExt.html), [`TimelineElementExtManual`](prelude/trait.TimelineElementExtManual.html) +[`UriClipExt`](trait@crate::UriClipExt), [`ClipExt`](trait@crate::ClipExt), [`GESContainerExt`](trait@crate::GESContainerExt), [`TimelineElementExt`](trait@crate::TimelineElementExt), [`trait@glib::object::ObjectExt`], [`ExtractableExt`](trait@crate::ExtractableExt), [`TimelineElementExtManual`](trait@crate::TimelineElementExtManual) Trait containing all `UriClip` methods. # Implementors -[`UriClip`](struct.UriClip.html) +[`UriClip`](struct@crate::UriClip) Creates a new `UriClip` for the provided `uri`. @@ -4832,7 +4832,7 @@ the URI the source should control The newly created `UriClip`, or `None` if there was an error. - + Get the location of the resource. # Returns @@ -4877,13 +4877,13 @@ The location of the file/resource to use. # Implements -[`UriClipAssetExt`](trait.UriClipAssetExt.html), [`AssetExt`](trait.AssetExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`UriClipAssetExt`](trait@crate::UriClipAssetExt), [`AssetExt`](trait@crate::AssetExt), [`trait@glib::object::ObjectExt`] Trait containing all `UriClipAsset` methods. # Implementors -[`UriClipAsset`](struct.UriClipAsset.html) +[`UriClipAsset`](struct@crate::UriClipAsset) Finalize the request of an async `UriClipAsset` @@ -4944,19 +4944,19 @@ You can also use multi file uris for `MultiFileSource`. A reference to the requested asset or `None` if an error happened - + Gets duration of the file represented by `self` # Returns The duration of `self` - + Gets `gst_pbutils::DiscovererInfo` about the file # Returns `gst_pbutils::DiscovererInfo` of specified asset - + Gets maximum duration of the file represented by `self`, it is usually the same as GESUriClipAsset::duration, but in the case of nested timelines, for example, they @@ -4968,7 +4968,7 @@ Feature: `v1_18` # Returns The maximum duration of `self` - + Get the GESUriSourceAsset `self` containes # Returns @@ -5001,20 +5001,20 @@ by `UriClipAsset`-s. # Implements -[`UriSourceAssetExt`](trait.UriSourceAssetExt.html), [`AssetExt`](trait.AssetExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`UriSourceAssetExt`](trait@crate::UriSourceAssetExt), [`AssetExt`](trait@crate::AssetExt), [`trait@glib::object::ObjectExt`] Trait containing all `UriSourceAsset` methods. # Implementors -[`UriSourceAsset`](struct.UriSourceAsset.html) - +[`UriSourceAsset`](struct@crate::UriSourceAsset) + Get the `UriClipAsset` `self_` is contained in # Returns a `UriClipAsset` - + Get the `gst_pbutils::DiscovererStreamInfo` user by `self` # Returns diff --git a/docs/gstreamer-gl/docs.md b/docs/gstreamer-gl/docs.md index 742f2f016..ceb5153de 100644 --- a/docs/gstreamer-gl/docs.md +++ b/docs/gstreamer-gl/docs.md @@ -67,13 +67,13 @@ context is available and current in the calling thread. # Implements -[`GLBaseFilterExt`](trait.GLBaseFilterExt.html), [`gst_base::BaseTransformExt`](../gst_base/trait.BaseTransformExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`GLBaseFilterExt`](trait@crate::GLBaseFilterExt), [`trait@gst_base::BaseTransformExt`], [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] Trait containing all `GLBaseFilter` methods. # Implementors -[`GLBaseFilter`](struct.GLBaseFilter.html), [`GLFilter`](struct.GLFilter.html) +[`GLBaseFilter`](struct@crate::GLBaseFilter), [`GLFilter`](struct@crate::GLFilter) Feature: `v1_16` @@ -82,7 +82,7 @@ Feature: `v1_16` # Returns Whether an OpenGL context could be retrieved or created successfully - + Feature: `v1_18` @@ -149,7 +149,15 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`gst::AllocatorExt`](../gst/trait.AllocatorExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`trait@gst::AllocatorExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] + +GstGLBuffer is a `gst::Memory` subclass providing support for the mapping of +GL buffers. + +Data is uploaded or downloaded from the GPU as is necessary. + +Initializes the GL Buffer allocator. It is safe to call this function +multiple times. This must be called before any other `GLBuffer` operation. `GLColorConvert` is an object that converts between color spaces and/or formats using OpenGL Shaders. @@ -163,7 +171,7 @@ The glcolorconvertelement provides a GStreamer element that uses # Implements -[`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] ## `context` a `GLContext` @@ -231,13 +239,13 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`GLContextExt`](trait.GLContextExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`GLContextExtManual`](prelude/trait.GLContextExtManual.html) +[`GLContextExt`](trait@crate::GLContextExt), [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`], [`GLContextExtManual`](trait@crate::GLContextExtManual) Trait containing all `GLContext` methods. # Implementors -[`GLContext`](struct.GLContext.html) +[`GLContext`](struct@crate::GLContext) Create a new `GLContext` with the specified `display` ## `display` @@ -405,12 +413,12 @@ called for this context. Fills `self`'s info (version, extensions, vtable, etc) from the GL context in the current thread. Typically used with wrapped contexts to allow wrapped contexts to be used as regular `GLContext`'s. - + # Returns the `GLDisplay` associated with this `self` - + Get the currently enabled OpenGL api. The currently available API may be limited by the `GLDisplay` in use and/or @@ -419,26 +427,26 @@ the `GLWindow` chosen. # Returns the available OpenGL api - + Gets the backing OpenGL context used by `self`. # Returns The platform specific backing OpenGL context - + Gets the OpenGL platform that used by `self`. # Returns The platform specific backing OpenGL context - + Get the version of the OpenGL platform (GLX, EGL, etc) used. Only valid after a call to `GLContextExt::create`. ## `major` return for the major version ## `minor` return for the minor version - + Returns the OpenGL version implemented by `self`. See `GLContextExt::get_gl_api` for retrieving the OpenGL api implemented by `self`. @@ -478,7 +486,7 @@ a function pointer or `None` # Returns The `glib::Thread`, `self` is current in or NULL - + # Returns @@ -584,13 +592,13 @@ platform and window system specific functionality. # Implements -[`GLDisplayExt`](trait.GLDisplayExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`GLDisplayExt`](trait@crate::GLDisplayExt), [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] Trait containing all `GLDisplay` methods. # Implementors -[`GLDisplay`](struct.GLDisplay.html) +[`GLDisplay`](struct@crate::GLDisplay) # Returns @@ -643,7 +651,7 @@ a comparison function to run The first `GLWindow` that causes a match from `compare_func` - + see `GLDisplayExt::filter_gl_api` for what the returned value represents # Returns @@ -663,7 +671,7 @@ Must be called with the object lock held. # Returns the native handle for the display - + # Returns @@ -737,13 +745,13 @@ single input and producing a single output with a `GLFramebuffer` # Implements -[`GLFilterExt`](trait.GLFilterExt.html), [`GLBaseFilterExt`](trait.GLBaseFilterExt.html), [`gst_base::BaseTransformExt`](../gst_base/trait.BaseTransformExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`GLFilterExt`](trait@crate::GLFilterExt), [`GLBaseFilterExt`](trait@crate::GLBaseFilterExt), [`trait@gst_base::BaseTransformExt`], [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] Trait containing all `GLFilter` methods. # Implementors -[`GLFilter`](struct.GLFilter.html) +[`GLFilter`](struct@crate::GLFilter) Render a fullscreen quad using the current GL state. The only GL state this modifies is the necessary vertex/index buffers and, if necessary, a @@ -842,13 +850,13 @@ between multiple OpenGL contexts. # Implements -[`GLFramebufferExt`](trait.GLFramebufferExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`GLFramebufferExt`](trait@crate::GLFramebufferExt), [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] Trait containing all `GLFramebuffer` methods. # Implementors -[`GLFramebuffer`](struct.GLFramebuffer.html) +[`GLFramebuffer`](struct@crate::GLFramebuffer) ## `context` a `GLContext` @@ -856,7 +864,7 @@ a `GLContext` # Returns a new `GLFramebuffer` - + ## `context` a `GLContext` ## `width` @@ -888,24 +896,162 @@ data to pass to `func` # Returns the result of executing `func` - + Retrieve the effective dimensions from the current attachments attached to `self`. ## `width` output width ## `height` output height - + # Returns the OpenGL id for `self` + +GstGLMemory is a `GLBaseMemory` subclass providing support for the mapping of +OpenGL textures. + +`GLMemory` is created or wrapped through `GLBaseMemory::alloc` +with `GLVideoAllocationParams`. + +Data is uploaded or downloaded from the GPU as is necessary. + +The `gst::Caps` that is used for `GLMemory` based buffers should contain +the `GST_CAPS_FEATURE_MEMORY_GL_MEMORY` as a `gst::CapsFeatures` and should +contain a 'texture-target' field with one of the `GLTextureTarget` values +as a string, i.e. some combination of 'texture-target=(string){2D, +rectangle, external-oes}'. + +Copies `self` into the texture specified by `tex_id`. The format of `tex_id` +is specified by `tex_format`, `width` and `height`. +## `tex_id` +OpenGL texture id +## `target` +the `GLTextureTarget` +## `tex_format` +the `GLFormat` +## `width` +width of `tex_id` +## `height` +height of `tex_id` + +# Returns + +Whether the copy succeeded + +Copies the texture in `GLMemory` into the texture specified by `tex_id`, +`out_target`, `out_tex_format`, `out_width` and `out_height`. +## `tex_id` +the destination texture id +## `out_target` +the destination `GLTextureTarget` +## `out_tex_format` +the destination `GLFormat` +## `out_width` +the destination width +## `out_height` +the destination height + +# Returns + +whether the copy succeeded. + + +# Returns + +the `GLFormat` of `self` + + +# Returns + +the texture height of `self` + + +# Returns + +the OpenGL texture handle of `self` + + +# Returns + +the `GLTextureTarget` of `self` + + +# Returns + +the texture width of `self` + +Initializes `self` with the required parameters. `info` is assumed to have +already have been modified with `gst_video::VideoInfo::align`. +## `allocator` +the `gst::Allocator` to initialize with +## `parent` +the parent `gst::Memory` to initialize with +## `context` +the `GLContext` to initialize with +## `target` +the `GLTextureTarget` for this `GLMemory` +## `tex_format` +the `GLFormat` for this `GLMemory` +## `params` +the [`crate::gst::AllocationParams`] (XXX: @-reference does not belong to GLMemory!) to initialize with +## `info` +the `gst_video::VideoInfo` for this `GLMemory` +## `plane` +the plane number (starting from 0) for this `GLMemory` +## `valign` +optional `gst_video::VideoAlignment` parameters +## `user_data` +user data to call `notify` with +## `notify` +a `GDestroyNotify` + +Reads the texture in `GLMemory` into `write_pointer` if no buffer is bound +to `GL_PIXEL_PACK_BUFFER`. Otherwise `write_pointer` is the byte offset into +the currently bound `GL_PIXEL_PACK_BUFFER` buffer to store the result of +glReadPixels. See the OpenGL specification for glReadPixels for more +details. +## `write_pointer` +the data pointer to pass to glReadPixels + +# Returns + +whether theread operation succeeded + +Reads the texture in `read_pointer` into `self`. + +See `GLMemory::read_pixels` for what `read_pointer` signifies. +## `read_pointer` +the data pointer to pass to glTexSubImage + +Initializes the GL Base Texture allocator. It is safe to call this function +multiple times. This must be called before any other GstGLMemory operation. + +## `allocator` +the [`crate::GLMemoryAllocator`] (XXX: @-reference does not belong to GLMemory!) to allocate from +## `buffer` +a `gst::Buffer` to setup +## `params` +the `GLVideoAllocationParams` to allocate with +## `tex_formats` + + a list of `GLFormat`'s to allocate with. +## `wrapped_data` + + a list of wrapped data pointers +## `n_wrapped_pointers` +the number of elements in `tex_formats` and `wrapped_data` + +# Returns + +whether the buffer was correctly setup Opaque `GLMemoryAllocator` struct # Implements -[`GLBaseMemoryAllocatorExt`](trait.GLBaseMemoryAllocatorExt.html), [`gst::AllocatorExt`](../gst/trait.AllocatorExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`GLBaseMemoryAllocatorExt`](trait@crate::GLBaseMemoryAllocatorExt), [`trait@gst::AllocatorExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] ## `context` a `GLContext` @@ -919,7 +1065,7 @@ Opaque `GLOverlayCompositor` object # Implements -[`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] no platform @@ -936,6 +1082,54 @@ the CGL platform used primarily on OS X the EAGL platform used primarily on iOS any OpenGL platform + +A `GLQuery` represents and holds an OpenGL query object. Various types of +queries can be run or counters retrieved. + +Record the result of a counter + +End counting the query + +Frees a `GLQuery` + +## `context` +a `GLContext` +## `query_type` +the `GLQueryType` + + +# Returns + +the result of the query + +Start counting the query + +Free any dynamically allocated resources + +Performs a GST_QUERY_CONTEXT query of type "gst.gl.local_context" on all +`GstPads` in `element` of `direction` for the local OpenGL context used by +GStreamer elements. +## `element` +a `gst::Element` to query from +## `direction` +the `gst::PadDirection` to query +## `context_ptr` +location containing the current and/or resulting + `GLContext` + +# Returns + +whether `context_ptr` contains a `GLContext` + +Free with `GLQuery::free` +## `context` +a `GLContext` +## `query_type` +the `GLQueryType` to create + +# Returns + +a new `GLQuery` no query @@ -968,7 +1162,7 @@ any OpenGL/OpenGL|ES profile # Implements -[`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] ## `context` a `GLContext` @@ -978,7 +1172,7 @@ the GL enum shader stage type # Returns a new `GLSLStage` of the specified `type_` - + ## `context` a `GLContext` ## `type_` @@ -993,7 +1187,7 @@ a shader string # Returns a new `GLSLStage` of the specified `type_` - + ## `context` a `GLContext` ## `type_` @@ -1016,22 +1210,22 @@ a new `GLSLStage` of the specified `type_` # Returns whether the compilation succeeded - + # Returns The GL handle for this shader stage - + # Returns The GLSL profile for the current shader stage - + # Returns The GL shader type for this shader stage - + # Returns @@ -1087,7 +1281,7 @@ version 450 (valid for compatibility/core desktop GL) # Implements -[`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] Note: must be called in the GL thread ## `context` @@ -1118,7 +1312,7 @@ a `glib::Error` # Returns a new `shader` with the specified stages. - + Each stage will attempt to be compiled and attached to `shader`. On error, `None` will be returned and `error` will contain the details of the error. @@ -1250,7 +1444,7 @@ name of the attribute # Returns the attribute index for `name` in `self` or -1 on failure - + # Returns @@ -1538,7 +1732,7 @@ A `GLUpload` can be created with `GLUpload::new` # Implements -[`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] ## `context` a `GLContext` @@ -1546,7 +1740,7 @@ a `GLContext` # Returns a new `GLUpload` object - + ## `in_caps` the input `gst::Caps` ## `out_caps` @@ -1736,7 +1930,7 @@ Convert stereoscopic/multiview video using fragment shaders. # Implements -[`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] # Returns @@ -1814,13 +2008,13 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`GLWindowExt`](trait.GLWindowExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`GLWindowExt`](trait@crate::GLWindowExt), [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] Trait containing all `GLWindow` methods. # Implementors -[`GLWindow`](struct.GLWindow.html) +[`GLWindow`](struct@crate::GLWindow) ## `display` a `GLDisplay` @@ -1839,7 +2033,7 @@ Feature: `v1_16` `true` if `self` controls the GL viewport, otherwise `false` Redraw the window contents. Implementations should invoke the draw callback. - + # Returns @@ -1849,7 +2043,7 @@ the `GLContext` associated with this `self` # Returns the windowing system display handle for this `self` - + ## `width` resulting surface width ## `height` diff --git a/docs/gstreamer-gl/egl/docs.md b/docs/gstreamer-gl/egl/docs.md index c7a572c9b..e8bf042ac 100644 --- a/docs/gstreamer-gl/egl/docs.md +++ b/docs/gstreamer-gl/egl/docs.md @@ -5,7 +5,7 @@ through the provided API # Implements -[`gst_gl::GLDisplayExt`](../gst_gl/trait.GLDisplayExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`trait@gst_gl::GLDisplayExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] Create a new `GLDisplayEGL` using the default EGL_DEFAULT_DISPLAY. diff --git a/docs/gstreamer-gl/wayland/docs.md b/docs/gstreamer-gl/wayland/docs.md index 49e039e7a..88056b18c 100644 --- a/docs/gstreamer-gl/wayland/docs.md +++ b/docs/gstreamer-gl/wayland/docs.md @@ -5,7 +5,7 @@ through the provided API # Implements -[`gst_gl::GLDisplayExt`](../gst_gl/trait.GLDisplayExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`trait@gst_gl::GLDisplayExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] Create a new `GLDisplayWayland` from the wayland display name. See `wl_display_connect`() for details on what is a valid name. @@ -15,7 +15,7 @@ a display name # Returns a new `GLDisplayWayland` or `None` - + Creates a new display connection from a wl_display Display. ## `display` an existing, wayland display diff --git a/docs/gstreamer-gl/x11/docs.md b/docs/gstreamer-gl/x11/docs.md index 7b686810d..4ae63c246 100644 --- a/docs/gstreamer-gl/x11/docs.md +++ b/docs/gstreamer-gl/x11/docs.md @@ -5,7 +5,7 @@ through the provided API # Implements -[`gst_gl::GLDisplayExt`](../gst_gl/trait.GLDisplayExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`trait@gst_gl::GLDisplayExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] Create a new `GLDisplayX11` from the x11 display name. See `XOpenDisplay`() for details on what is a valid name. @@ -15,7 +15,7 @@ a display name # Returns a new `GLDisplayX11` or `None` - + Creates a new display connection from a X11 Display. ## `display` an existing, x11 display diff --git a/docs/gstreamer-net/docs.md b/docs/gstreamer-net/docs.md index 7b848ceb1..5b72afa02 100644 --- a/docs/gstreamer-net/docs.md +++ b/docs/gstreamer-net/docs.md @@ -25,7 +25,7 @@ statistics about clock accuracy and network traffic. # Implements -[`gst::ClockExt`](../gst/trait.ClockExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`trait@gst::ClockExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] Create a new `NetClientClock` that will report the time provided by the `NetTimeProvider` on `remote_address` and @@ -56,7 +56,7 @@ The `NetTimeProvider` typically wraps the clock used by a `gst::Pipeline`. # Implements -[`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] Allows network clients to get the current time of `clock`. ## `clock` @@ -75,7 +75,7 @@ the new `NetTimeProvider`, or NULL on error # Implements -[`NetClientClockExt`](trait.NetClientClockExt.html), [`gst::ClockExt`](../gst/trait.ClockExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`NetClientClockExt`](trait@crate::NetClientClockExt), [`trait@gst::ClockExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] Create a new `NtpClock` that will report the time provided by the NTPv4 server on `remote_address` and `remote_port`. @@ -117,7 +117,7 @@ synchronization. # Implements -[`gst::ClockExt`](../gst/trait.ClockExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`trait@gst::ClockExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] Creates a new PTP clock instance that exports the PTP time of the master clock in `domain`. This clock can be slaved to other clocks as needed. diff --git a/docs/gstreamer-pbutils/docs.md b/docs/gstreamer-pbutils/docs.md index e4be06a57..fc01c23fe 100644 --- a/docs/gstreamer-pbutils/docs.md +++ b/docs/gstreamer-pbutils/docs.md @@ -19,7 +19,7 @@ All the information is returned in a `DiscovererInfo` structure. # Implements -[`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`trait@glib::object::ObjectExt`] Creates a new `Discoverer` with the provided timeout. ## `timeout` @@ -110,13 +110,13 @@ set on the result flags. # Implements -[`DiscovererStreamInfoExt`](trait.DiscovererStreamInfoExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) - +[`DiscovererStreamInfoExt`](trait@crate::DiscovererStreamInfoExt), [`trait@glib::object::ObjectExt`] + # Returns the average or nominal bitrate of the stream in bits/second. - + Feature: `v1_14` @@ -126,27 +126,27 @@ Feature: `v1_14` the channel-mask of the stream, refer to `gst_audio_channel_positions_from_mask` for more information. - + # Returns the number of channels in the stream. - + # Returns the number of bits used per sample in each channel. - + # Returns the language of the stream, or NULL if unknown. - + # Returns the maximum bitrate of the stream in bits/second. - + # Returns @@ -156,8 +156,8 @@ the sample rate of the stream in Hertz. # Implements -[`DiscovererStreamInfoExt`](trait.DiscovererStreamInfoExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) - +[`DiscovererStreamInfoExt`](trait@crate::DiscovererStreamInfoExt), [`trait@glib::object::ObjectExt`] + # Returns @@ -169,7 +169,7 @@ Structure containing the information of a URI analyzed by `Discoverer`. # Implements -[`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`trait@glib::object::ObjectExt`] Parses a `glib::Variant` as produced by `DiscovererInfo::to_variant` back to a `DiscovererInfo`. @@ -184,7 +184,7 @@ A newly-allocated `DiscovererInfo`. # Returns A copy of the `DiscovererInfo` - + Finds all the `DiscovererAudioInfo` contained in `self` # Returns @@ -192,7 +192,7 @@ Finds all the `DiscovererAudioInfo` contained in `self` A `glib::List` of matching `DiscovererStreamInfo`. The caller should free it with `DiscovererStreamInfo::list_free`. - + Finds all the `DiscovererContainerInfo` contained in `self` # Returns @@ -200,12 +200,12 @@ Finds all the `DiscovererContainerInfo` contained in `self` A `glib::List` of matching `DiscovererStreamInfo`. The caller should free it with `DiscovererStreamInfo::list_free`. - + # Returns the duration of the URI in `gst::ClockTime` (nanoseconds). - + Feature: `v1_14` @@ -213,7 +213,7 @@ Feature: `v1_14` # Returns whether the URI is live. - + # Deprecated @@ -225,7 +225,7 @@ This functions is deprecated since version 1.4, use Miscellaneous information stored as a `gst::Structure` (for example: information about missing plugins). If you wish to use the `gst::Structure` after the life-time of `self`, you will need to copy it. - + Get the installer details for missing elements # Returns @@ -234,17 +234,17 @@ An array of strings containing information about how to install the various missing elements for `self` to be usable. If you wish to use the strings after the life-time of `self`, you will need to copy them. - + # Returns the result of the discovery as a `DiscovererResult`. - + # Returns the whether the URI is seekable. - + # Returns @@ -252,7 +252,7 @@ the structure (or topology) of the URI as a `DiscovererStreamInfo`. This structure can be traversed to see the original hierarchy. Unref with `gst_discoverer_stream_info_unref` after usage. - + # Returns @@ -270,7 +270,7 @@ a `glib::Type` derived from `DiscovererStreamInfo` A `glib::List` of matching `DiscovererStreamInfo`. The caller should free it with `DiscovererStreamInfo::list_free`. - + Finds all the `DiscovererSubtitleInfo` contained in `self` # Returns @@ -278,25 +278,25 @@ Finds all the `DiscovererSubtitleInfo` contained in `self` A `glib::List` of matching `DiscovererStreamInfo`. The caller should free it with `DiscovererStreamInfo::list_free`. - + # Returns all tags contained in the URI. If you wish to use the tags after the life-time of `self`, you will need to copy them. - + # Returns TOC contained in the URI. If you wish to use the TOC after the life-time of `self`, you will need to copy it. - + # Returns the URI to which this information corresponds to. Copy it if you wish to use it after the life-time of `self`. - + Finds all the `DiscovererVideoInfo` contained in `self` # Returns @@ -365,25 +365,25 @@ for the audio and video streams respectively. # Implements -[`DiscovererStreamInfoExt`](trait.DiscovererStreamInfoExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`DiscovererStreamInfoExt`](trait@crate::DiscovererStreamInfoExt), [`trait@glib::object::ObjectExt`] Trait containing all `DiscovererStreamInfo` methods. # Implementors -[`DiscovererAudioInfo`](struct.DiscovererAudioInfo.html), [`DiscovererContainerInfo`](struct.DiscovererContainerInfo.html), [`DiscovererStreamInfo`](struct.DiscovererStreamInfo.html), [`DiscovererSubtitleInfo`](struct.DiscovererSubtitleInfo.html), [`DiscovererVideoInfo`](struct.DiscovererVideoInfo.html) +[`DiscovererAudioInfo`](struct@crate::DiscovererAudioInfo), [`DiscovererContainerInfo`](struct@crate::DiscovererContainerInfo), [`DiscovererStreamInfo`](struct@crate::DiscovererStreamInfo), [`DiscovererSubtitleInfo`](struct@crate::DiscovererSubtitleInfo), [`DiscovererVideoInfo`](struct@crate::DiscovererVideoInfo) Decrements the reference count of all contained `DiscovererStreamInfo` and fress the `glib::List`. ## `infos` a `glib::List` of `DiscovererStreamInfo` - + # Returns the `gst::Caps` of the stream. Unref with `gst_caps_unref` after usage. - + # Deprecated @@ -395,39 +395,39 @@ This functions is deprecated since version 1.4, use additional information regarding the stream (for example codec version, profile, etc..). If you wish to use the `gst::Structure` after the life-time of `self` you will need to copy it. - + # Returns the next `DiscovererStreamInfo` in a chain. `None` for final streams. Unref with `gst_discoverer_stream_info_unref` after usage. - + # Returns the previous `DiscovererStreamInfo` in a chain. `None` for starting points. Unref with `gst_discoverer_stream_info_unref` after usage. - + # Returns the stream ID of this stream. If you wish to use the stream ID after the life-time of `self` you will need to copy it. - + # Returns a human readable name for the stream type of the given `self` (ex : "audio", "container",...). - + # Returns the tags contained in this stream. If you wish to use the tags after the life-time of `self` you will need to copy them. - + # Returns @@ -439,8 +439,8 @@ image based ones). # Implements -[`DiscovererStreamInfoExt`](trait.DiscovererStreamInfoExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) - +[`DiscovererStreamInfoExt`](trait@crate::DiscovererStreamInfoExt), [`trait@glib::object::ObjectExt`] + # Returns @@ -450,48 +450,48 @@ the language of the stream, or NULL if unknown. # Implements -[`DiscovererStreamInfoExt`](trait.DiscovererStreamInfoExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) - +[`DiscovererStreamInfoExt`](trait@crate::DiscovererStreamInfoExt), [`trait@glib::object::ObjectExt`] + # Returns the average or nominal bitrate of the video stream in bits/second. - + # Returns the depth in bits of the video stream. - + # Returns the framerate of the video stream (denominator). - + # Returns the framerate of the video stream (numerator). - + # Returns the height of the video stream in pixels. - + # Returns the maximum bitrate of the video stream in bits/second. - + # Returns the Pixel Aspect Ratio (PAR) of the video stream (denominator). - + # Returns the Pixel Aspect Ratio (PAR) of the video stream (numerator). - + # Returns @@ -512,7 +512,7 @@ Variant of `EncodingProfile` for audio streams. # Implements -[`EncodingProfileExt`](trait.EncodingProfileExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`EncodingProfileExt`](trait@crate::EncodingProfileExt), [`trait@glib::object::ObjectExt`] Creates a new `EncodingAudioProfile` @@ -537,7 +537,7 @@ Encoding profiles for containers. Keeps track of a list of `EncodingProfile` # Implements -[`EncodingProfileExt`](trait.EncodingProfileExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`EncodingProfileExt`](trait@crate::EncodingProfileExt), [`trait@glib::object::ObjectExt`] Creates a new `EncodingContainerProfile`. ## `name` @@ -574,7 +574,7 @@ a `EncodingProfile` `true` if `self` contains a `EncodingProfile` identical to `profile`, else `false`. - + # Returns @@ -586,13 +586,13 @@ information like name, description, format and preset. # Implements -[`EncodingProfileExt`](trait.EncodingProfileExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`EncodingProfileExt`](trait@crate::EncodingProfileExt), [`trait@glib::object::ObjectExt`] Trait containing all `EncodingProfile` methods. # Implementors -[`EncodingAudioProfile`](struct.EncodingAudioProfile.html), [`EncodingContainerProfile`](struct.EncodingContainerProfile.html), [`EncodingProfile`](struct.EncodingProfile.html), [`EncodingVideoProfile`](struct.EncodingVideoProfile.html) +[`EncodingAudioProfile`](struct@crate::EncodingAudioProfile), [`EncodingContainerProfile`](struct@crate::EncodingContainerProfile), [`EncodingProfile`](struct@crate::EncodingProfile), [`EncodingVideoProfile`](struct@crate::EncodingVideoProfile) Find the `EncodingProfile` with the specified name and category. ## `targetname` @@ -625,55 +625,55 @@ Feature: `v1_12` # Returns The copy of `self` - + Get whether the format that has been negotiated in at some point can be renegotiated later during the encoding. - + # Returns the description of the profile, can be `None`. - + # Returns a suitable file extension for `self`, or NULL. - + # Returns the `gst::Caps` corresponding to the media format used in the profile. Unref after usage. - + Computes the full output caps that this `self` will be able to consume. # Returns The full caps the given `self` can consume. Call `gst_caps_unref` when you are done with the caps. - + # Returns the name of the profile, can be `None`. - + # Returns The number of times the profile is used in its parent container profile. If 0, it is not a mandatory stream. - + # Returns the name of the `gst::Preset` to be used in the profile. This is the name that has been set when saving the preset. - + # Returns the name of the `gst::Preset` factory to be used in the profile. - + # Returns @@ -683,7 +683,7 @@ properties of the raw stream (that is before encoding), such as height and width for video and depth and sampling rate for audio. Does not apply to `EncodingContainerProfile` (since there is no corresponding raw stream). Can be `None`. Unref after usage. - + Feature: `v1_18` @@ -693,7 +693,7 @@ Feature: `v1_18` `true` if the stream represented by `self` should use a single segment before the encoder, `false` otherwise. This means that buffers will be retimestamped and segments will be eat so as to appear as one segment. - + # Returns @@ -771,7 +771,7 @@ When being stored/loaded, targets come from a specific category, like # Implements -[`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`trait@glib::object::ObjectExt`] Creates a new `EncodingTarget`. @@ -838,23 +838,23 @@ the `EncodingProfile` to add # Returns `true` if the profile was added, else `false`. - + # Returns The category of the `self`. For example: `GST_ENCODING_CATEGORY_DEVICE`. - + # Returns The description of the `self`. - + # Returns The name of the `self`. - + Feature: `v1_18` @@ -869,7 +869,7 @@ the name of the profile to retrieve # Returns The matching `EncodingProfile`, or `None`. - + # Returns @@ -894,7 +894,7 @@ Variant of `EncodingProfile` for video streams, allows specifying the `pass`. # Implements -[`EncodingProfileExt`](trait.EncodingProfileExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`EncodingProfileExt`](trait@crate::EncodingProfileExt), [`trait@glib::object::ObjectExt`] Creates a new `EncodingVideoProfile` @@ -920,14 +920,14 @@ the number of time this stream must be used. 0 means any number of # Returns the newly created `EncodingVideoProfile`. - + Get the pass number if this is part of a multi-pass profile. # Returns The pass number. Starts at 1 for multi-pass. 0 if this is not a multi-pass profile - + > *NOTE*: Fixed framerate won't be enforced when `encodebin:avoid-reencoding` > is set. diff --git a/docs/gstreamer-player/docs.md b/docs/gstreamer-player/docs.md index c33943a50..64183b257 100644 --- a/docs/gstreamer-player/docs.md +++ b/docs/gstreamer-player/docs.md @@ -4,7 +4,7 @@ # Implements -[`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] Creates a new `Player` instance that uses `signal_dispatcher` to dispatch signals to some event loop system, or emits signals directly if NULL is @@ -109,7 +109,7 @@ a `None` terminated array of `PlayerVisualization` to free a `None` terminated array containing all available visualizations. Use `Player::visualizations_free` after usage. - + Retrieve the current value of audio-video-offset property # Returns @@ -124,7 +124,7 @@ Retrieve the current value of the indicated `type_`. The current value of `type_`, between [0,1]. In case of error -1 is returned. - + Get a copy of the current configuration of the player. This configuration can either be modified and used for the `Player::set_config` call or it must be freed after usage. @@ -133,7 +133,7 @@ or it must be freed after usage. a copy of the current configuration of `self`. Use `gst::Structure::free` after usage or `Player::set_config`. - + A Function to get current audio `PlayerAudioInfo` instance. # Returns @@ -141,7 +141,7 @@ A Function to get current audio `PlayerAudioInfo` instance. current audio track. The caller should free it with `glib::object::ObjectExt::unref` - + A Function to get current subtitle `PlayerSubtitleInfo` instance. # Returns @@ -149,7 +149,7 @@ A Function to get current subtitle `PlayerSubtitleInfo` instance. current subtitle track. The caller should free it with `glib::object::ObjectExt::unref` - + A Function to get current video `PlayerVideoInfo` instance. # Returns @@ -157,20 +157,20 @@ A Function to get current video `PlayerVideoInfo` instance. current video track. The caller should free it with `glib::object::ObjectExt::unref` - + # Returns Name of the currently enabled visualization. `g_free` after usage. - + Retrieves the duration of the media stream that self represents. # Returns the duration of the currently-playing media stream, in nanoseconds. - + A Function to get the current media info `PlayerMediaInfo` instance. # Returns @@ -178,47 +178,47 @@ A Function to get the current media info `PlayerMediaInfo` instance. media info instance. The caller should free it with `glib::object::ObjectExt::unref` - + Retrieve the current value of the indicated `type_`. # Returns The current value of `type_`, Default: 0x00000000 "none - + Retrieve the current value of the indicated `type_`. # Returns The current value of `type_`, Default: -1 "none" - + # Returns `true` if the currently-playing stream is muted. - + # Returns The internal playbin instance - + # Returns the absolute position time, in nanoseconds, of the currently-playing stream. - + # Returns current playback rate - + current subtitle URI # Returns URI of the current external subtitle. `g_free` after usage. - + Retrieve the current value of subtitle-video-offset property Feature: `v1_16` @@ -227,7 +227,7 @@ Feature: `v1_16` # Returns The current value of subtitle-video-offset in nanoseconds - + Gets the URI of the currently-playing stream. # Returns @@ -249,7 +249,7 @@ Additional configuration # Returns Current video snapshot sample or `None` on failure - + Returns the current volume level, as a percentage between 0 and 1. # Returns @@ -397,28 +397,28 @@ in the stream. # Implements -[`PlayerStreamInfoExt`](trait.PlayerStreamInfoExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) - +[`PlayerStreamInfoExt`](trait@crate::PlayerStreamInfoExt), [`trait@glib::object::ObjectExt`] + # Returns the audio bitrate in `PlayerAudioInfo`. - + # Returns the number of audio channels in `PlayerAudioInfo`. - + # Returns the language of the stream, or NULL if unknown. - + # Returns the audio maximum bitrate in `PlayerAudioInfo`. - + # Returns @@ -441,7 +441,7 @@ generic error. # Implements -[`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`PlayerSignalDispatcherExt`](trait.PlayerSignalDispatcherExt.html) +[`trait@glib::object::ObjectExt`], [`PlayerSignalDispatcherExt`](trait@crate::PlayerSignalDispatcherExt) Creates a new GstPlayerSignalDispatcher that uses `application_context`, or the thread default one if `None` is used. See `Player::new`. @@ -456,78 +456,78 @@ Structure containing the media information of a URI. # Implements -[`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) - +[`trait@glib::object::ObjectExt`] + # Returns A `glib::List` of matching `PlayerAudioInfo`. - + # Returns the container format. - + # Returns duration of the media. - + Function to get the image (or preview-image) stored in taglist. Application can use `gst_sample_*_()` API's to get caps, buffer etc. # Returns GstSample or NULL. - + # Returns number of audio streams. - + # Returns number of total streams. - + # Returns number of subtitle streams. - + # Returns number of video streams. - + # Returns A `glib::List` of matching `PlayerStreamInfo`. - + # Returns A `glib::List` of matching `PlayerSubtitleInfo`. - + # Returns the tags contained in media info. - + # Returns the media title. - + # Returns the URI associated with `PlayerMediaInfo`. - + # Returns @@ -548,13 +548,13 @@ matching `PlayerVideoInfo`. # Implements -[`PlayerSignalDispatcherExt`](trait.PlayerSignalDispatcherExt.html) +[`PlayerSignalDispatcherExt`](trait@crate::PlayerSignalDispatcherExt) Trait containing all `PlayerSignalDispatcher` methods. # Implementors -[`PlayerGMainContextSignalDispatcher`](struct.PlayerGMainContextSignalDispatcher.html), [`PlayerSignalDispatcher`](struct.PlayerSignalDispatcher.html) +[`PlayerGMainContextSignalDispatcher`](struct@crate::PlayerGMainContextSignalDispatcher), [`PlayerSignalDispatcher`](struct@crate::PlayerSignalDispatcher) @@ -575,38 +575,38 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`PlayerStreamInfoExt`](trait.PlayerStreamInfoExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`PlayerStreamInfoExt`](trait@crate::PlayerStreamInfoExt), [`trait@glib::object::ObjectExt`] Trait containing all `PlayerStreamInfo` methods. # Implementors -[`PlayerAudioInfo`](struct.PlayerAudioInfo.html), [`PlayerStreamInfo`](struct.PlayerStreamInfo.html), [`PlayerSubtitleInfo`](struct.PlayerSubtitleInfo.html), [`PlayerVideoInfo`](struct.PlayerVideoInfo.html) - +[`PlayerAudioInfo`](struct@crate::PlayerAudioInfo), [`PlayerStreamInfo`](struct@crate::PlayerStreamInfo), [`PlayerSubtitleInfo`](struct@crate::PlayerSubtitleInfo), [`PlayerVideoInfo`](struct@crate::PlayerVideoInfo) + # Returns the `gst::Caps` of the stream. - + A string describing codec used in `PlayerStreamInfo`. # Returns codec string or NULL on unknown. - + Function to get stream index from `PlayerStreamInfo` instance. # Returns the stream index of this stream. - + Function to return human readable name for the stream type of the given `self` (ex: "audio", "video", "subtitle") # Returns a human readable name - + # Returns @@ -616,8 +616,8 @@ the tags contained in this stream. # Implements -[`PlayerStreamInfoExt`](trait.PlayerStreamInfoExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) - +[`PlayerStreamInfoExt`](trait@crate::PlayerStreamInfoExt), [`trait@glib::object::ObjectExt`] + # Returns @@ -627,34 +627,34 @@ the language of the stream, or NULL if unknown. # Implements -[`PlayerStreamInfoExt`](trait.PlayerStreamInfoExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) - +[`PlayerStreamInfoExt`](trait@crate::PlayerStreamInfoExt), [`trait@glib::object::ObjectExt`] + # Returns the current bitrate of video in `PlayerVideoInfo`. - + ## `fps_n` Numerator of frame rate ## `fps_d` Denominator of frame rate - + # Returns the height of video in `PlayerVideoInfo`. - + # Returns the maximum bitrate of video in `PlayerVideoInfo`. - + Returns the pixel aspect ratio in `par_n` and `par_d` ## `par_n` numerator ## `par_d` denominator - + # Returns @@ -664,7 +664,7 @@ the width of video in `PlayerVideoInfo`. # Implements -[`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`PlayerVideoRendererExt`](trait.PlayerVideoRendererExt.html) +[`trait@glib::object::ObjectExt`], [`PlayerVideoRendererExt`](trait@crate::PlayerVideoRendererExt) ## `window_handle` Window handle to use or `None` @@ -676,7 +676,7 @@ the custom video_sink element to be set for the video renderer Tell an overlay that it has been exposed. This will redraw the current frame in the drawable even if the pipeline is PAUSED. - + Return the currently configured render rectangle. See `PlayerVideoOverlayVideoRenderer::set_render_rectangle` for details. ## `x` @@ -687,7 +687,7 @@ the vertical offset of the render area inside the window the width of the render area inside the window ## `height` the height of the render area inside the window - + # Returns @@ -722,13 +722,13 @@ handle referencing to the platform specific window # Implements -[`PlayerVideoRendererExt`](trait.PlayerVideoRendererExt.html) +[`PlayerVideoRendererExt`](trait@crate::PlayerVideoRendererExt) Trait containing all `PlayerVideoRenderer` methods. # Implementors -[`PlayerVideoOverlayVideoRenderer`](struct.PlayerVideoOverlayVideoRenderer.html), [`PlayerVideoRenderer`](struct.PlayerVideoRenderer.html) +[`PlayerVideoOverlayVideoRenderer`](struct@crate::PlayerVideoOverlayVideoRenderer), [`PlayerVideoRenderer`](struct@crate::PlayerVideoRenderer) A `PlayerVisualization` descriptor. diff --git a/docs/gstreamer-rtsp-server/docs.md b/docs/gstreamer-rtsp-server/docs.md index fe6fdad6b..a85987d14 100644 --- a/docs/gstreamer-rtsp-server/docs.md +++ b/docs/gstreamer-rtsp-server/docs.md @@ -29,13 +29,13 @@ An address pool, all member are private # Implements -[`RTSPAddressPoolExt`](trait.RTSPAddressPoolExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`RTSPAddressPoolExtManual`](prelude/trait.RTSPAddressPoolExtManual.html) +[`RTSPAddressPoolExt`](trait@crate::RTSPAddressPoolExt), [`trait@glib::object::ObjectExt`], [`RTSPAddressPoolExtManual`](trait@crate::RTSPAddressPoolExtManual) Trait containing all `RTSPAddressPool` methods. # Implementors -[`RTSPAddressPool`](struct.RTSPAddressPool.html) +[`RTSPAddressPool`](struct@crate::RTSPAddressPool) Make a new `RTSPAddressPool`. @@ -132,13 +132,13 @@ The authentication structure. # Implements -[`RTSPAuthExt`](trait.RTSPAuthExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`RTSPAuthExtManual`](prelude/trait.RTSPAuthExtManual.html) +[`RTSPAuthExt`](trait@crate::RTSPAuthExt), [`trait@glib::object::ObjectExt`], [`RTSPAuthExtManual`](trait@crate::RTSPAuthExtManual) Trait containing all `RTSPAuth` methods. # Implementors -[`RTSPAuth`](struct.RTSPAuth.html) +[`RTSPAuth`](struct@crate::RTSPAuth) Create a new `RTSPAuth` instance. @@ -183,7 +183,7 @@ the digest user name the digest password ## `token` authorisation token - + Get the default token for `self`. This token will be used for unauthenticated users. @@ -191,7 +191,7 @@ users. the `RTSPToken` of `self`. `gst_rtsp_token_unref` after usage. - + Feature: `v1_16` @@ -199,7 +199,7 @@ Feature: `v1_16` # Returns the `realm` of `self` - + Gets the supported authentication methods of `self`. Feature: `v1_12` @@ -208,20 +208,20 @@ Feature: `v1_12` # Returns The supported authentication methods - + Get the `gio::TlsAuthenticationMode`. # Returns the `gio::TlsAuthenticationMode`. - + Get the `gio::TlsCertificate` used for negotiating TLS `self`. # Returns the `gio::TlsCertificate` of `self`. `glib::object::ObjectExt::unref` after usage. - + Get the `gio::TlsDatabase` used for verifying client certificate. # Returns @@ -312,13 +312,13 @@ The client object represents the connection and its state with a client. # Implements -[`RTSPClientExt`](trait.RTSPClientExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`RTSPClientExtManual`](prelude/trait.RTSPClientExtManual.html) +[`RTSPClientExt`](trait@crate::RTSPClientExt), [`trait@glib::object::ObjectExt`], [`RTSPClientExtManual`](trait@crate::RTSPClientExtManual) Trait containing all `RTSPClient` methods. # Implementors -[`RTSPClient`](struct.RTSPClient.html) +[`RTSPClient`](struct@crate::RTSPClient) Create a new `RTSPClient` instance. @@ -340,21 +340,21 @@ a `glib::MainContext` the ID (greater than 0) for the source within the GMainContext. Close the connection of `self` and remove all media it was managing. - + Get the `RTSPAuth` used as the authentication manager of `self`. # Returns the `RTSPAuth` of `self`. `glib::object::ObjectExt::unref` after usage. - + Get the `gst_rtsp::RTSPConnection` of `self`. # Returns the `gst_rtsp::RTSPConnection` of `self`. The connection object returned remains valid until the client is freed. - + Get the Content-Length limit of `self`. Feature: `v1_18` @@ -363,13 +363,13 @@ Feature: `v1_18` # Returns the Content-Length limit. - + Get the `RTSPMountPoints` object that `self` uses to manage its sessions. # Returns a `RTSPMountPoints`, unref after usage. - + Get the `RTSPSessionPool` object that `self` uses to manage its sessions. # Returns @@ -388,7 +388,7 @@ Feature: `v1_18` # Returns the `RTSPStreamTransport` associated with `channel`. - + Get the `RTSPThreadPool` used as the thread pool of `self`. # Returns @@ -668,6 +668,21 @@ a `RTSPContext` a `RTSPContext` ## `ctx` +a `RTSPContext` + +Information passed around containing the context of a request. + +Pops `self` off the context stack (verifying that `self` +is on the top of the stack). + +Pushes `self` onto the context stack. The current +context can then be received using `RTSPContext::get_current`. + +Get the current `RTSPContext`. This object is retrieved from the +current thread that is handling the request for a client. + +# Returns + a `RTSPContext` Possible return values for `RTSPSessionPoolExt::filter`. @@ -685,13 +700,13 @@ This object is usually created from a `RTSPMediaFactory`. # Implements -[`RTSPMediaExt`](trait.RTSPMediaExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`RTSPMediaExtManual`](prelude/trait.RTSPMediaExtManual.html) +[`RTSPMediaExt`](trait@crate::RTSPMediaExt), [`trait@glib::object::ObjectExt`], [`RTSPMediaExtManual`](trait@crate::RTSPMediaExtManual) Trait containing all `RTSPMedia` methods. # Implementors -[`RTSPMedia`](struct.RTSPMedia.html) +[`RTSPMedia`](struct@crate::RTSPMedia) Create a new `RTSPMedia` instance. `element` is the bin element that provides the different streams. The `RTSPMedia` object contains the @@ -748,14 +763,14 @@ the control of the stream the `RTSPStream` with control uri `control` or `None` when a stream with that control did not exist. - + Get the `RTSPAddressPool` used as the address pool of `self`. # Returns the `RTSPAddressPool` of `self`. `glib::object::ObjectExt::unref` after usage. - + Get the base_time that is used by the pipeline in `self`. `self` must be prepared before this method returns a valid base_time. @@ -763,13 +778,13 @@ Get the base_time that is used by the pipeline in `self`. # Returns the base_time used by `self`. - + Get the kernel UDP buffer size. # Returns the kernel UDP buffer size. - + Get the clock that is used by the pipeline in `self`. `self` must be prepared before this method returns a valid clock object. @@ -777,7 +792,7 @@ Get the clock that is used by the pipeline in `self`. # Returns the `gst::Clock` used by `self`. unref after usage. - + Feature: `v1_16` @@ -785,7 +800,7 @@ Feature: `v1_16` # Returns Whether retransmission requests will be sent - + Get the configured DSCP QoS of attached media. Feature: `v1_18` @@ -794,19 +809,19 @@ Feature: `v1_18` # Returns the DSCP QoS value of attached streams or -1 if disabled. - + Get the element that was used when constructing `self`. # Returns a `gst::Element`. Unref after usage. - + Get the latency that is used for receiving media. # Returns latency in milliseconds - + Get the the maximum time-to-live value of outgoing multicast packets. Feature: `v1_16` @@ -815,32 +830,32 @@ Feature: `v1_16` # Returns the maximum time-to-live value of outgoing multicast packets. - + Get the multicast interface used for `self`. # Returns the multicast interface for `self`. `g_free` after usage. - + Get the permissions object from `self`. # Returns a `RTSPPermissions` object, unref after usage. - + Get the allowed profiles of `self`. # Returns a `gst_rtsp::RTSPProfile` - + Get the allowed protocols of `self`. # Returns a `gst_rtsp::RTSPLowerTrans` - + Gets if and how the media clock should be published according to RFC7273. # Returns @@ -857,7 +872,7 @@ the unit to use for the string # Returns The range as a string, `g_free` after usage. - + Feature: `v1_18` @@ -866,7 +881,7 @@ Feature: `v1_18` whether `self` will follow the Rate-Control=no behaviour as specified in the ONVIF replay spec. - + Get the rate and applied_rate of the current segment. Feature: `v1_18` @@ -881,13 +896,13 @@ the applied_rate of the current segment `false` if looking up the rate and applied rate failed. Otherwise `true` is returned and `rate` and `applied_rate` are set to the rate and applied_rate of the current segment. - + Get the amount of time to store retransmission data. # Returns the amount of time to store retransmission data. - + Get the status of `self`. When `self` is busy preparing, this function waits until `self` is prepared or in error. @@ -903,7 +918,7 @@ the stream index the `RTSPStream` at index `idx` or `None` when a stream with that index did not exist. - + Get how `self` will be suspended. # Returns @@ -920,7 +935,7 @@ a port or 0 # Returns the `gst_net::NetTimeProvider` of `self`. - + Check if the pipeline for `self` can be used for PLAY or RECORD methods. # Returns @@ -1266,13 +1281,13 @@ can contain multiple streams like audio and video. # Implements -[`RTSPMediaFactoryExt`](trait.RTSPMediaFactoryExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`RTSPMediaFactoryExtManual`](prelude/trait.RTSPMediaFactoryExtManual.html) +[`RTSPMediaFactoryExt`](trait@crate::RTSPMediaFactoryExt), [`trait@glib::object::ObjectExt`], [`RTSPMediaFactoryExtManual`](trait@crate::RTSPMediaFactoryExtManual) Trait containing all `RTSPMediaFactory` methods. # Implementors -[`RTSPMediaFactoryURI`](struct.RTSPMediaFactoryURI.html), [`RTSPMediaFactory`](struct.RTSPMediaFactory.html) +[`RTSPMediaFactoryURI`](struct@crate::RTSPMediaFactoryURI), [`RTSPMediaFactory`](struct@crate::RTSPMediaFactory) Create a new `RTSPMediaFactory` instance. @@ -1323,27 +1338,27 @@ the url used # Returns a new `gst::Element`. - + Get the `RTSPAddressPool` used as the address pool of `self`. # Returns the `RTSPAddressPool` of `self`. `glib::object::ObjectExt::unref` after usage. - + Get the kernel UDP buffer size. # Returns the kernel UDP buffer size. - + Returns the clock that is going to be used by the pipelines of all medias created from this factory. # Returns The GstClock - + Feature: `v1_16` @@ -1351,7 +1366,7 @@ Feature: `v1_16` # Returns Whether retransmission requests will be sent for receiving media - + Get the configured media DSCP QoS. Feature: `v1_18` @@ -1360,13 +1375,13 @@ Feature: `v1_18` # Returns the media DSCP QoS value or -1 if disabled. - + Get the latency that is used for receiving media # Returns latency in milliseconds - + Get the `gst_parse_launch` pipeline description that will be used in the default prepare vmethod. @@ -1374,7 +1389,7 @@ default prepare vmethod. the configured launch description. `g_free` after usage. - + Get the the maximum time-to-live value of outgoing multicast packets. Feature: `v1_16` @@ -1383,53 +1398,53 @@ Feature: `v1_16` # Returns the maximum time-to-live value of outgoing multicast packets. - + Return the GType of the GstRTSPMedia subclass this factory will create. - + Get the multicast interface used for `self`. # Returns the multicast interface for `self`. `g_free` after usage. - + Get the permissions object from `self`. # Returns a `RTSPPermissions` object, unref after usage. - + Get the allowed profiles of `self`. # Returns a `gst_rtsp::RTSPProfile` - + Get the allowed protocols of `self`. # Returns a `gst_rtsp::RTSPLowerTrans` - + Gets if and how the media clock should be published according to RFC7273. # Returns The GstRTSPPublishClockMode - + Get the time that is stored for retransmission purposes # Returns a `gst::ClockTime` - + Get how media created from this factory will be suspended. # Returns a `RTSPSuspendMode`. - + Get if media created from this factory can be used for PLAY or RECORD methods. @@ -1576,20 +1591,20 @@ A media factory that creates a pipeline to play any uri. # Implements -[`RTSPMediaFactoryURIExt`](trait.RTSPMediaFactoryURIExt.html), [`RTSPMediaFactoryExt`](trait.RTSPMediaFactoryExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`RTSPMediaFactoryExtManual`](prelude/trait.RTSPMediaFactoryExtManual.html) +[`RTSPMediaFactoryURIExt`](trait@crate::RTSPMediaFactoryURIExt), [`RTSPMediaFactoryExt`](trait@crate::RTSPMediaFactoryExt), [`trait@glib::object::ObjectExt`], [`RTSPMediaFactoryExtManual`](trait@crate::RTSPMediaFactoryExtManual) Trait containing all `RTSPMediaFactoryURI` methods. # Implementors -[`RTSPMediaFactoryURI`](struct.RTSPMediaFactoryURI.html) +[`RTSPMediaFactoryURI`](struct@crate::RTSPMediaFactoryURI) Create a new `RTSPMediaFactoryURI` instance. # Returns a new `RTSPMediaFactoryURI` object. - + Get the URI that will provide media for this factory. # Returns @@ -1619,13 +1634,13 @@ Creates a `RTSPMediaFactory` object for a given url. # Implements -[`RTSPMountPointsExt`](trait.RTSPMountPointsExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`RTSPMountPointsExt`](trait@crate::RTSPMountPointsExt), [`trait@glib::object::ObjectExt`] Trait containing all `RTSPMountPoints` methods. # Implementors -[`RTSPMountPoints`](struct.RTSPMountPoints.html) +[`RTSPMountPoints`](struct@crate::RTSPMountPoints) Make a new mount points object. @@ -1683,13 +1698,13 @@ it. # Implements -[`RTSPServerExt`](trait.RTSPServerExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`RTSPServerExtManual`](prelude/trait.RTSPServerExtManual.html) +[`RTSPServerExt`](trait@crate::RTSPServerExt), [`trait@glib::object::ObjectExt`], [`RTSPServerExtManual`](trait@crate::RTSPServerExtManual) Trait containing all `RTSPServer` methods. # Implementors -[`RTSPServer`](struct.RTSPServer.html) +[`RTSPServer`](struct@crate::RTSPServer) Create a new `RTSPServer` instance. @@ -1780,32 +1795,32 @@ a `gio::Cancellable` or `None`. the `glib::Source` for `self` or `None` when an error occurred. Free with g_source_unref () - + Get the address on which the server will accept connections. # Returns the server address. `g_free` after usage. - + Get the `RTSPAuth` used as the authentication manager of `self`. # Returns the `RTSPAuth` of `self`. `glib::object::ObjectExt::unref` after usage. - + The maximum amount of queued requests for the server. # Returns the server backlog. - + Get the port number where the server was bound to. # Returns the port number - + Get the Content-Length limit of `self`. Feature: `v1_18` @@ -1814,27 +1829,27 @@ Feature: `v1_18` # Returns the Content-Length limit. - + Get the `RTSPMountPoints` used as the mount points of `self`. # Returns the `RTSPMountPoints` of `self`. `glib::object::ObjectExt::unref` after usage. - + Get the service on which the server will accept connections. # Returns the service. use `g_free` after usage. - + Get the `RTSPSessionPool` used as the session pool of `self`. # Returns the `RTSPSessionPool` used for sessions. `glib::object::ObjectExt::unref` after usage. - + Get the `RTSPThreadPool` used as the thread pool of `self`. # Returns @@ -1912,13 +1927,13 @@ identified with the url of a media. # Implements -[`RTSPSessionExt`](trait.RTSPSessionExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`RTSPSessionExt`](trait@crate::RTSPSessionExt), [`trait@glib::object::ObjectExt`] Trait containing all `RTSPSession` methods. # Implementors -[`RTSPSession`](struct.RTSPSession.html) +[`RTSPSession`](struct@crate::RTSPSession) Create a new `RTSPSession` instance with `sessionid`. ## `sessionid` @@ -1955,7 +1970,7 @@ user data passed to `func` a GList with all media for which `func` returned `RTSPFilterResult::Ref`. After usage, each element in the `glib::List` should be unreffed before the list is freed. - + Get the string that can be placed in the Session header field. # Returns @@ -1973,14 +1988,14 @@ the amount of matched characters # Returns the configuration for `path` in `self`. - + Get the sessionid of `self`. # Returns the sessionid of `self`. The value remains valid as long as `self` is alive. - + Get the timeout value of `self`. # Returns @@ -2061,13 +2076,13 @@ State of a client session regarding a specific media identified by path. # Implements -[`RTSPSessionMediaExt`](trait.RTSPSessionMediaExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`RTSPSessionMediaExt`](trait@crate::RTSPSessionMediaExt), [`trait@glib::object::ObjectExt`] Trait containing all `RTSPSessionMedia` methods. # Implementors -[`RTSPSessionMedia`](struct.RTSPSessionMedia.html) +[`RTSPSessionMedia`](struct@crate::RTSPSessionMedia) Create a new `RTSPSessionMedia` that manages the streams in `media` for `path`. `media` should be prepared. @@ -2090,20 +2105,20 @@ a `gst_rtsp::RTSPRange` # Returns `true` on success. - + Get the base_time of the `RTSPMedia` in `self` # Returns the base_time of the media. - + Get the `RTSPMedia` that was used when constructing `self` # Returns the `RTSPMedia` of `self`. Remains valid as long as `self` is valid. - + Retrieve the RTP-Info header string for all streams in `self` with configured transports. @@ -2111,7 +2126,7 @@ with configured transports. The RTP-Info as a string or `None` when no RTP-Info could be generated, `g_free` after usage. - + Get the current RTSP state of `self`. # Returns @@ -2126,7 +2141,7 @@ the stream index a `RTSPStreamTransport` that is valid until the session of `self` is unreffed. - + Get a list of all available `RTSPStreamTransport` in this session. Feature: `v1_14` @@ -2175,13 +2190,13 @@ attached to a `RTSPServer` object to manage the sessions in that server. # Implements -[`RTSPSessionPoolExt`](trait.RTSPSessionPoolExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`RTSPSessionPoolExtManual`](prelude/trait.RTSPSessionPoolExtManual.html) +[`RTSPSessionPoolExt`](trait@crate::RTSPSessionPoolExt), [`trait@glib::object::ObjectExt`], [`RTSPSessionPoolExtManual`](trait@crate::RTSPSessionPoolExtManual) Trait containing all `RTSPSessionPool` methods. # Implementors -[`RTSPSessionPool`](struct.RTSPSessionPool.html) +[`RTSPSessionPool`](struct@crate::RTSPSessionPool) Create a new `RTSPSessionPool` instance. @@ -2244,14 +2259,14 @@ the session id the `RTSPSession` with `sessionid` or `None` when the session did not exist. `glib::object::ObjectExt::unref` after usage. - + Get the maximum allowed number of sessions in `self`. 0 means an unlimited amount of sessions. # Returns the maximum allowed number of sessions. - + Get the amount of active sessions in `self`. # Returns @@ -2275,13 +2290,13 @@ The definition of a media stream. # Implements -[`RTSPStreamExt`](trait.RTSPStreamExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`RTSPStreamExtManual`](prelude/trait.RTSPStreamExtManual.html) +[`RTSPStreamExt`](trait@crate::RTSPStreamExt), [`trait@glib::object::ObjectExt`], [`RTSPStreamExtManual`](trait@crate::RTSPStreamExtManual) Trait containing all `RTSPStream` methods. # Implementors -[`RTSPStream`](struct.RTSPStream.html) +[`RTSPStream`](struct@crate::RTSPStream) Create a new media stream with index `idx` that handles RTP data on `pad` and has a payloader element `payloader` if `pad` is a source pad @@ -2353,51 +2368,51 @@ a `gst_rtsp::RTSPTransport` # Returns `true` if the stream has been sucessfully updated. - + Get the `RTSPAddressPool` used as the address pool of `self`. # Returns the `RTSPAddressPool` of `self`. `glib::object::ObjectExt::unref` after usage. - + Get the size of the UDP transmission buffer (in bytes) # Returns the size of the UDP TX buffer - + Retrieve the current caps of `self`. # Returns the `gst::Caps` of `self`. use `gst_caps_unref` after usage. - + Get the control string to identify this stream. # Returns the control string. `g_free` after usage. - + Get the configured DSCP QoS in of the outgoing sockets. # Returns the DSCP QoS value of the outgoing sockets, or -1 if disbled. - + Get the stream index. # Returns the stream index. - + Get the previous joined bin with `RTSPStreamExt::join_bin` or NULL. # Returns the joined bin or NULL. - + Get the the maximum time-to-live value of outgoing multicast packets. Feature: `v1_16` @@ -2406,7 +2421,7 @@ Feature: `v1_16` # Returns the maximum time-to-live value of outgoing multicast packets. - + Get the configured MTU in the payloader of `self`. # Returns @@ -2424,7 +2439,7 @@ the `gio::SocketFamily` the `RTSPAddress` of `self` or `None` when no address could be allocated. `RTSPAddress::free` after usage. - + Get all multicast client addresses that RTP data will be sent to Feature: `v1_16` @@ -2433,38 +2448,38 @@ Feature: `v1_16` # Returns A comma separated list of host:port pairs with destinations - + Get the multicast interface used for `self`. # Returns the multicast interface for `self`. `g_free` after usage. - + Get the allowed profiles of `self`. # Returns a `gst_rtsp::RTSPProfile` - + Get the allowed protocols of `self`. # Returns a `gst_rtsp::RTSPLowerTrans` - + Get the stream payload type. # Returns the stream payload type. - + Gets if and how the stream clock should be published according to RFC7273. # Returns The GstRTSPPublishClockMode - + Feature: `v1_18` @@ -2473,7 +2488,7 @@ Feature: `v1_18` whether `self` will follow the Rate-Control=no behaviour as specified in the ONVIF replay spec. - + Retrieve the current rate and/or applied_rate. Feature: `v1_18` @@ -2486,13 +2501,13 @@ the configured applied_rate # Returns `true` if rate and/or applied_rate could be determined. - + Get the payload-type used for retransmission of this stream # Returns The retransmission PT. - + Get the amount of time to store retransmission data. # Returns @@ -2542,7 +2557,7 @@ the socket family the RTP socket or `None` if no socket could be allocated for `family`. Unref after usage - + Retrieve the current rtptime, seq and running-time. This is used to construct a RTPInfo reply header. ## `rtptime` @@ -2557,7 +2572,7 @@ result running-time # Returns `true` when rtptime, seq and running-time could be determined. - + Get the RTP session of this stream. # Returns @@ -2570,30 +2585,30 @@ only be called when `self` has been joined. result server port ## `family` the port family to get - + Get the sinkpad associated with `self`. # Returns the sinkpad. Unref after usage. - + Get the srcpad associated with `self`. # Returns the srcpad. Unref after usage. - + Get the SRTP encoder for this stream. # Returns The SRTP encoder for this stream. Unref after usage. - + Get the SSRC used by the RTP session of this stream. This function can only be called when `self` has been joined. ## `ssrc` result ssrc - + Feature: `v1_16` @@ -2602,7 +2617,7 @@ Feature: `v1_16` the amount of redundancy applied when creating ULPFEC protection packets. - + Feature: `v1_16` @@ -2983,13 +2998,13 @@ A Transport description for a stream # Implements -[`RTSPStreamTransportExt`](trait.RTSPStreamTransportExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`RTSPStreamTransportExtManual`](prelude/trait.RTSPStreamTransportExtManual.html) +[`RTSPStreamTransportExt`](trait@crate::RTSPStreamTransportExt), [`trait@glib::object::ObjectExt`], [`RTSPStreamTransportExtManual`](trait@crate::RTSPStreamTransportExtManual) Trait containing all `RTSPStreamTransport` methods. # Implementors -[`RTSPStreamTransport`](struct.RTSPStreamTransport.html) +[`RTSPStreamTransport`](struct@crate::RTSPStreamTransport) Create a new `RTSPStreamTransport` that can be used to manage `stream` with transport `tr`. @@ -3011,20 +3026,20 @@ a star time the RTPInfo string for `self` and `start_time` or `None` when the RTP-Info could not be determined. `g_free` after usage. - + Get the `RTSPStream` used when constructing `self`. # Returns the stream used when constructing `self`. - + Get the transport configured in `self`. # Returns the transport configured in `self`. It remains valid for as long as `self` is valid. - + Get the url configured in `self`. # Returns @@ -3200,13 +3215,13 @@ The thread pool structure. # Implements -[`RTSPThreadPoolExt`](trait.RTSPThreadPoolExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`RTSPThreadPoolExt`](trait@crate::RTSPThreadPoolExt), [`trait@glib::object::ObjectExt`] Trait containing all `RTSPThreadPool` methods. # Implementors -[`RTSPThreadPool`](struct.RTSPThreadPool.html) +[`RTSPThreadPool`](struct@crate::RTSPThreadPool) Create a new `RTSPThreadPool` instance. @@ -3217,7 +3232,7 @@ a new `RTSPThreadPool` Wait for all tasks to be stopped and free all allocated resources. This is mainly used in test suites to ensure proper cleanup of internal data structures. - + Get the maximum number of threads used for client connections. See `RTSPThreadPoolExt::set_max_threads`. diff --git a/docs/gstreamer-video/docs.md b/docs/gstreamer-video/docs.md index 3776bfda1..0b1caa121 100644 --- a/docs/gstreamer-video/docs.md +++ b/docs/gstreamer-video/docs.md @@ -158,7 +158,7 @@ Offset to define more flags # Implements -[`gst::BufferPoolExt`](../gst/trait.BufferPoolExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`trait@gst::BufferPoolExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] Create a new bufferpool that can allocate video frames. This bufferpool supports all the video bufferpool options. @@ -353,6 +353,42 @@ unknown range [16..235] for 8 bit components. Chroma has [16..240] range. + +Structure describing the color info. + +Parse the colorimetry string and update `self` with the parsed +values. +## `color` +a colorimetry string + +# Returns + +`true` if `color` points to valid colorimetry info. + +Compare the 2 colorimetry sets for equality +## `other` +another `VideoColorimetry` + +# Returns + +`true` if `self` and `other` are equal. + +Check if the colorimetry information in `info` matches that of the +string `color`. +## `color` +a colorimetry string + +# Returns + +`true` if `color` conveys the same colorimetry info as the color +information in `info`. + +Make a string representation of `self`. + +# Returns + +a string representation of `self` +or `None` if all the entries of `self` are unknown values. This base class is for video decoders turning encoded data into raw video frames. @@ -462,13 +498,13 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`VideoDecoderExt`](trait.VideoDecoderExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`VideoDecoderExtManual`](prelude/trait.VideoDecoderExtManual.html) +[`VideoDecoderExt`](trait@crate::VideoDecoderExt), [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`], [`VideoDecoderExtManual`](trait@crate::VideoDecoderExtManual) Trait containing all `VideoDecoder` methods. # Implementors -[`VideoDecoder`](struct.VideoDecoder.html) +[`VideoDecoder`](struct@crate::VideoDecoder) Removes next `n_bytes` of input data and adds it to currently parsed frame. ## `n_bytes` @@ -536,7 +572,7 @@ a decoded `VideoCodecFrame` # Returns a `gst::FlowReturn` resulting from sending data downstream - + Lets `VideoDecoder` sub-classes to know the memory `allocator` used by the base class and its `params`. @@ -547,13 +583,13 @@ used ## `params` the `gst::AllocationParams` of `allocator` - + # Returns the instance of the `gst::BufferPool` used by the decoder; free it after use it - + # Returns @@ -566,13 +602,13 @@ system_frame_number of a frame # Returns pending unfinished `VideoCodecFrame` identified by `frame_number`. - + Get all pending unfinished `VideoCodecFrame` # Returns pending unfinished `VideoCodecFrame`. - + Query the configured decoder latency. Results will be returned via `min_latency` and `max_latency`. ## `min_latency` @@ -592,44 +628,44 @@ a `VideoCodecFrame` # Returns max decoding time. - + # Returns currently configured decoder tolerated error count. - + Queries decoder required format handling. # Returns `true` if required format handling is enabled. - + Get the oldest pending unfinished `VideoCodecFrame` # Returns oldest pending unfinished `VideoCodecFrame`. - + Get the `VideoCodecState` currently describing the output stream. # Returns `VideoCodecState` describing format of video data. - + Queries whether input data is considered packetized or not by the base class. # Returns TRUE if input data is considered packetized. - + Returns the number of bytes previously added to the current frame by calling `VideoDecoderExt::add_to_frame`. # Returns The number of bytes pending for the current frame - + # Returns @@ -876,13 +912,13 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`VideoEncoderExt`](trait.VideoEncoderExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`VideoEncoderExtManual`](prelude/trait.VideoEncoderExtManual.html) +[`VideoEncoderExt`](trait@crate::VideoEncoderExt), [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`], [`VideoEncoderExtManual`](trait@crate::VideoEncoderExtManual) Trait containing all `VideoEncoder` methods. # Implementors -[`VideoEncoder`](struct.VideoEncoder.html) +[`VideoEncoder`](struct@crate::VideoEncoder) Helper function that allocates a buffer to hold an encoded video frame for `self`'s current `VideoCodecState`. @@ -942,7 +978,7 @@ a `VideoCodecFrame` being encoded # Returns a `gst::FlowReturn` resulting from pushing the buffer downstream. - + Lets `VideoEncoder` sub-classes to know the memory `allocator` used by the base class and its `params`. @@ -961,13 +997,13 @@ system_frame_number of a frame # Returns pending unfinished `VideoCodecFrame` identified by `frame_number`. - + Get all pending unfinished `VideoCodecFrame` # Returns pending unfinished `VideoCodecFrame`. - + Query the configured encoding latency. Results will be returned via `min_latency` and `max_latency`. ## `min_latency` @@ -993,7 +1029,7 @@ a `VideoCodecFrame` # Returns max decoding time. - + Returns the minimum force-keyunit interval, see `VideoEncoderExt::set_min_force_key_unit_interval` for more details. @@ -1003,13 +1039,13 @@ Feature: `v1_18` # Returns the minimum force-keyunit interval - + Get the oldest unfinished pending `VideoCodecFrame` # Returns oldest unfinished pending `VideoCodecFrame` - + Get the current `VideoCodecState` # Returns @@ -1156,7 +1192,7 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`gst_base::BaseTransformExt`](../gst_base/trait.BaseTransformExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`trait@gst_base::BaseTransformExt`], [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] Extra video flags @@ -1402,6 +1438,125 @@ This format can be used in a The format is tiled, there is tiling information in the last plane. + +Information for a video format. + +Feature: `v1_18` + +Fill `components` with the number of all the components packed in plane `p` +for the format `self`. A value of -1 in `components` indicates that no more +components are packed in the plane. + +Feature: `v1_18` + +## `plane` +a plane number +## `components` +array used to store component numbers + +A video frame obtained from `VideoFrame::map` + +Copy the contents from `src` to `self`. + +Note: Since: 1.18, `self` dimensions are allowed to be +smaller than `src` dimensions. +## `src` +a `VideoFrame` + +# Returns + +TRUE if the contents could be copied. + +Copy the plane with index `plane` from `src` to `self`. + +Note: Since: 1.18, `self` dimensions are allowed to be +smaller than `src` dimensions. +## `src` +a `VideoFrame` +## `plane` +a plane + +# Returns + +TRUE if the contents could be copied. + +Use `info` and `buffer` to fill in the values of `self`. `self` is usually +allocated on the stack, and you will pass the address to the `VideoFrame` +structure allocated on the stack; `VideoFrame::map` will then fill in +the structures with the various video-specific information you need to access +the pixels of the video buffer. You can then use accessor macros such as +GST_VIDEO_FRAME_COMP_DATA(), GST_VIDEO_FRAME_PLANE_DATA(), +GST_VIDEO_FRAME_COMP_STRIDE(), GST_VIDEO_FRAME_PLANE_STRIDE() etc. +to get to the pixels. + + +```C + GstVideoFrame vframe; + ... + // set RGB pixels to black one at a time + if (gst_video_frame_map (&vframe, video_info, video_buffer, GST_MAP_WRITE)) { + guint8 *pixels = GST_VIDEO_FRAME_PLANE_DATA (vframe, 0); + guint stride = GST_VIDEO_FRAME_PLANE_STRIDE (vframe, 0); + guint pixel_stride = GST_VIDEO_FRAME_COMP_PSTRIDE (vframe, 0); + + for (h = 0; h < height; ++h) { + for (w = 0; w < width; ++w) { + guint8 *pixel = pixels + h * stride + w * pixel_stride; + + memset (pixel, 0, pixel_stride); + } + } + + gst_video_frame_unmap (&vframe); + } + ... +``` + +All video planes of `buffer` will be mapped and the pointers will be set in +`self`->data. + +The purpose of this function is to make it easy for you to get to the video +pixels in a generic way, without you having to worry too much about details +such as whether the video data is allocated in one contiguous memory chunk +or multiple memory chunks (e.g. one for each plane); or if custom strides +and custom plane offsets are used or not (as signalled by GstVideoMeta on +each buffer). This function will just fill the `VideoFrame` structure +with the right values and if you use the accessor macros everything will +just work and you can access the data easily. It also maps the underlying +memory chunks for you. +## `info` +a `VideoInfo` +## `buffer` +the buffer to map +## `flags` +`gst::MapFlags` + +# Returns + +`true` on success. + +Use `info` and `buffer` to fill in the values of `self` with the video frame +information of frame `id`. + +When `id` is -1, the default frame is mapped. When `id` != -1, this function +will return `false` when there is no GstVideoMeta with that id. + +All video planes of `buffer` will be mapped and the pointers will be set in +`self`->data. +## `info` +a `VideoInfo` +## `buffer` +the buffer to map +## `id` +the frame id to map +## `flags` +`gst::MapFlags` + +# Returns + +`true` on success. + +Unmap the memory previously mapped with gst_video_frame_map. Extra video frame flags @@ -1737,14 +1892,14 @@ operation of video-sources or operators. # Implements -[`VideoOrientationExt`](trait.VideoOrientationExt.html) +[`VideoOrientationExt`](trait@crate::VideoOrientationExt) Trait containing all `VideoOrientation` methods. # Implementors -[`VideoOrientation`](struct.VideoOrientation.html) - +[`VideoOrientation`](struct@crate::VideoOrientation) + Get the horizontal centering offset from the given object. ## `center` return location for the result @@ -1752,7 +1907,7 @@ return location for the result # Returns `true` in case the element supports centering - + Get the horizontal flipping state (`true` for flipped) from the given object. ## `flip` return location for the result @@ -1760,7 +1915,7 @@ return location for the result # Returns `true` in case the element supports flipping - + Get the vertical centering offset from the given object. ## `center` return location for the result @@ -1768,7 +1923,7 @@ return location for the result # Returns `true` in case the element supports centering - + Get the vertical flipping state (`true` for flipped) from the given object. ## `flip` return location for the result @@ -2098,13 +2253,13 @@ int main(int argc, char *argv[]) # Implements -[`VideoOverlayExt`](trait.VideoOverlayExt.html), [`VideoOverlayExtManual`](prelude/trait.VideoOverlayExtManual.html) +[`VideoOverlayExt`](trait@crate::VideoOverlayExt), [`VideoOverlayExtManual`](trait@crate::VideoOverlayExtManual) Trait containing all `VideoOverlay` methods. # Implementors -[`VideoOverlay`](struct.VideoOverlay.html) +[`VideoOverlay`](struct@crate::VideoOverlay) This helper shall be used by classes implementing the `VideoOverlay` interface that want the render rectangle to be controllable using @@ -2245,13 +2400,13 @@ observing out-of-sync frames. # Implements -[`VideoSinkExt`](trait.VideoSinkExt.html), [`gst_base::BaseSinkExt`](../gst_base/trait.BaseSinkExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`VideoSinkExt`](trait@crate::VideoSinkExt), [`trait@gst_base::BaseSinkExt`], [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] Trait containing all `VideoSink` methods. # Implementors -[`VideoSink`](struct.VideoSink.html) +[`VideoSink`](struct@crate::VideoSink) Takes `src` rectangle and position it at the center of `dst` rectangle with or without `scaling`. It handles clipping if the `src` rectangle is bigger than diff --git a/docs/gstreamer-webrtc/docs.md b/docs/gstreamer-webrtc/docs.md index be0d30ddb..36ecd231b 100644 --- a/docs/gstreamer-webrtc/docs.md +++ b/docs/gstreamer-webrtc/docs.md @@ -23,7 +23,7 @@ recvonly # Implements -[`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`trait@glib::object::ObjectExt`] new @@ -44,7 +44,7 @@ Feature: `v1_18` # Implements -[`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`trait@glib::object::ObjectExt`] Close the `self`. @@ -176,7 +176,7 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`trait@glib::object::ObjectExt`] GST_WEBRTC_ICE_TRANSPORT_POLICY_ALL: all GST_WEBRTC_ICE_TRANSPORT_POLICY_RELAY: relay @@ -213,13 +213,13 @@ Feature: `v1_16` # Implements -[`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`trait@glib::object::ObjectExt`] # Implements -[`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`trait@glib::object::ObjectExt`] @@ -227,7 +227,7 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`trait@glib::object::ObjectExt`] Direction of the transceiver. diff --git a/docs/gstreamer/docs.md b/docs/gstreamer/docs.md index eb1a0523b..ca940722a 100644 --- a/docs/gstreamer/docs.md +++ b/docs/gstreamer/docs.md @@ -31,13 +31,13 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`AllocatorExt`](trait.AllocatorExt.html), [`GstObjectExt`](trait.GstObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`AllocatorExt`](trait@crate::AllocatorExt), [`GstObjectExt`](trait@crate::GstObjectExt), [`trait@glib::object::ObjectExt`] Trait containing all `Allocator` methods. # Implementors -[`Allocator`](struct.Allocator.html) +[`Allocator`](struct@crate::Allocator) Find a previously registered allocator with `name`. When `name` is `None`, the default allocator will be returned. @@ -186,13 +186,13 @@ handler will return `true`. # Implements -[`GstBinExt`](trait.GstBinExt.html), [`ElementExt`](trait.ElementExt.html), [`GstObjectExt`](trait.GstObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ChildProxyExt`](trait.ChildProxyExt.html), [`ElementExtManual`](prelude/trait.ElementExtManual.html), [`ChildProxyExtManual`](prelude/trait.ChildProxyExtManual.html) +[`GstBinExt`](trait@crate::GstBinExt), [`ElementExt`](trait@crate::ElementExt), [`GstObjectExt`](trait@crate::GstObjectExt), [`trait@glib::object::ObjectExt`], [`ChildProxyExt`](trait@crate::ChildProxyExt), [`ElementExtManual`](trait@crate::ElementExtManual), [`ChildProxyExtManual`](trait@crate::ChildProxyExtManual) Trait containing all `Bin` methods. # Implementors -[`Bin`](struct.Bin.html), [`Pipeline`](struct.Pipeline.html) +[`Bin`](struct@crate::Bin), [`Pipeline`](struct@crate::Pipeline) Creates a new bin with the given name. ## `name` @@ -285,7 +285,7 @@ the element name to search for the `Element` with the given name, or `None` - + Return the suppressed flags of the bin. MT safe. @@ -1535,13 +1535,13 @@ refcount of the pool reaches 0, the pool will be freed. # Implements -[`BufferPoolExt`](trait.BufferPoolExt.html), [`GstObjectExt`](trait.GstObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`BufferPoolExtManual`](prelude/trait.BufferPoolExtManual.html) +[`BufferPoolExt`](trait@crate::BufferPoolExt), [`GstObjectExt`](trait@crate::GstObjectExt), [`trait@glib::object::ObjectExt`], [`BufferPoolExtManual`](trait@crate::BufferPoolExtManual) Trait containing all `BufferPool` methods. # Implementors -[`BufferPool`](struct.BufferPool.html) +[`BufferPool`](struct@crate::BufferPool) Creates a new `BufferPool` instance. @@ -1684,7 +1684,7 @@ parameters. a `FlowReturn` such as `FlowReturn::Flushing` when the pool is inactive. - + Get a copy of the current configuration of the pool. This configuration can either be modified and used for the `BufferPool::set_config` call or it must be freed after usage. @@ -1693,7 +1693,7 @@ or it must be freed after usage. a copy of the current configuration of `self`. use `Structure::free` after usage or `BufferPool::set_config`. - + Get a `None` terminated array of string with supported bufferpool options for `self`. An option would typically be enabled with `BufferPool::config_add_option`. @@ -1838,7 +1838,7 @@ from READY to NULL state. # Implements -[`GstObjectExt`](trait.GstObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`GstObjectExt`](trait@crate::GstObjectExt), [`trait@glib::object::ObjectExt`] Creates a new `Bus` instance. @@ -1994,7 +1994,7 @@ comes from the thread of whatever object posted the message; the "message" signal is marshalled to the main thread via the main loop. MT safe. - + Gets the file descriptor from the bus which can be used to get notified about messages being available with functions like `g_poll`, and allows integration into other event loops based on file descriptors. @@ -2778,13 +2778,13 @@ scheme is recursive. Thus "child1::child2::property" is valid too, if # Implements -[`ChildProxyExt`](trait.ChildProxyExt.html), [`ChildProxyExtManual`](prelude/trait.ChildProxyExtManual.html) +[`ChildProxyExt`](trait@crate::ChildProxyExt), [`ChildProxyExtManual`](trait@crate::ChildProxyExtManual) Trait containing all `ChildProxy` methods. # Implementors -[`Bin`](struct.Bin.html), [`ChildProxy`](struct.ChildProxy.html), [`Pipeline`](struct.Pipeline.html) +[`Bin`](struct@crate::Bin), [`ChildProxy`](struct@crate::ChildProxy), [`Pipeline`](struct@crate::Pipeline) Emits the "child-added" signal. ## `child` @@ -2827,7 +2827,7 @@ the child object or `None` if not found. Unref after usage. MT safe. - + Gets the number of child objects this parent contains. # Returns @@ -2972,13 +2972,13 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`ClockExt`](trait.ClockExt.html), [`GstObjectExt`](trait.GstObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ClockExtManual`](prelude/trait.ClockExtManual.html) +[`ClockExt`](trait@crate::ClockExt), [`GstObjectExt`](trait@crate::GstObjectExt), [`trait@glib::object::ObjectExt`], [`ClockExtManual`](trait@crate::ClockExtManual) Trait containing all `Clock` methods. # Implementors -[`Clock`](struct.Clock.html), [`SystemClock`](struct.SystemClock.html) +[`Clock`](struct@crate::Clock), [`SystemClock`](struct@crate::SystemClock) Compares the two `ClockID` instances. This function can be used as a GCompareFunc when sorting ids. @@ -3192,7 +3192,7 @@ the denominator of the rate of the clock # Returns the converted time of the clock. - + Gets the internal rate and reference time of `self`. See `ClockExt::set_calibration` for more information. @@ -3208,7 +3208,7 @@ a location to store the external time a location to store the rate numerator ## `rate_denom` a location to store the rate denominator - + Gets the current internal time of the given clock. The time is returned unadjusted for the offset and the rate. @@ -3218,7 +3218,7 @@ the internal time of the clock. Or GST_CLOCK_TIME_NONE when given invalid input. MT safe. - + Get the master clock that `self` is slaved to or `None` when the clock is not slaved to any master clock. @@ -3229,7 +3229,7 @@ a master `Clock` or `None` usage. MT safe. - + Get the accuracy of the clock. The accuracy of the clock is the granularity of the values returned by `ClockExt::get_time`. @@ -3238,7 +3238,7 @@ of the values returned by `ClockExt::get_time`. the resolution of the clock in units of `ClockTime`. MT safe. - + Gets the current time of the given clock. The time is always monotonically increasing and adjusted according to the current offset and rate. @@ -3249,7 +3249,7 @@ the time of the clock. Or GST_CLOCK_TIME_NONE when given invalid input. MT safe. - + Get the amount of time that master and slave clocks are sampled. # Returns @@ -3602,13 +3602,13 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`ControlBindingExt`](trait.ControlBindingExt.html), [`GstObjectExt`](trait.GstObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ControlBindingExtManual`](prelude/trait.ControlBindingExtManual.html) +[`ControlBindingExt`](trait@crate::ControlBindingExt), [`GstObjectExt`](trait@crate::GstObjectExt), [`trait@glib::object::ObjectExt`], [`ControlBindingExtManual`](trait@crate::ControlBindingExtManual) Trait containing all `ControlBinding` methods. # Implementors -[`ControlBinding`](struct.ControlBinding.html) +[`ControlBinding`](struct@crate::ControlBinding) Gets a number of `GValues` for the given controlled property starting at the requested time. The array `values` need to hold enough space for `n_values` of @@ -3708,13 +3708,13 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`ControlSourceExt`](trait.ControlSourceExt.html), [`GstObjectExt`](trait.GstObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ControlSourceExtManual`](prelude/trait.ControlSourceExtManual.html) +[`ControlSourceExt`](trait@crate::ControlSourceExt), [`GstObjectExt`](trait@crate::GstObjectExt), [`trait@glib::object::ObjectExt`], [`ControlSourceExtManual`](trait@crate::ControlSourceExtManual) Trait containing all `ControlSource` methods. # Implementors -[`ControlSource`](struct.ControlSource.html) +[`ControlSource`](struct@crate::ControlSource) Gets the value for this `ControlSource` at a given timestamp. ## `timestamp` @@ -4238,13 +4238,13 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`DeviceExt`](trait.DeviceExt.html), [`GstObjectExt`](trait.GstObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`DeviceExt`](trait@crate::DeviceExt), [`GstObjectExt`](trait@crate::GstObjectExt), [`trait@glib::object::ObjectExt`] Trait containing all `Device` methods. # Implementors -[`Device`](struct.Device.html) +[`Device`](struct@crate::Device) Creates the element with all of the required parameters set to use this device. @@ -4256,14 +4256,14 @@ create a unique name. a new `Element` configured to use this device - + Getter for the `Caps` that this device supports. # Returns The `Caps` supported by this device. Unref with `gst_caps_unref` when done. - + Gets the "class" of a device. This is a "/" separated list of classes that represent this device. They are a subset of the classes of the `DeviceProvider` that produced this device. @@ -4271,13 +4271,13 @@ classes of the `DeviceProvider` that produced this device. # Returns The device class. Free with `g_free` after use. - + Gets the user-friendly name of the device. # Returns The device name. Free with `g_free` after use. - + Gets the extra properties of a device. # Returns @@ -4382,13 +4382,13 @@ The basic use pattern of a device monitor is as follows: # Implements -[`DeviceMonitorExt`](trait.DeviceMonitorExt.html), [`GstObjectExt`](trait.GstObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`DeviceMonitorExtManual`](prelude/trait.DeviceMonitorExtManual.html) +[`DeviceMonitorExt`](trait@crate::DeviceMonitorExt), [`GstObjectExt`](trait@crate::GstObjectExt), [`trait@glib::object::ObjectExt`], [`DeviceMonitorExtManual`](trait@crate::DeviceMonitorExtManual) Trait containing all `DeviceMonitor` methods. # Implementors -[`DeviceMonitor`](struct.DeviceMonitor.html) +[`DeviceMonitor`](struct@crate::DeviceMonitor) Create a new `DeviceMonitor` @@ -4416,13 +4416,13 @@ the `Caps` to filter or `None` for ANY The id of the new filter or 0 if no provider matched the filter's classes. - + Gets the `Bus` of this `DeviceMonitor` # Returns a `Bus` - + Gets a list of devices from all of the relevant monitors. This may actually probe the hardware if the monitor is not currently started. @@ -4430,7 +4430,7 @@ probe the hardware if the monitor is not currently started. a `glib::List` of `Device` - + Get a list of the currently selected device provider factories. This @@ -4440,7 +4440,7 @@ This A list of device provider factory names that are currently being monitored by `self` or `None` when nothing is being monitored. - + Get if `self` is currently showing all devices, even those from hidden providers. @@ -4486,13 +4486,13 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`DeviceProviderExt`](trait.DeviceProviderExt.html), [`GstObjectExt`](trait.GstObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`DeviceProviderExtManual`](prelude/trait.DeviceProviderExtManual.html) +[`DeviceProviderExt`](trait@crate::DeviceProviderExt), [`GstObjectExt`](trait@crate::GstObjectExt), [`trait@glib::object::ObjectExt`], [`DeviceProviderExtManual`](trait@crate::DeviceProviderExtManual) Trait containing all `DeviceProvider` methods. # Implementors -[`DeviceProvider`](struct.DeviceProvider.html) +[`DeviceProvider`](struct@crate::DeviceProvider) Create a new device providerfactory capable of instantiating objects of the `type_` and add the factory to `plugin`. @@ -4539,13 +4539,13 @@ a device has been removed. This is for use by subclasses. ## `device` a `Device` that has been removed - + Gets the `Bus` of this `DeviceProvider` # Returns a `Bus` - + Gets a list of devices that this provider understands. This may actually probe the hardware if the provider is not currently started. @@ -4556,14 +4556,14 @@ objedcts that have been returned by the `MessageType::DeviceAdded` messages. a `glib::List` of `Device` - + Retrieves the factory that was used to create this device provider. # Returns the `DeviceProviderFactory` used for creating this device provider. no refcounting is needed. - + Get the provider factory names of the `DeviceProvider` instances that are hidden by `self`. @@ -4633,7 +4633,7 @@ convenient shortcut. # Implements -[`PluginFeatureExt`](trait.PluginFeatureExt.html), [`GstObjectExt`](trait.GstObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`PluginFeatureExtManual`](prelude/trait.PluginFeatureExtManual.html) +[`PluginFeatureExt`](trait@crate::PluginFeatureExt), [`GstObjectExt`](trait@crate::GstObjectExt), [`trait@glib::object::ObjectExt`], [`PluginFeatureExtManual`](trait@crate::PluginFeatureExtManual) Search for an device provider factory of the given name. Refs the returned device provider factory; caller is responsible for unreffing. @@ -4673,7 +4673,7 @@ providerfactory. the `DeviceProvider` or `None` if the device provider couldn't be created - + Get the `glib::Type` for device providers managed by this factory. The type can only be retrieved if the device provider factory is loaded, which can be assured with `PluginFeature::load`. @@ -4690,7 +4690,7 @@ a key the metadata with `key` on `self` or `None` when there was no metadata with the given `key`. - + Get the available keys for the metadata on `self`. # Returns @@ -4771,13 +4771,13 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`ElementExt`](trait.ElementExt.html), [`GstObjectExt`](trait.GstObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ElementExtManual`](prelude/trait.ElementExtManual.html) +[`ElementExt`](trait@crate::ElementExt), [`GstObjectExt`](trait@crate::GstObjectExt), [`trait@glib::object::ObjectExt`], [`ElementExtManual`](trait@crate::ElementExtManual) Trait containing all `Element` methods. # Implementors -[`Bin`](struct.Bin.html), [`Element`](struct.Element.html), [`TagSetter`](struct.TagSetter.html), [`TocSetter`](struct.TocSetter.html) +[`Bin`](struct@crate::Bin), [`Element`](struct@crate::Element), [`TagSetter`](struct@crate::TagSetter), [`TocSetter`](struct@crate::TocSetter) Creates an element for handling the given URI. ## `type_` @@ -4994,7 +4994,7 @@ user data passed to `func` `false` if `self` had no source pads or if one of the calls to `func` returned `false`. - + Returns the base time of the element. The base time is the absolute time of the clock when this element was last put to PLAYING. Subtracting the base time from the clock time gives @@ -5005,7 +5005,7 @@ the running time of the element. the base time of the element. MT safe. - + Returns the bus of the element. Note that only a `Pipeline` will provide a bus for the application. @@ -5015,7 +5015,7 @@ the element's `Bus`. unref after usage. MT safe. - + Gets the currently configured clock of the element. This is the clock as was last set with `ElementExt::set_clock`. @@ -5074,7 +5074,7 @@ a name of a context to retrieve # Returns A `Context` or NULL - + Gets the contexts set on the element. MT safe. @@ -5082,7 +5082,7 @@ MT safe. # Returns List of `Context` - + Returns the current clock time of the element, as in, the time of the element's clock, or GST_CLOCK_TIME_NONE if there is no clock. @@ -5093,7 +5093,7 @@ Feature: `v1_18` the clock time of the element, or GST_CLOCK_TIME_NONE if there is no clock. - + Returns the running time of the element. The running time is the element's clock time minus its base time. Will return GST_CLOCK_TIME_NONE if the element has no clock, or if its base time has not been set. @@ -5105,7 +5105,7 @@ Feature: `v1_18` the running time of the element, or GST_CLOCK_TIME_NONE if the element has no clock or its base time has not been set. - + Retrieves the factory that was used to create this element. # Returns @@ -5136,7 +5136,7 @@ the name of the `PadTemplate` to get. the `PadTemplate` with the given name, or `None` if none was found. No unreferencing is necessary. - + Retrieves a list of the pad templates associated with `self`. The list must not be modified by the calling code. @@ -5162,7 +5162,7 @@ the name of the request `Pad` to retrieve. requested `Pad` if found, otherwise `None`. Release after usage. - + Returns the start time of the element. The start time is the running time of the clock when this element was last put to PAUSED. @@ -5847,7 +5847,7 @@ The following code example shows you how to create a GstFileSrc element. # Implements -[`PluginFeatureExt`](trait.PluginFeatureExt.html), [`GstObjectExt`](trait.GstObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`PluginFeatureExtManual`](prelude/trait.PluginFeatureExtManual.html) +[`PluginFeatureExt`](trait@crate::PluginFeatureExt), [`GstObjectExt`](trait@crate::GstObjectExt), [`trait@glib::object::ObjectExt`], [`PluginFeatureExtManual`](trait@crate::PluginFeatureExtManual) Search for an element factory of the given name. Refs the returned element factory; caller is responsible for unreffing. @@ -5953,7 +5953,7 @@ name of new element, or `None` to automatically create new `Element` or `None` if the element couldn't be created - + Get the `glib::Type` for elements managed by this factory. The type can only be retrieved if the element factory is loaded, which can be assured with `PluginFeature::load`. @@ -5971,7 +5971,7 @@ a key the metadata with `key` on `self` or `None` when there was no metadata with the given `key`. - + Get the available keys for the metadata on `self`. # Returns @@ -5979,20 +5979,20 @@ Get the available keys for the metadata on `self`. a `None`-terminated array of key strings, or `None` when there is no metadata. Free with `g_strfreev` when no longer needed. - + Gets the number of pad_templates in this factory. # Returns the number of pad_templates - + Gets the `glib::List` of `StaticPadTemplate` for this factory. # Returns the static pad templates - + Gets a `None`-terminated array of protocols this element supports or `None` if no protocols are supported. You may not change the contents of the returned array, as it is still owned by the element factory. Use `g_strdupv` to @@ -6002,7 +6002,7 @@ make a copy of the protocol string array if you need to. the supported protocols or `None` - + Gets the type of URIs the element supports or `URIType::Unknown` if none. # Returns @@ -7158,13 +7158,13 @@ Note that GhostPads add overhead to the data processing of a pipeline. # Implements -[`GhostPadExt`](trait.GhostPadExt.html), [`ProxyPadExt`](trait.ProxyPadExt.html), [`PadExt`](trait.PadExt.html), [`GstObjectExt`](trait.GstObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ProxyPadExtManual`](prelude/trait.ProxyPadExtManual.html), [`PadExtManual`](prelude/trait.PadExtManual.html) +[`GhostPadExt`](trait@crate::GhostPadExt), [`ProxyPadExt`](trait@crate::ProxyPadExt), [`PadExt`](trait@crate::PadExt), [`GstObjectExt`](trait@crate::GstObjectExt), [`trait@glib::object::ObjectExt`], [`ProxyPadExtManual`](trait@crate::ProxyPadExtManual), [`PadExtManual`](trait@crate::PadExtManual) Trait containing all `GhostPad` methods. # Implementors -[`GhostPad`](struct.GhostPad.html) +[`GhostPad`](struct@crate::GhostPad) Create a new ghostpad with `target` as the target. The direction will be taken from the target pad. `target` must be unlinked. @@ -7179,7 +7179,7 @@ the pad to ghost. a new `Pad`, or `None` in case of an error. - + Create a new ghostpad with `target` as the target. The direction will be taken from the target pad. The template used on the ghostpad will be `template`. @@ -7267,7 +7267,7 @@ anymore. # Returns `true` if the construction succeeds, `false` otherwise. - + Get the target pad of `self`. Unref target pad after usage. # Returns @@ -8966,13 +8966,13 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`GstObjectExt`](trait.GstObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`GstObjectExt`](trait@crate::GstObjectExt), [`trait@glib::object::ObjectExt`] Trait containing all `Object` methods. # Implementors -[`Allocator`](struct.Allocator.html), [`BufferPool`](struct.BufferPool.html), [`Bus`](struct.Bus.html), [`Clock`](struct.Clock.html), [`ControlBinding`](struct.ControlBinding.html), [`ControlSource`](struct.ControlSource.html), [`DeviceMonitor`](struct.DeviceMonitor.html), [`DeviceProvider`](struct.DeviceProvider.html), [`Device`](struct.Device.html), [`Element`](struct.Element.html), [`Object`](struct.Object.html), [`PadTemplate`](struct.PadTemplate.html), [`Pad`](struct.Pad.html), [`PluginFeature`](struct.PluginFeature.html), [`Plugin`](struct.Plugin.html), [`Registry`](struct.Registry.html), [`StreamCollection`](struct.StreamCollection.html), [`Stream`](struct.Stream.html) +[`Allocator`](struct@crate::Allocator), [`BufferPool`](struct@crate::BufferPool), [`Bus`](struct@crate::Bus), [`Clock`](struct@crate::Clock), [`ControlBinding`](struct@crate::ControlBinding), [`ControlSource`](struct@crate::ControlSource), [`DeviceMonitor`](struct@crate::DeviceMonitor), [`DeviceProvider`](struct@crate::DeviceProvider), [`Device`](struct@crate::Device), [`Element`](struct@crate::Element), [`Object`](struct@crate::Object), [`PadTemplate`](struct@crate::PadTemplate), [`Pad`](struct@crate::Pad), [`PluginFeature`](struct@crate::PluginFeature), [`Plugin`](struct@crate::Plugin), [`Registry`](struct@crate::Registry), [`StreamCollection`](struct@crate::StreamCollection), [`Stream`](struct@crate::Stream) Checks to see if there is any object named `name` in `list`. This function does not do any locking of any kind. You might want to protect the @@ -9070,7 +9070,7 @@ name of the property the `ControlBinding` for `property_name` or `None` if the property is not controlled. - + Obtain the control-rate for this `self`. Audio processing `Element` objects will use this rate to sub-divide their processing loop and call `GstObjectExt::sync_values` in between. The length of the processing segment @@ -9106,7 +9106,7 @@ array to put control-values in # Returns `true` if the given array could be filled, `false` otherwise - + Returns a copy of the name of `self`. Caller should `g_free` the return value after usage. For a nameless object, this returns `None`, which you can safely `g_free` @@ -9120,7 +9120,7 @@ the name of `self`. `g_free` after usage. MT safe. This function grabs and releases `self`'s LOCK. - + Returns the parent of `self`. This function increases the refcount of the parent object so you should `GstObjectExt::unref` it after usage. @@ -9130,7 +9130,7 @@ parent of `self`, this can be `None` if `self` has no parent. unref after usage. MT safe. Grabs and releases `self`'s LOCK. - + Generates a string describing the path of `self` in the object hierarchy. Only useful (or used) for debugging. @@ -9420,13 +9420,13 @@ respectively. # Implements -[`PadExt`](trait.PadExt.html), [`GstObjectExt`](trait.GstObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`PadExtManual`](prelude/trait.PadExtManual.html) +[`PadExt`](trait@crate::PadExt), [`GstObjectExt`](trait@crate::GstObjectExt), [`trait@glib::object::ObjectExt`], [`PadExtManual`](trait@crate::PadExtManual) Trait containing all `Pad` methods. # Implementors -[`Pad`](struct.Pad.html), [`ProxyPad`](struct.ProxyPad.html) +[`Pad`](struct@crate::Pad), [`ProxyPad`](struct@crate::ProxyPad) Creates a new pad with the given name in the given direction. If name is `None`, a guaranteed unique name (across all pads) @@ -9442,7 +9442,7 @@ the `PadDirection` of the pad. a new `Pad`. MT safe. - + Creates a new pad with the given name from the given static template. If name is `None`, a guaranteed unique name (across all pads) will be assigned. @@ -9455,7 +9455,7 @@ the name of the pad # Returns a new `Pad`. - + Creates a new pad with the given name from the given template. If name is `None`, a guaranteed unique name (across all pads) will be assigned. @@ -9686,7 +9686,7 @@ user data passed to `forward` # Returns `true` if one of the dispatcher functions returned `true`. - + Gets the capabilities of the allowed media types that can flow through `self` and its peer. @@ -9701,7 +9701,7 @@ the allowed `Caps` of the function returns `None` when `self` has no peer. MT safe. - + Gets the capabilities currently configured on `self` with the last `EventType::Caps` event. @@ -9709,7 +9709,7 @@ Gets the capabilities currently configured on `self` with the last the current caps of the pad with incremented ref-count or `None` when pad has no caps. Unref after usage. - + Gets the direction of the pad. The direction of the pad is decided at construction time so this function does not take the LOCK. @@ -9719,23 +9719,23 @@ the LOCK. the `PadDirection` of the pad. MT safe. - + Gets the private data of a pad. No locking is performed in this function. # Returns a `gpointer` to the private data. - + Gets the `FlowReturn` return from the last data passed by this pad. - + Get the offset applied to the running time of `self`. `self` has to be a source pad. # Returns the offset. - + Gets the template for `self`. # Returns @@ -9743,14 +9743,14 @@ Gets the template for `self`. the `PadTemplate` from which this pad was instantiated, or `None` if this pad has no template. Unref after usage. - + Gets the capabilities for `self`'s template. # Returns the `Caps` of this pad template. Unref after usage. - + Gets the parent of `self`, cast to a `Element`. If a `self` has no parent or its parent is not an element, return `None`. @@ -9761,7 +9761,7 @@ caller has a reference on the parent, so unref when you're finished with it. MT safe. - + Gets the peer of `self`. This function refs the peer pad so you need to unref it after use. @@ -9810,7 +9810,7 @@ a pointer to hold the `Buffer`, a `FlowReturn` from the pad. MT safe. - + If there is a single internal link of the given pad, this function will return it. Otherwise, it will return NULL. @@ -9835,7 +9835,7 @@ the index of the event a `Event` of type `event_type` or `None` when no event of `event_type` was on `self`. Unref after usage. - + Returns the current `Stream` for the `self`, or `None` if none has been set yet, i.e. the pad has not received a stream-start event yet. @@ -9849,7 +9849,7 @@ Feature: `v1_10` the current `Stream` for `self`, or `None`. unref the returned stream when no longer needed. - + Returns the current stream-id for the `self`, or `None` if none has been set yet, i.e. the pad has not received a stream-start event yet. @@ -9864,7 +9864,7 @@ contents should not be interpreted. a newly-allocated copy of the stream-id for `self`, or `None`. `g_free` the returned string when no longer needed. - + Get `self` task state. If no task is currently set, `TaskState::Stopped` is returned. @@ -10842,7 +10842,7 @@ element class, this is usually done in the class_init of the class: # Implements -[`GstObjectExt`](trait.GstObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`GstObjectExt`](trait@crate::GstObjectExt), [`trait@glib::object::ObjectExt`] Creates a new pad template with a name according to the given template and with the given arguments. @@ -10858,7 +10858,7 @@ a `Caps` set for the template. # Returns a new `PadTemplate`. - + Converts a `StaticPadTemplate` into a `PadTemplate` with a type. Feature: `v1_14` @@ -10871,7 +10871,7 @@ The `glib::Type` of the pad to create # Returns a new `PadTemplate`. - + Creates a new pad template with a name according to the given template and with the given arguments. @@ -10891,14 +10891,14 @@ The `glib::Type` of the pad to create # Returns a new `PadTemplate`. - + Gets the capabilities of the pad template. # Returns the `Caps` of the pad template. Unref after usage. - + See `PadTemplate::set_documentation_caps`. Feature: `v1_18` @@ -11067,13 +11067,13 @@ in the PLAYING state. This default behaviour can be changed with the # Implements -[`PipelineExt`](trait.PipelineExt.html), [`GstBinExt`](trait.GstBinExt.html), [`ElementExt`](trait.ElementExt.html), [`GstObjectExt`](trait.GstObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ChildProxyExt`](trait.ChildProxyExt.html), [`ElementExtManual`](prelude/trait.ElementExtManual.html), [`ChildProxyExtManual`](prelude/trait.ChildProxyExtManual.html) +[`PipelineExt`](trait@crate::PipelineExt), [`GstBinExt`](trait@crate::GstBinExt), [`ElementExt`](trait@crate::ElementExt), [`GstObjectExt`](trait@crate::GstObjectExt), [`trait@glib::object::ObjectExt`], [`ChildProxyExt`](trait@crate::ChildProxyExt), [`ElementExtManual`](trait@crate::ElementExtManual), [`ChildProxyExtManual`](trait@crate::ChildProxyExtManual) Trait containing all `Pipeline` methods. # Implementors -[`Pipeline`](struct.Pipeline.html) +[`Pipeline`](struct@crate::Pipeline) Create a new pipeline with the given name. ## `name` @@ -11093,7 +11093,7 @@ Use this function if you previous forced a fixed clock with pipeline clock selection algorithm. MT safe. - + Check if `self` will automatically flush messages when going to the NULL state. @@ -11123,7 +11123,7 @@ clock, even if the pipeline is not in the PLAYING state. # Returns a `Clock`, unref after usage. - + Get the configured delay (see `PipelineExt::set_delay`). # Returns @@ -11131,14 +11131,14 @@ Get the configured delay (see `PipelineExt::set_delay`). The configured delay. MT safe. - + Gets the latency that should be configured on the pipeline. See `PipelineExt::set_latency`. # Returns Latency to configure on the pipeline or GST_CLOCK_TIME_NONE - + Gets the current clock used by `self`. Unlike `ElementExt::get_clock`, this function will always return a @@ -11260,7 +11260,7 @@ into memory. # Implements -[`GstObjectExt`](trait.GstObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`GstObjectExt`](trait@crate::GstObjectExt), [`trait@glib::object::ObjectExt`] Unrefs each member of `list`, then frees the list. ## `list` @@ -11414,7 +11414,7 @@ one or more file names or file name suffixes (separated by commas), or `None` ## `flags` optional flags, or `PluginDependencyFlags::None` - + Gets the plugin specific data cache. If it is `None` there is no cached data stored. This is the case when the registry is getting rebuilt. @@ -11422,19 +11422,19 @@ stored. This is the case when the registry is getting rebuilt. The cached data as a `Structure` or `None`. - + Get the long descriptive name of the plugin # Returns the long name of the plugin - + get the filename of the plugin # Returns the filename of the plugin - + get the license of the plugin # Returns @@ -11446,19 +11446,19 @@ Get the short name of the plugin # Returns the name of the plugin - + get the URL where the plugin comes from # Returns the origin of the plugin - + get the package the plugin belongs to. # Returns the package of the plugin - + Get the release date (and possibly time) in form of a string, if available. For normal GStreamer plugin releases this will usually just be a date in @@ -11472,13 +11472,13 @@ There may be plugins that do not have a valid release date set on them. the date string of the plugin, or `None` if not available. - + get the source module the plugin belongs to. # Returns the source of the plugin - + get the version of the plugin # Returns @@ -11558,13 +11558,13 @@ This is an Abstract Base Class, you cannot instantiate it. # Implements -[`PluginFeatureExt`](trait.PluginFeatureExt.html), [`GstObjectExt`](trait.GstObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`PluginFeatureExtManual`](prelude/trait.PluginFeatureExtManual.html) +[`PluginFeatureExt`](trait@crate::PluginFeatureExt), [`GstObjectExt`](trait@crate::GstObjectExt), [`trait@glib::object::ObjectExt`], [`PluginFeatureExtManual`](trait@crate::PluginFeatureExtManual) Trait containing all `PluginFeature` methods. # Implementors -[`DeviceProviderFactory`](struct.DeviceProviderFactory.html), [`ElementFactory`](struct.ElementFactory.html), [`PluginFeature`](struct.PluginFeature.html), [`TypeFindFactory`](struct.TypeFindFactory.html) +[`DeviceProviderFactory`](struct@crate::DeviceProviderFactory), [`ElementFactory`](struct@crate::ElementFactory), [`PluginFeature`](struct@crate::PluginFeature), [`TypeFindFactory`](struct@crate::TypeFindFactory) Copies the list of features. Caller should call [`list_free`](Self::list_free) when done with the list. @@ -11614,7 +11614,7 @@ minimum required micro version `true` if the plugin feature has at least the required version, otherwise `false`. - + Get the plugin that provides this feature. # Returns @@ -11622,7 +11622,7 @@ Get the plugin that provides this feature. the plugin that provides this feature, or `None`. Unref with `GstObjectExt::unref` when no longer needed. - + Get the name of the plugin that provides this feature. # Returns @@ -11630,7 +11630,7 @@ Get the name of the plugin that provides this feature. the name of the plugin that provides this feature, or `None` if the feature is not associated with a plugin. - + Gets the rank of a plugin feature. # Returns @@ -11693,13 +11693,13 @@ Presets found in those paths will be considered as "app presets". # Implements -[`PresetExt`](trait.PresetExt.html) +[`PresetExt`](trait@crate::PresetExt) Trait containing all `Preset` methods. # Implementors -[`Preset`](struct.Preset.html) +[`Preset`](struct@crate::Preset) Gets the directory for application specific presets if set by the application. @@ -11740,14 +11740,14 @@ value `true` for success, `false` if e.g. there is no preset with that `name` or no value for the given `tag` - + Get a copy of preset names as a `None` terminated string array. # Returns list with names, use `g_strfreev` after usage. - + Get a the names of the GObject properties that can be used for presets. # Returns @@ -11966,13 +11966,13 @@ Feature: `v1_14` # Implements -[`ProxyPadExt`](trait.ProxyPadExt.html), [`PadExt`](trait.PadExt.html), [`GstObjectExt`](trait.GstObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ProxyPadExtManual`](prelude/trait.ProxyPadExtManual.html), [`PadExtManual`](prelude/trait.PadExtManual.html) +[`ProxyPadExt`](trait@crate::ProxyPadExt), [`PadExt`](trait@crate::PadExt), [`GstObjectExt`](trait@crate::GstObjectExt), [`trait@glib::object::ObjectExt`], [`ProxyPadExtManual`](trait@crate::ProxyPadExtManual), [`PadExtManual`](trait@crate::PadExtManual) Trait containing all `ProxyPad` methods. # Implementors -[`GhostPad`](struct.GhostPad.html), [`ProxyPad`](struct.ProxyPad.html) +[`GhostPad`](struct@crate::GhostPad), [`ProxyPad`](struct@crate::ProxyPad) Invoke the default chain function of the proxy pad. ## `pad` @@ -12027,7 +12027,7 @@ the parent of `pad` or `None` a `Iterator` of `Pad`, or `None` if `pad` has no parent. Unref each returned pad with `GstObjectExt::unref`. - + Get the internal pad of `self`. Unref target pad after usage. The internal pad of a `GhostPad` is the internally used @@ -12915,7 +12915,7 @@ removed at the end of initialization. # Implements -[`GstObjectExt`](trait.GstObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`GstObjectExt`](trait@crate::GstObjectExt), [`trait@glib::object::ObjectExt`] By default GStreamer will perform scanning and rebuilding of the registry file using a helper child process. @@ -13050,14 +13050,14 @@ a plugin name. a `glib::List` of `PluginFeature`. Use `PluginFeature::list_free` after usage. - + Returns the registry's feature list cookie. This changes every time a feature is added or removed from the registry. # Returns the feature list cookie. - + Get a copy of all plugins registered in the given registry. The refcount of each element in the list in incremented. @@ -13908,6 +13908,38 @@ the state change will happen asynchronously the state change succeeded but the element cannot produce data in `State::Paused`. This typically happens with live sources. + +Datastructure to initialize `Caps` from a string description usually +used in conjunction with GST_STATIC_CAPS() and `StaticCaps::get` to +instantiate a `Caps`. + +Clean up the cached caps contained in `self`. + +Converts a `StaticCaps` to a `Caps`. + +# Returns + +a pointer to the `Caps`. Unref + after usage. Since the core holds an additional ref to the + returned caps, use `gst_caps_make_writable` on the returned caps + to modify it. + +Structure describing the `StaticPadTemplate`. + +Converts a `StaticPadTemplate` into a `PadTemplate`. + +# Returns + +a new `PadTemplate`. + +Gets the capabilities of the static pad template. + +# Returns + +the `Caps` of the static pad template. +Unref after usage. Since the core holds an additional +ref to the returned caps, use `gst_caps_make_writable` +on the returned caps to modify it. A high-level object representing a single stream. It might be backed, or not, by an actual flow of data in a pipeline (`Pad`). @@ -13926,7 +13958,7 @@ Feature: `v1_10` # Implements -[`GstObjectExt`](trait.GstObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`GstObjectExt`](trait@crate::GstObjectExt), [`trait@glib::object::ObjectExt`] Create a new `Stream` for the given `stream_id`, `caps`, `type_` and `flags` @@ -13946,7 +13978,7 @@ the `StreamFlags` of the stream # Returns The new `Stream` - + Retrieve the caps for `self`, if any Feature: `v1_10` @@ -13955,7 +13987,7 @@ Feature: `v1_10` # Returns The `Caps` for `self` - + Retrieve the current stream flags for `self` Feature: `v1_10` @@ -13964,7 +13996,7 @@ Feature: `v1_10` # Returns The `StreamFlags` for `self` - + Returns the stream ID of `self`. Feature: `v1_10` @@ -13974,7 +14006,7 @@ Feature: `v1_10` the stream ID of `self`. Only valid during the lifetime of `self`. - + Retrieve the stream type for `self` Feature: `v1_10` @@ -13983,7 +14015,7 @@ Feature: `v1_10` # Returns The `StreamType` for `self` - + Retrieve the tags for `self`, if any Feature: `v1_10` @@ -14060,7 +14092,7 @@ Feature: `v1_10` # Implements -[`GstObjectExt`](trait.GstObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) +[`GstObjectExt`](trait@crate::GstObjectExt), [`trait@glib::object::ObjectExt`] Create a new `StreamCollection`. @@ -14083,7 +14115,7 @@ the `Stream` to add # Returns `true` if the `stream` was properly added, else `false` - + Get the number of streams this collection contains Feature: `v1_10` @@ -14105,7 +14137,7 @@ Index of the stream to retrieve # Returns A `Stream` - + Returns the upstream id of the `self`. Feature: `v1_10` @@ -15139,13 +15171,13 @@ wait operations. # Implements -[`SystemClockExt`](trait.SystemClockExt.html), [`ClockExt`](trait.ClockExt.html), [`GstObjectExt`](trait.GstObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ClockExtManual`](prelude/trait.ClockExtManual.html) +[`SystemClockExt`](trait@crate::SystemClockExt), [`ClockExt`](trait@crate::ClockExt), [`GstObjectExt`](trait@crate::GstObjectExt), [`trait@glib::object::ObjectExt`], [`ClockExtManual`](trait@crate::ClockExtManual) Trait containing all `SystemClock` methods. # Implementors -[`SystemClock`](struct.SystemClock.html) +[`SystemClock`](struct@crate::SystemClock) Get a handle to the default system clock. The refcount of the clock will be increased so you need to unref the clock after @@ -15854,13 +15886,13 @@ GST_LOG_OBJECT (tagsetter, "final tags: %" GST_PTR_FORMAT, result); # Implements -[`TagSetterExt`](trait.TagSetterExt.html), [`ElementExt`](trait.ElementExt.html), [`GstObjectExt`](trait.GstObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`TagSetterExtManual`](prelude/trait.TagSetterExtManual.html), [`ElementExtManual`](prelude/trait.ElementExtManual.html) +[`TagSetterExt`](trait@crate::TagSetterExt), [`ElementExt`](trait@crate::ElementExt), [`GstObjectExt`](trait@crate::GstObjectExt), [`trait@glib::object::ObjectExt`], [`TagSetterExtManual`](trait@crate::TagSetterExtManual), [`ElementExtManual`](trait@crate::ElementExtManual) Trait containing all `TagSetter` methods. # Implementors -[`TagSetter`](struct.TagSetter.html) +[`TagSetter`](struct@crate::TagSetter) Adds the given tag / value pairs on the setter using the given merge mode. The list must be terminated with `None`. @@ -15901,7 +15933,7 @@ The list must be terminated with `None`. the mode to use ## `tag` tag to set - + Returns the current list of tags the setter uses. The list should not be modified or freed. @@ -15911,7 +15943,7 @@ This function is not thread-safe. a current snapshot of the taglist used in the setter or `None` if none is used. - + Queries the mode by which tags inside the setter are overwritten by tags from events @@ -16207,14 +16239,14 @@ with any TOC entries received from downstream. # Implements -[`TocSetterExt`](trait.TocSetterExt.html), [`ElementExt`](trait.ElementExt.html), [`GstObjectExt`](trait.GstObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ElementExtManual`](prelude/trait.ElementExtManual.html) +[`TocSetterExt`](trait@crate::TocSetterExt), [`ElementExt`](trait@crate::ElementExt), [`GstObjectExt`](trait@crate::GstObjectExt), [`trait@glib::object::ObjectExt`], [`ElementExtManual`](trait@crate::ElementExtManual) Trait containing all `TocSetter` methods. # Implementors -[`TocSetter`](struct.TocSetter.html) - +[`TocSetter`](struct@crate::TocSetter) + Return current TOC the setter uses. The TOC should not be modified without making it writable first. @@ -16284,7 +16316,7 @@ that though. # Implements -[`PluginFeatureExt`](trait.PluginFeatureExt.html), [`GstObjectExt`](trait.GstObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`PluginFeatureExtManual`](prelude/trait.PluginFeatureExtManual.html) +[`PluginFeatureExt`](trait@crate::PluginFeatureExt), [`GstObjectExt`](trait@crate::GstObjectExt), [`trait@glib::object::ObjectExt`], [`PluginFeatureExtManual`](trait@crate::PluginFeatureExtManual) Gets the list of all registered typefind factories. You must free the list using `PluginFeature::list_free`. @@ -16303,13 +16335,13 @@ Calls the `GstTypeFindFunction` associated with this factory. ## `find` a properly setup `TypeFind` entry. The get_data and suggest_type members must be set. - + Gets the `Caps` associated with a typefind factory. # Returns the `Caps` associated with this factory - + Gets the extensions associated with a `TypeFindFactory`. The returned array should not be changed. If you need to change stuff in it, you should copy it using `g_strdupv`. This function may return `None` to indicate @@ -16366,14 +16398,14 @@ Source and Sink plugins should implement this interface when possible. # Implements -[`URIHandlerExt`](trait.URIHandlerExt.html) +[`URIHandlerExt`](trait@crate::URIHandlerExt) Trait containing all `URIHandler` methods. # Implementors -[`URIHandler`](struct.URIHandler.html) - +[`URIHandler`](struct@crate::URIHandler) + Gets the list of protocols supported by `self`. This list may not be modified. @@ -16383,7 +16415,7 @@ the supported protocols. Returns `None` if the `self` isn't implemented properly, or the `self` doesn't support any protocols. - + Gets the currently handled URI. # Returns @@ -16392,7 +16424,7 @@ the URI currently handled by the `self`. Returns `None` if there are no URI currently handled. The returned string must be freed with `g_free` when no longer needed. - + Gets the type of the given URI handler # Returns diff --git a/gstreamer-app/src/auto/app_sink.rs b/gstreamer-app/src/auto/app_sink.rs index 6a4e5954d..be233151f 100644 --- a/gstreamer-app/src/auto/app_sink.rs +++ b/gstreamer-app/src/auto/app_sink.rs @@ -15,7 +15,7 @@ glib::wrapper! { pub struct AppSink(Object) @extends gst::Element, gst::Object, @implements gst::URIHandler; match fn { - get_type => || ffi::gst_app_sink_get_type(), + type_ => || ffi::gst_app_sink_get_type(), } } diff --git a/gstreamer-app/src/auto/app_src.rs b/gstreamer-app/src/auto/app_src.rs index eea544ed3..d9dcc4f5b 100644 --- a/gstreamer-app/src/auto/app_src.rs +++ b/gstreamer-app/src/auto/app_src.rs @@ -16,7 +16,7 @@ glib::wrapper! { pub struct AppSrc(Object) @extends gst::Element, gst::Object, @implements gst::URIHandler; match fn { - get_type => || ffi::gst_app_src_get_type(), + type_ => || ffi::gst_app_src_get_type(), } } diff --git a/gstreamer-app/src/auto/versions.txt b/gstreamer-app/src/auto/versions.txt index 3895717b6..750fc5553 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 @ 3c6ebf4) +Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-app/sys/build.rs b/gstreamer-app/sys/build.rs index 961fb48a8..7ddc44ffd 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-app/sys/src/lib.rs b/gstreamer-app/sys/src/lib.rs index 632ef31e7..5648054ed 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-app/sys/tests/abi.rs b/gstreamer-app/sys/tests/abi.rs index 2d1d8760c..eda94e6c8 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-app/sys/tests/constant.c b/gstreamer-app/sys/tests/constant.c index 01a7182ed..ec6d36fd2 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-app/sys/tests/layout.c b/gstreamer-app/sys/tests/layout.c index dc826fab2..08dcb80f2 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-audio/src/auto/audio_base_sink.rs b/gstreamer-audio/src/auto/audio_base_sink.rs index 211ead514..6b97cf54c 100644 --- a/gstreamer-audio/src/auto/audio_base_sink.rs +++ b/gstreamer-audio/src/auto/audio_base_sink.rs @@ -16,7 +16,7 @@ glib::wrapper! { pub struct AudioBaseSink(Object) @extends gst_base::BaseSink, gst::Element, gst::Object; match fn { - get_type => || ffi::gst_audio_base_sink_get_type(), + type_ => || ffi::gst_audio_base_sink_get_type(), } } diff --git a/gstreamer-audio/src/auto/audio_base_src.rs b/gstreamer-audio/src/auto/audio_base_src.rs index 7e6a60e6c..775d22089 100644 --- a/gstreamer-audio/src/auto/audio_base_src.rs +++ b/gstreamer-audio/src/auto/audio_base_src.rs @@ -16,7 +16,7 @@ glib::wrapper! { pub struct AudioBaseSrc(Object) @extends gst_base::BaseSrc, gst::Element, gst::Object; match fn { - get_type => || ffi::gst_audio_base_src_get_type(), + type_ => || ffi::gst_audio_base_src_get_type(), } } diff --git a/gstreamer-audio/src/auto/audio_decoder.rs b/gstreamer-audio/src/auto/audio_decoder.rs index 2647c29ea..23eec43e5 100644 --- a/gstreamer-audio/src/auto/audio_decoder.rs +++ b/gstreamer-audio/src/auto/audio_decoder.rs @@ -17,7 +17,7 @@ glib::wrapper! { pub struct AudioDecoder(Object) @extends gst::Element, gst::Object; match fn { - get_type => || ffi::gst_audio_decoder_get_type(), + type_ => || ffi::gst_audio_decoder_get_type(), } } @@ -52,7 +52,7 @@ pub trait AudioDecoderExt: 'static { fn min_latency(&self) -> gst::ClockTime; #[doc(alias = "gst_audio_decoder_get_needs_format")] - fn is_needs_format(&self) -> bool; + fn needs_format(&self) -> bool; #[doc(alias = "gst_audio_decoder_get_parse_state")] fn parse_state(&self) -> (bool, bool); @@ -192,7 +192,7 @@ impl> AudioDecoderExt for O { } } - fn is_needs_format(&self) -> bool { + fn needs_format(&self) -> bool { unsafe { from_glib(ffi::gst_audio_decoder_get_needs_format( self.as_ref().to_glib_none().0, diff --git a/gstreamer-audio/src/auto/audio_encoder.rs b/gstreamer-audio/src/auto/audio_encoder.rs index 6ce16c3ae..1595b342f 100644 --- a/gstreamer-audio/src/auto/audio_encoder.rs +++ b/gstreamer-audio/src/auto/audio_encoder.rs @@ -16,7 +16,7 @@ glib::wrapper! { pub struct AudioEncoder(Object) @extends gst::Element, gst::Object; match fn { - get_type => || ffi::gst_audio_encoder_get_type(), + type_ => || ffi::gst_audio_encoder_get_type(), } } diff --git a/gstreamer-audio/src/auto/audio_sink.rs b/gstreamer-audio/src/auto/audio_sink.rs index 93306ac0c..fd03a92db 100644 --- a/gstreamer-audio/src/auto/audio_sink.rs +++ b/gstreamer-audio/src/auto/audio_sink.rs @@ -9,7 +9,7 @@ glib::wrapper! { pub struct AudioSink(Object) @extends AudioBaseSink, gst_base::BaseSink, gst::Element, gst::Object; match fn { - get_type => || ffi::gst_audio_sink_get_type(), + type_ => || ffi::gst_audio_sink_get_type(), } } diff --git a/gstreamer-audio/src/auto/audio_src.rs b/gstreamer-audio/src/auto/audio_src.rs index 536284fdd..c17e7f6c4 100644 --- a/gstreamer-audio/src/auto/audio_src.rs +++ b/gstreamer-audio/src/auto/audio_src.rs @@ -9,7 +9,7 @@ glib::wrapper! { pub struct AudioSrc(Object) @extends AudioBaseSrc, gst_base::BaseSrc, gst::Element, gst::Object; match fn { - get_type => || ffi::gst_audio_src_get_type(), + type_ => || ffi::gst_audio_src_get_type(), } } diff --git a/gstreamer-audio/src/auto/audio_stream_align.rs b/gstreamer-audio/src/auto/audio_stream_align.rs index b824458f4..59b9e3c63 100644 --- a/gstreamer-audio/src/auto/audio_stream_align.rs +++ b/gstreamer-audio/src/auto/audio_stream_align.rs @@ -12,7 +12,7 @@ glib::wrapper! { match fn { copy => |ptr| ffi::gst_audio_stream_align_copy(ptr), free => |ptr| ffi::gst_audio_stream_align_free(ptr), - get_type => || ffi::gst_audio_stream_align_get_type(), + type_ => || ffi::gst_audio_stream_align_get_type(), } } diff --git a/gstreamer-audio/src/auto/stream_volume.rs b/gstreamer-audio/src/auto/stream_volume.rs index c25d1dc91..19aa67c4b 100644 --- a/gstreamer-audio/src/auto/stream_volume.rs +++ b/gstreamer-audio/src/auto/stream_volume.rs @@ -16,7 +16,7 @@ glib::wrapper! { pub struct StreamVolume(Interface); match fn { - get_type => || ffi::gst_stream_volume_get_type(), + type_ => || ffi::gst_stream_volume_get_type(), } } diff --git a/gstreamer-audio/src/auto/versions.txt b/gstreamer-audio/src/auto/versions.txt index 3895717b6..750fc5553 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 @ 3c6ebf4) +Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-audio/sys/build.rs b/gstreamer-audio/sys/build.rs index 961fb48a8..7ddc44ffd 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-audio/sys/src/lib.rs b/gstreamer-audio/sys/src/lib.rs index e0c9d863c..7aa19a9c6 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-audio/sys/tests/abi.rs b/gstreamer-audio/sys/tests/abi.rs index 8c36358b5..01353db04 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-audio/sys/tests/constant.c b/gstreamer-audio/sys/tests/constant.c index 99900edbf..42457c58c 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-audio/sys/tests/layout.c b/gstreamer-audio/sys/tests/layout.c index 400830aa0..4433cbf9e 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-base/src/auto/adapter.rs b/gstreamer-base/src/auto/adapter.rs index a71777967..68f462963 100644 --- a/gstreamer-base/src/auto/adapter.rs +++ b/gstreamer-base/src/auto/adapter.rs @@ -11,7 +11,7 @@ glib::wrapper! { pub struct Adapter(Object); match fn { - get_type => || ffi::gst_adapter_get_type(), + type_ => || ffi::gst_adapter_get_type(), } } diff --git a/gstreamer-base/src/auto/aggregator.rs b/gstreamer-base/src/auto/aggregator.rs index 557eefe66..155569ff6 100644 --- a/gstreamer-base/src/auto/aggregator.rs +++ b/gstreamer-base/src/auto/aggregator.rs @@ -22,7 +22,7 @@ glib::wrapper! { pub struct Aggregator(Object) @extends gst::Element, gst::Object; match fn { - get_type => || ffi::gst_aggregator_get_type(), + type_ => || ffi::gst_aggregator_get_type(), } } diff --git a/gstreamer-base/src/auto/aggregator_pad.rs b/gstreamer-base/src/auto/aggregator_pad.rs index c8246c964..c50bd893e 100644 --- a/gstreamer-base/src/auto/aggregator_pad.rs +++ b/gstreamer-base/src/auto/aggregator_pad.rs @@ -18,7 +18,7 @@ glib::wrapper! { pub struct AggregatorPad(Object) @extends gst::Pad, gst::Object; match fn { - get_type => || ffi::gst_aggregator_pad_get_type(), + type_ => || ffi::gst_aggregator_pad_get_type(), } } diff --git a/gstreamer-base/src/auto/base_parse.rs b/gstreamer-base/src/auto/base_parse.rs index c23c3dd49..4380d1f58 100644 --- a/gstreamer-base/src/auto/base_parse.rs +++ b/gstreamer-base/src/auto/base_parse.rs @@ -16,7 +16,7 @@ glib::wrapper! { pub struct BaseParse(Object) @extends gst::Element, gst::Object; match fn { - get_type => || ffi::gst_base_parse_get_type(), + type_ => || ffi::gst_base_parse_get_type(), } } diff --git a/gstreamer-base/src/auto/base_sink.rs b/gstreamer-base/src/auto/base_sink.rs index 9dd0ac186..dde1a0c98 100644 --- a/gstreamer-base/src/auto/base_sink.rs +++ b/gstreamer-base/src/auto/base_sink.rs @@ -16,7 +16,7 @@ glib::wrapper! { pub struct BaseSink(Object) @extends gst::Element, gst::Object; match fn { - get_type => || ffi::gst_base_sink_get_type(), + type_ => || ffi::gst_base_sink_get_type(), } } diff --git a/gstreamer-base/src/auto/base_src.rs b/gstreamer-base/src/auto/base_src.rs index 608e235df..c3ac5db2f 100644 --- a/gstreamer-base/src/auto/base_src.rs +++ b/gstreamer-base/src/auto/base_src.rs @@ -16,7 +16,7 @@ glib::wrapper! { pub struct BaseSrc(Object) @extends gst::Element, gst::Object; match fn { - get_type => || ffi::gst_base_src_get_type(), + type_ => || ffi::gst_base_src_get_type(), } } diff --git a/gstreamer-base/src/auto/base_transform.rs b/gstreamer-base/src/auto/base_transform.rs index 0460748c9..088e6c65f 100644 --- a/gstreamer-base/src/auto/base_transform.rs +++ b/gstreamer-base/src/auto/base_transform.rs @@ -16,7 +16,7 @@ glib::wrapper! { pub struct BaseTransform(Object) @extends gst::Element, gst::Object; match fn { - get_type => || ffi::gst_base_transform_get_type(), + type_ => || ffi::gst_base_transform_get_type(), } } diff --git a/gstreamer-base/src/auto/push_src.rs b/gstreamer-base/src/auto/push_src.rs index 2e7270556..61bdfea2a 100644 --- a/gstreamer-base/src/auto/push_src.rs +++ b/gstreamer-base/src/auto/push_src.rs @@ -9,7 +9,7 @@ glib::wrapper! { pub struct PushSrc(Object) @extends BaseSrc, gst::Element, gst::Object; match fn { - get_type => || ffi::gst_push_src_get_type(), + type_ => || ffi::gst_push_src_get_type(), } } diff --git a/gstreamer-base/src/auto/versions.txt b/gstreamer-base/src/auto/versions.txt index 3895717b6..750fc5553 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 @ 3c6ebf4) +Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-base/sys/build.rs b/gstreamer-base/sys/build.rs index 961fb48a8..7ddc44ffd 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-base/sys/src/lib.rs b/gstreamer-base/sys/src/lib.rs index bfedfd74b..047b14dfb 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-base/sys/tests/abi.rs b/gstreamer-base/sys/tests/abi.rs index 7ec282880..c1326030f 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-base/sys/tests/constant.c b/gstreamer-base/sys/tests/constant.c index fae5b8f81..12d5a94ca 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-base/sys/tests/layout.c b/gstreamer-base/sys/tests/layout.c index 71244535d..1ea6365c0 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-check/src/auto/test_clock.rs b/gstreamer-check/src/auto/test_clock.rs index 8b867d5c1..ef33dd388 100644 --- a/gstreamer-check/src/auto/test_clock.rs +++ b/gstreamer-check/src/auto/test_clock.rs @@ -16,7 +16,7 @@ glib::wrapper! { pub struct TestClock(Object) @extends gst::Clock, gst::Object; match fn { - get_type => || ffi::gst_test_clock_get_type(), + type_ => || ffi::gst_test_clock_get_type(), } } diff --git a/gstreamer-check/src/auto/versions.txt b/gstreamer-check/src/auto/versions.txt index 3895717b6..750fc5553 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 @ 3c6ebf4) +Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-check/sys/build.rs b/gstreamer-check/sys/build.rs index 961fb48a8..7ddc44ffd 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-check/sys/src/lib.rs b/gstreamer-check/sys/src/lib.rs index ca658d32c..9054c0c2c 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-check/sys/tests/abi.rs b/gstreamer-check/sys/tests/abi.rs index 9f9647a19..433e7f917 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-check/sys/tests/constant.c b/gstreamer-check/sys/tests/constant.c index 4c2dcbe17..300f24198 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-check/sys/tests/layout.c b/gstreamer-check/sys/tests/layout.c index a452f3f53..47801a30d 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-controller/src/auto/argb_control_binding.rs b/gstreamer-controller/src/auto/argb_control_binding.rs index 8228cb090..5e8103999 100644 --- a/gstreamer-controller/src/auto/argb_control_binding.rs +++ b/gstreamer-controller/src/auto/argb_control_binding.rs @@ -16,7 +16,7 @@ glib::wrapper! { pub struct ARGBControlBinding(Object) @extends gst::ControlBinding, gst::Object; match fn { - get_type => || ffi::gst_argb_control_binding_get_type(), + type_ => || ffi::gst_argb_control_binding_get_type(), } } diff --git a/gstreamer-controller/src/auto/direct_control_binding.rs b/gstreamer-controller/src/auto/direct_control_binding.rs index 27276e108..51c1d144d 100644 --- a/gstreamer-controller/src/auto/direct_control_binding.rs +++ b/gstreamer-controller/src/auto/direct_control_binding.rs @@ -16,7 +16,7 @@ glib::wrapper! { pub struct DirectControlBinding(Object) @extends gst::ControlBinding, gst::Object; match fn { - get_type => || ffi::gst_direct_control_binding_get_type(), + type_ => || ffi::gst_direct_control_binding_get_type(), } } diff --git a/gstreamer-controller/src/auto/interpolation_control_source.rs b/gstreamer-controller/src/auto/interpolation_control_source.rs index fc9146041..8055ac8a8 100644 --- a/gstreamer-controller/src/auto/interpolation_control_source.rs +++ b/gstreamer-controller/src/auto/interpolation_control_source.rs @@ -18,7 +18,7 @@ glib::wrapper! { pub struct InterpolationControlSource(Object) @extends TimedValueControlSource, gst::ControlSource, gst::Object; match fn { - get_type => || ffi::gst_interpolation_control_source_get_type(), + type_ => || ffi::gst_interpolation_control_source_get_type(), } } diff --git a/gstreamer-controller/src/auto/lfo_control_source.rs b/gstreamer-controller/src/auto/lfo_control_source.rs index 249a47aa9..cdf836b86 100644 --- a/gstreamer-controller/src/auto/lfo_control_source.rs +++ b/gstreamer-controller/src/auto/lfo_control_source.rs @@ -17,7 +17,7 @@ glib::wrapper! { pub struct LFOControlSource(Object) @extends gst::ControlSource, gst::Object; match fn { - get_type => || ffi::gst_lfo_control_source_get_type(), + type_ => || ffi::gst_lfo_control_source_get_type(), } } diff --git a/gstreamer-controller/src/auto/proxy_control_binding.rs b/gstreamer-controller/src/auto/proxy_control_binding.rs index 1159f3cb7..ddca08081 100644 --- a/gstreamer-controller/src/auto/proxy_control_binding.rs +++ b/gstreamer-controller/src/auto/proxy_control_binding.rs @@ -11,7 +11,7 @@ glib::wrapper! { pub struct ProxyControlBinding(Object) @extends gst::ControlBinding, gst::Object; match fn { - get_type => || ffi::gst_proxy_control_binding_get_type(), + type_ => || ffi::gst_proxy_control_binding_get_type(), } } diff --git a/gstreamer-controller/src/auto/timed_value_control_source.rs b/gstreamer-controller/src/auto/timed_value_control_source.rs index deec9b5d4..cb6b581af 100644 --- a/gstreamer-controller/src/auto/timed_value_control_source.rs +++ b/gstreamer-controller/src/auto/timed_value_control_source.rs @@ -16,7 +16,7 @@ glib::wrapper! { pub struct TimedValueControlSource(Object) @extends gst::ControlSource, gst::Object; match fn { - get_type => || ffi::gst_timed_value_control_source_get_type(), + type_ => || ffi::gst_timed_value_control_source_get_type(), } } diff --git a/gstreamer-controller/src/auto/trigger_control_source.rs b/gstreamer-controller/src/auto/trigger_control_source.rs index 31667a6bb..cdc28cd77 100644 --- a/gstreamer-controller/src/auto/trigger_control_source.rs +++ b/gstreamer-controller/src/auto/trigger_control_source.rs @@ -17,7 +17,7 @@ glib::wrapper! { pub struct TriggerControlSource(Object) @extends TimedValueControlSource, gst::ControlSource, gst::Object; match fn { - get_type => || ffi::gst_trigger_control_source_get_type(), + type_ => || ffi::gst_trigger_control_source_get_type(), } } diff --git a/gstreamer-controller/src/auto/versions.txt b/gstreamer-controller/src/auto/versions.txt index 3895717b6..750fc5553 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 @ 3c6ebf4) +Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-controller/sys/build.rs b/gstreamer-controller/sys/build.rs index 961fb48a8..7ddc44ffd 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-controller/sys/src/lib.rs b/gstreamer-controller/sys/src/lib.rs index b69f44ca2..abb3e71b3 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-controller/sys/tests/abi.rs b/gstreamer-controller/sys/tests/abi.rs index 0e7550a9a..afc6359df 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-controller/sys/tests/constant.c b/gstreamer-controller/sys/tests/constant.c index 950de33c6..757781393 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-controller/sys/tests/layout.c b/gstreamer-controller/sys/tests/layout.c index 9f1429e44..e57daa7d0 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-editing-services/src/auto/asset.rs b/gstreamer-editing-services/src/auto/asset.rs index 5f34c1cd5..8b16a6456 100644 --- a/gstreamer-editing-services/src/auto/asset.rs +++ b/gstreamer-editing-services/src/auto/asset.rs @@ -18,7 +18,7 @@ glib::wrapper! { pub struct Asset(Object); match fn { - get_type => || ffi::ges_asset_get_type(), + type_ => || ffi::ges_asset_get_type(), } } diff --git a/gstreamer-editing-services/src/auto/base_effect.rs b/gstreamer-editing-services/src/auto/base_effect.rs index 10e1d52b5..0507e14a5 100644 --- a/gstreamer-editing-services/src/auto/base_effect.rs +++ b/gstreamer-editing-services/src/auto/base_effect.rs @@ -15,7 +15,7 @@ glib::wrapper! { pub struct BaseEffect(Object) @extends TrackElement, TimelineElement, @implements Extractable; match fn { - get_type => || ffi::ges_base_effect_get_type(), + type_ => || ffi::ges_base_effect_get_type(), } } diff --git a/gstreamer-editing-services/src/auto/base_transition_clip.rs b/gstreamer-editing-services/src/auto/base_transition_clip.rs index a8427f2cf..4e1d63404 100644 --- a/gstreamer-editing-services/src/auto/base_transition_clip.rs +++ b/gstreamer-editing-services/src/auto/base_transition_clip.rs @@ -13,7 +13,7 @@ glib::wrapper! { pub struct BaseTransitionClip(Object) @extends OperationClip, Clip, Container, TimelineElement, @implements Extractable; match fn { - get_type => || ffi::ges_base_transition_clip_get_type(), + type_ => || ffi::ges_base_transition_clip_get_type(), } } diff --git a/gstreamer-editing-services/src/auto/clip.rs b/gstreamer-editing-services/src/auto/clip.rs index 1764d56e0..255e032f8 100644 --- a/gstreamer-editing-services/src/auto/clip.rs +++ b/gstreamer-editing-services/src/auto/clip.rs @@ -30,7 +30,7 @@ glib::wrapper! { pub struct Clip(Object) @extends Container, TimelineElement, @implements Extractable; match fn { - get_type => || ffi::ges_clip_get_type(), + type_ => || ffi::ges_clip_get_type(), } } diff --git a/gstreamer-editing-services/src/auto/container.rs b/gstreamer-editing-services/src/auto/container.rs index 57357a19c..5508de809 100644 --- a/gstreamer-editing-services/src/auto/container.rs +++ b/gstreamer-editing-services/src/auto/container.rs @@ -21,7 +21,7 @@ glib::wrapper! { pub struct Container(Object) @extends TimelineElement, @implements Extractable; match fn { - get_type => || ffi::ges_container_get_type(), + type_ => || ffi::ges_container_get_type(), } } diff --git a/gstreamer-editing-services/src/auto/effect.rs b/gstreamer-editing-services/src/auto/effect.rs index 8e96716c1..5b44a2a8f 100644 --- a/gstreamer-editing-services/src/auto/effect.rs +++ b/gstreamer-editing-services/src/auto/effect.rs @@ -15,7 +15,7 @@ glib::wrapper! { pub struct Effect(Object) @extends BaseEffect, TrackElement, TimelineElement, @implements Extractable; match fn { - get_type => || ffi::ges_effect_get_type(), + type_ => || ffi::ges_effect_get_type(), } } diff --git a/gstreamer-editing-services/src/auto/extractable.rs b/gstreamer-editing-services/src/auto/extractable.rs index 8fc84c999..e243b328f 100644 --- a/gstreamer-editing-services/src/auto/extractable.rs +++ b/gstreamer-editing-services/src/auto/extractable.rs @@ -11,7 +11,7 @@ glib::wrapper! { pub struct Extractable(Interface); match fn { - get_type => || ffi::ges_extractable_get_type(), + type_ => || ffi::ges_extractable_get_type(), } } diff --git a/gstreamer-editing-services/src/auto/group.rs b/gstreamer-editing-services/src/auto/group.rs index fce09d0ff..31b6fbbfd 100644 --- a/gstreamer-editing-services/src/auto/group.rs +++ b/gstreamer-editing-services/src/auto/group.rs @@ -19,7 +19,7 @@ glib::wrapper! { pub struct Group(Object) @extends Container, TimelineElement, @implements Extractable; match fn { - get_type => || ffi::ges_group_get_type(), + type_ => || ffi::ges_group_get_type(), } } diff --git a/gstreamer-editing-services/src/auto/layer.rs b/gstreamer-editing-services/src/auto/layer.rs index 45bc59964..56b24b8f9 100644 --- a/gstreamer-editing-services/src/auto/layer.rs +++ b/gstreamer-editing-services/src/auto/layer.rs @@ -26,7 +26,7 @@ glib::wrapper! { pub struct Layer(Object) @implements Extractable; match fn { - get_type => || ffi::ges_layer_get_type(), + type_ => || ffi::ges_layer_get_type(), } } diff --git a/gstreamer-editing-services/src/auto/operation_clip.rs b/gstreamer-editing-services/src/auto/operation_clip.rs index b67266484..c7a5813b8 100644 --- a/gstreamer-editing-services/src/auto/operation_clip.rs +++ b/gstreamer-editing-services/src/auto/operation_clip.rs @@ -12,7 +12,7 @@ glib::wrapper! { pub struct OperationClip(Object) @extends Clip, Container, TimelineElement, @implements Extractable; match fn { - get_type => || ffi::ges_operation_clip_get_type(), + type_ => || ffi::ges_operation_clip_get_type(), } } diff --git a/gstreamer-editing-services/src/auto/pipeline.rs b/gstreamer-editing-services/src/auto/pipeline.rs index e59d1027c..57f1552bc 100644 --- a/gstreamer-editing-services/src/auto/pipeline.rs +++ b/gstreamer-editing-services/src/auto/pipeline.rs @@ -19,7 +19,7 @@ glib::wrapper! { pub struct Pipeline(Object) @extends gst::Pipeline, gst::Element, gst::Object; match fn { - get_type => || ffi::ges_pipeline_get_type(), + type_ => || ffi::ges_pipeline_get_type(), } } diff --git a/gstreamer-editing-services/src/auto/project.rs b/gstreamer-editing-services/src/auto/project.rs index 6806c09ca..d530ffd9c 100644 --- a/gstreamer-editing-services/src/auto/project.rs +++ b/gstreamer-editing-services/src/auto/project.rs @@ -18,7 +18,7 @@ glib::wrapper! { pub struct Project(Object) @extends Asset; match fn { - get_type => || ffi::ges_project_get_type(), + type_ => || ffi::ges_project_get_type(), } } diff --git a/gstreamer-editing-services/src/auto/timeline.rs b/gstreamer-editing-services/src/auto/timeline.rs index b795ec8cc..1dbcf3f56 100644 --- a/gstreamer-editing-services/src/auto/timeline.rs +++ b/gstreamer-editing-services/src/auto/timeline.rs @@ -29,7 +29,7 @@ glib::wrapper! { pub struct Timeline(Object) @extends gst::Element, gst::Object, @implements Extractable; match fn { - get_type => || ffi::ges_timeline_get_type(), + type_ => || ffi::ges_timeline_get_type(), } } diff --git a/gstreamer-editing-services/src/auto/timeline_element.rs b/gstreamer-editing-services/src/auto/timeline_element.rs index 99531dc02..efd1eb5d4 100644 --- a/gstreamer-editing-services/src/auto/timeline_element.rs +++ b/gstreamer-editing-services/src/auto/timeline_element.rs @@ -34,7 +34,7 @@ glib::wrapper! { pub struct TimelineElement(Object) @implements Extractable; match fn { - get_type => || ffi::ges_timeline_element_get_type(), + type_ => || ffi::ges_timeline_element_get_type(), } } diff --git a/gstreamer-editing-services/src/auto/track.rs b/gstreamer-editing-services/src/auto/track.rs index 0fa309486..89a43eba6 100644 --- a/gstreamer-editing-services/src/auto/track.rs +++ b/gstreamer-editing-services/src/auto/track.rs @@ -22,7 +22,7 @@ glib::wrapper! { pub struct Track(Object) @extends gst::Element, gst::Object; match fn { - get_type => || ffi::ges_track_get_type(), + type_ => || ffi::ges_track_get_type(), } } diff --git a/gstreamer-editing-services/src/auto/track_element.rs b/gstreamer-editing-services/src/auto/track_element.rs index 1ae63d2bb..e7c1a1038 100644 --- a/gstreamer-editing-services/src/auto/track_element.rs +++ b/gstreamer-editing-services/src/auto/track_element.rs @@ -22,7 +22,7 @@ glib::wrapper! { pub struct TrackElement(Object) @extends TimelineElement, @implements Extractable; match fn { - get_type => || ffi::ges_track_element_get_type(), + type_ => || ffi::ges_track_element_get_type(), } } diff --git a/gstreamer-editing-services/src/auto/transition_clip.rs b/gstreamer-editing-services/src/auto/transition_clip.rs index dacb6c6fe..644fd0828 100644 --- a/gstreamer-editing-services/src/auto/transition_clip.rs +++ b/gstreamer-editing-services/src/auto/transition_clip.rs @@ -23,7 +23,7 @@ glib::wrapper! { pub struct TransitionClip(Object) @extends BaseTransitionClip, OperationClip, Clip, Container, TimelineElement, @implements Extractable; match fn { - get_type => || ffi::ges_transition_clip_get_type(), + type_ => || ffi::ges_transition_clip_get_type(), } } diff --git a/gstreamer-editing-services/src/auto/uri_clip.rs b/gstreamer-editing-services/src/auto/uri_clip.rs index 13afc5e83..4c34ffe4e 100644 --- a/gstreamer-editing-services/src/auto/uri_clip.rs +++ b/gstreamer-editing-services/src/auto/uri_clip.rs @@ -19,7 +19,7 @@ glib::wrapper! { pub struct UriClip(Object) @extends Clip, Container, TimelineElement, @implements Extractable; match fn { - get_type => || ffi::ges_uri_clip_get_type(), + type_ => || ffi::ges_uri_clip_get_type(), } } diff --git a/gstreamer-editing-services/src/auto/uri_clip_asset.rs b/gstreamer-editing-services/src/auto/uri_clip_asset.rs index f11430702..cfc6c6246 100644 --- a/gstreamer-editing-services/src/auto/uri_clip_asset.rs +++ b/gstreamer-editing-services/src/auto/uri_clip_asset.rs @@ -21,7 +21,7 @@ glib::wrapper! { pub struct UriClipAsset(Object) @extends Asset; match fn { - get_type => || ffi::ges_uri_clip_asset_get_type(), + type_ => || ffi::ges_uri_clip_asset_get_type(), } } diff --git a/gstreamer-editing-services/src/auto/uri_source_asset.rs b/gstreamer-editing-services/src/auto/uri_source_asset.rs index 896dcd75b..62d691373 100644 --- a/gstreamer-editing-services/src/auto/uri_source_asset.rs +++ b/gstreamer-editing-services/src/auto/uri_source_asset.rs @@ -12,7 +12,7 @@ glib::wrapper! { pub struct UriSourceAsset(Object) @extends Asset; match fn { - get_type => || ffi::ges_uri_source_asset_get_type(), + type_ => || ffi::ges_uri_source_asset_get_type(), } } diff --git a/gstreamer-editing-services/src/auto/versions.txt b/gstreamer-editing-services/src/auto/versions.txt index 3895717b6..750fc5553 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 @ 3c6ebf4) +Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-editing-services/sys/build.rs b/gstreamer-editing-services/sys/build.rs index 961fb48a8..7ddc44ffd 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-editing-services/sys/src/lib.rs b/gstreamer-editing-services/sys/src/lib.rs index 3641051ea..83505cee1 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-editing-services/sys/tests/abi.rs b/gstreamer-editing-services/sys/tests/abi.rs index 91e87f150..8e3179229 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-editing-services/sys/tests/constant.c b/gstreamer-editing-services/sys/tests/constant.c index 03489c4a1..b7bf72031 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-editing-services/sys/tests/layout.c b/gstreamer-editing-services/sys/tests/layout.c index 14ed6c279..ba3b469cc 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/egl/src/auto/gl_display_egl.rs b/gstreamer-gl/egl/src/auto/gl_display_egl.rs index f406bcc53..e43d5c835 100644 --- a/gstreamer-gl/egl/src/auto/gl_display_egl.rs +++ b/gstreamer-gl/egl/src/auto/gl_display_egl.rs @@ -10,7 +10,7 @@ glib::wrapper! { pub struct GLDisplayEGL(Object) @extends gst_gl::GLDisplay, gst::Object; match fn { - get_type => || ffi::gst_gl_display_egl_get_type(), + type_ => || ffi::gst_gl_display_egl_get_type(), } } diff --git a/gstreamer-gl/egl/src/auto/versions.txt b/gstreamer-gl/egl/src/auto/versions.txt index 3895717b6..750fc5553 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 @ 3c6ebf4) +Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-gl/egl/sys/build.rs b/gstreamer-gl/egl/sys/build.rs index 961fb48a8..7ddc44ffd 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/egl/sys/src/lib.rs b/gstreamer-gl/egl/sys/src/lib.rs index ae8d2e46b..a0d6de21a 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/egl/sys/tests/abi.rs b/gstreamer-gl/egl/sys/tests/abi.rs index 51591ae3e..d144ff62e 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/egl/sys/tests/constant.c b/gstreamer-gl/egl/sys/tests/constant.c index 691a277f4..863647b5e 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/egl/sys/tests/layout.c b/gstreamer-gl/egl/sys/tests/layout.c index 125d62dbc..ea23e96de 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/src/auto/gl_allocation_params.rs b/gstreamer-gl/src/auto/gl_allocation_params.rs index 29abe4700..fc8fd0942 100644 --- a/gstreamer-gl/src/auto/gl_allocation_params.rs +++ b/gstreamer-gl/src/auto/gl_allocation_params.rs @@ -12,7 +12,7 @@ glib::wrapper! { match fn { copy => |ptr| ffi::gst_gl_allocation_params_copy(mut_override(ptr)), free => |ptr| ffi::gst_gl_allocation_params_free(ptr), - get_type => || ffi::gst_gl_allocation_params_get_type(), + type_ => || ffi::gst_gl_allocation_params_get_type(), } } diff --git a/gstreamer-gl/src/auto/gl_base_filter.rs b/gstreamer-gl/src/auto/gl_base_filter.rs index e46b2640b..f65ceba3c 100644 --- a/gstreamer-gl/src/auto/gl_base_filter.rs +++ b/gstreamer-gl/src/auto/gl_base_filter.rs @@ -17,7 +17,7 @@ glib::wrapper! { pub struct GLBaseFilter(Object) @extends gst_base::BaseTransform, gst::Element, gst::Object; match fn { - get_type => || ffi::gst_gl_base_filter_get_type(), + type_ => || ffi::gst_gl_base_filter_get_type(), } } diff --git a/gstreamer-gl/src/auto/gl_base_memory_allocator.rs b/gstreamer-gl/src/auto/gl_base_memory_allocator.rs index 6b463e83d..887fef6e1 100644 --- a/gstreamer-gl/src/auto/gl_base_memory_allocator.rs +++ b/gstreamer-gl/src/auto/gl_base_memory_allocator.rs @@ -7,7 +7,7 @@ glib::wrapper! { pub struct GLBaseMemoryAllocator(Object) @extends gst::Allocator, gst::Object; match fn { - get_type => || ffi::gst_gl_base_memory_allocator_get_type(), + type_ => || ffi::gst_gl_base_memory_allocator_get_type(), } } diff --git a/gstreamer-gl/src/auto/gl_color_convert.rs b/gstreamer-gl/src/auto/gl_color_convert.rs index bde00151c..988ff2472 100644 --- a/gstreamer-gl/src/auto/gl_color_convert.rs +++ b/gstreamer-gl/src/auto/gl_color_convert.rs @@ -11,7 +11,7 @@ glib::wrapper! { pub struct GLColorConvert(Object) @extends gst::Object; match fn { - get_type => || ffi::gst_gl_color_convert_get_type(), + type_ => || ffi::gst_gl_color_convert_get_type(), } } diff --git a/gstreamer-gl/src/auto/gl_context.rs b/gstreamer-gl/src/auto/gl_context.rs index 240b488ca..5313c65f1 100644 --- a/gstreamer-gl/src/auto/gl_context.rs +++ b/gstreamer-gl/src/auto/gl_context.rs @@ -18,7 +18,7 @@ glib::wrapper! { pub struct GLContext(Object) @extends gst::Object; match fn { - get_type => || ffi::gst_gl_context_get_type(), + type_ => || ffi::gst_gl_context_get_type(), } } diff --git a/gstreamer-gl/src/auto/gl_display.rs b/gstreamer-gl/src/auto/gl_display.rs index 6e5c8d822..fcc5d0514 100644 --- a/gstreamer-gl/src/auto/gl_display.rs +++ b/gstreamer-gl/src/auto/gl_display.rs @@ -20,7 +20,7 @@ glib::wrapper! { pub struct GLDisplay(Object) @extends gst::Object; match fn { - get_type => || ffi::gst_gl_display_get_type(), + type_ => || ffi::gst_gl_display_get_type(), } } diff --git a/gstreamer-gl/src/auto/gl_filter.rs b/gstreamer-gl/src/auto/gl_filter.rs index c32ff9ec3..f6c87d9cf 100644 --- a/gstreamer-gl/src/auto/gl_filter.rs +++ b/gstreamer-gl/src/auto/gl_filter.rs @@ -13,7 +13,7 @@ glib::wrapper! { pub struct GLFilter(Object) @extends GLBaseFilter, gst_base::BaseTransform, gst::Element, gst::Object; match fn { - get_type => || ffi::gst_gl_filter_get_type(), + type_ => || ffi::gst_gl_filter_get_type(), } } diff --git a/gstreamer-gl/src/auto/gl_framebuffer.rs b/gstreamer-gl/src/auto/gl_framebuffer.rs index bf109c660..fe62c9cdd 100644 --- a/gstreamer-gl/src/auto/gl_framebuffer.rs +++ b/gstreamer-gl/src/auto/gl_framebuffer.rs @@ -13,7 +13,7 @@ glib::wrapper! { pub struct GLFramebuffer(Object) @extends gst::Object; match fn { - get_type => || ffi::gst_gl_framebuffer_get_type(), + type_ => || ffi::gst_gl_framebuffer_get_type(), } } diff --git a/gstreamer-gl/src/auto/gl_memory_allocator.rs b/gstreamer-gl/src/auto/gl_memory_allocator.rs index 960b22dd0..d0a99c1f1 100644 --- a/gstreamer-gl/src/auto/gl_memory_allocator.rs +++ b/gstreamer-gl/src/auto/gl_memory_allocator.rs @@ -12,7 +12,7 @@ glib::wrapper! { pub struct GLMemoryAllocator(Object) @extends GLBaseMemoryAllocator, gst::Allocator, gst::Object; match fn { - get_type => || ffi::gst_gl_memory_allocator_get_type(), + type_ => || ffi::gst_gl_memory_allocator_get_type(), } } diff --git a/gstreamer-gl/src/auto/gl_overlay_compositor.rs b/gstreamer-gl/src/auto/gl_overlay_compositor.rs index d0e9bb844..20df98d17 100644 --- a/gstreamer-gl/src/auto/gl_overlay_compositor.rs +++ b/gstreamer-gl/src/auto/gl_overlay_compositor.rs @@ -29,7 +29,7 @@ glib::wrapper! { pub struct GLOverlayCompositor(Object) @extends gst::Object; match fn { - get_type => || ffi::gst_gl_overlay_compositor_get_type(), + type_ => || ffi::gst_gl_overlay_compositor_get_type(), } } diff --git a/gstreamer-gl/src/auto/gl_shader.rs b/gstreamer-gl/src/auto/gl_shader.rs index 0540c7b31..27deb4dce 100644 --- a/gstreamer-gl/src/auto/gl_shader.rs +++ b/gstreamer-gl/src/auto/gl_shader.rs @@ -24,7 +24,7 @@ glib::wrapper! { pub struct GLShader(Object) @extends gst::Object; match fn { - get_type => || ffi::gst_gl_shader_get_type(), + type_ => || ffi::gst_gl_shader_get_type(), } } diff --git a/gstreamer-gl/src/auto/gl_upload.rs b/gstreamer-gl/src/auto/gl_upload.rs index 7be806f6a..71b14f790 100644 --- a/gstreamer-gl/src/auto/gl_upload.rs +++ b/gstreamer-gl/src/auto/gl_upload.rs @@ -12,7 +12,7 @@ glib::wrapper! { pub struct GLUpload(Object) @extends gst::Object; match fn { - get_type => || ffi::gst_gl_upload_get_type(), + type_ => || ffi::gst_gl_upload_get_type(), } } diff --git a/gstreamer-gl/src/auto/gl_video_allocation_params.rs b/gstreamer-gl/src/auto/gl_video_allocation_params.rs index ac9c7ac0e..a06de82f3 100644 --- a/gstreamer-gl/src/auto/gl_video_allocation_params.rs +++ b/gstreamer-gl/src/auto/gl_video_allocation_params.rs @@ -16,7 +16,7 @@ glib::wrapper! { match fn { copy => |ptr| glib::gobject_ffi::g_boxed_copy(ffi::gst_gl_video_allocation_params_get_type(), ptr as *mut _) as *mut ffi::GstGLVideoAllocationParams, free => |ptr| glib::gobject_ffi::g_boxed_free(ffi::gst_gl_video_allocation_params_get_type(), ptr as *mut _), - get_type => || ffi::gst_gl_video_allocation_params_get_type(), + type_ => || ffi::gst_gl_video_allocation_params_get_type(), } } diff --git a/gstreamer-gl/src/auto/gl_view_convert.rs b/gstreamer-gl/src/auto/gl_view_convert.rs index fd17b79d4..df747e2ec 100644 --- a/gstreamer-gl/src/auto/gl_view_convert.rs +++ b/gstreamer-gl/src/auto/gl_view_convert.rs @@ -18,7 +18,7 @@ glib::wrapper! { pub struct GLViewConvert(Object) @extends gst::Object; match fn { - get_type => || ffi::gst_gl_view_convert_get_type(), + type_ => || ffi::gst_gl_view_convert_get_type(), } } diff --git a/gstreamer-gl/src/auto/gl_window.rs b/gstreamer-gl/src/auto/gl_window.rs index 9749da6e9..8dfd3f5c5 100644 --- a/gstreamer-gl/src/auto/gl_window.rs +++ b/gstreamer-gl/src/auto/gl_window.rs @@ -18,7 +18,7 @@ glib::wrapper! { pub struct GLWindow(Object) @extends gst::Object; match fn { - get_type => || ffi::gst_gl_window_get_type(), + type_ => || ffi::gst_gl_window_get_type(), } } diff --git a/gstreamer-gl/src/auto/glsl_stage.rs b/gstreamer-gl/src/auto/glsl_stage.rs index b19ee14f7..e894006fd 100644 --- a/gstreamer-gl/src/auto/glsl_stage.rs +++ b/gstreamer-gl/src/auto/glsl_stage.rs @@ -14,7 +14,7 @@ glib::wrapper! { pub struct GLSLStage(Object) @extends gst::Object; match fn { - get_type => || ffi::gst_glsl_stage_get_type(), + type_ => || ffi::gst_glsl_stage_get_type(), } } diff --git a/gstreamer-gl/src/auto/versions.txt b/gstreamer-gl/src/auto/versions.txt index 3895717b6..750fc5553 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 @ 3c6ebf4) +Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-gl/sys/build.rs b/gstreamer-gl/sys/build.rs index 961fb48a8..7ddc44ffd 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/sys/src/lib.rs b/gstreamer-gl/sys/src/lib.rs index a646fa8df..cdfb56b0f 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/sys/tests/abi.rs b/gstreamer-gl/sys/tests/abi.rs index 4a3ba8377..cbe3a9557 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/sys/tests/constant.c b/gstreamer-gl/sys/tests/constant.c index 89508fc7f..8ae15b201 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/sys/tests/layout.c b/gstreamer-gl/sys/tests/layout.c index e551ced78..a3d49c06f 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/wayland/src/auto/gl_display_wayland.rs b/gstreamer-gl/wayland/src/auto/gl_display_wayland.rs index f6b008dc3..d7ef76167 100644 --- a/gstreamer-gl/wayland/src/auto/gl_display_wayland.rs +++ b/gstreamer-gl/wayland/src/auto/gl_display_wayland.rs @@ -9,7 +9,7 @@ glib::wrapper! { pub struct GLDisplayWayland(Object) @extends gst_gl::GLDisplay, gst::Object; match fn { - get_type => || ffi::gst_gl_display_wayland_get_type(), + type_ => || ffi::gst_gl_display_wayland_get_type(), } } diff --git a/gstreamer-gl/wayland/src/auto/versions.txt b/gstreamer-gl/wayland/src/auto/versions.txt index 3895717b6..750fc5553 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 @ 3c6ebf4) +Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-gl/wayland/sys/build.rs b/gstreamer-gl/wayland/sys/build.rs index 961fb48a8..7ddc44ffd 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/wayland/sys/src/lib.rs b/gstreamer-gl/wayland/sys/src/lib.rs index 7cc41e117..d7b23fc61 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/wayland/sys/tests/abi.rs b/gstreamer-gl/wayland/sys/tests/abi.rs index 366270424..7a2a0e0f6 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/wayland/sys/tests/constant.c b/gstreamer-gl/wayland/sys/tests/constant.c index 4c2dcbe17..300f24198 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/wayland/sys/tests/layout.c b/gstreamer-gl/wayland/sys/tests/layout.c index 45b2debb5..630e1314d 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/x11/src/auto/gl_display_x11.rs b/gstreamer-gl/x11/src/auto/gl_display_x11.rs index 8eb0908f2..543d64174 100644 --- a/gstreamer-gl/x11/src/auto/gl_display_x11.rs +++ b/gstreamer-gl/x11/src/auto/gl_display_x11.rs @@ -9,7 +9,7 @@ glib::wrapper! { pub struct GLDisplayX11(Object) @extends gst_gl::GLDisplay, gst::Object; match fn { - get_type => || ffi::gst_gl_display_x11_get_type(), + type_ => || ffi::gst_gl_display_x11_get_type(), } } diff --git a/gstreamer-gl/x11/src/auto/versions.txt b/gstreamer-gl/x11/src/auto/versions.txt index 3895717b6..750fc5553 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 @ 3c6ebf4) +Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-gl/x11/sys/build.rs b/gstreamer-gl/x11/sys/build.rs index 961fb48a8..7ddc44ffd 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/x11/sys/src/lib.rs b/gstreamer-gl/x11/sys/src/lib.rs index 3a2eee460..e22250393 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/x11/sys/tests/abi.rs b/gstreamer-gl/x11/sys/tests/abi.rs index 9e7057263..f723c5844 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/x11/sys/tests/constant.c b/gstreamer-gl/x11/sys/tests/constant.c index 4c2dcbe17..300f24198 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/x11/sys/tests/layout.c b/gstreamer-gl/x11/sys/tests/layout.c index 81264b42d..e87d19d3b 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-mpegts/sys/build.rs b/gstreamer-mpegts/sys/build.rs index 961fb48a8..7ddc44ffd 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-mpegts/sys/src/lib.rs b/gstreamer-mpegts/sys/src/lib.rs index 955b26e69..45059cc34 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-mpegts/sys/tests/abi.rs b/gstreamer-mpegts/sys/tests/abi.rs index 8b542561d..8e1290002 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-mpegts/sys/tests/constant.c b/gstreamer-mpegts/sys/tests/constant.c index 801c3ca5c..6be84153e 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-mpegts/sys/tests/layout.c b/gstreamer-mpegts/sys/tests/layout.c index 18556ee5b..b4d52913f 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-net/src/auto/net_client_clock.rs b/gstreamer-net/src/auto/net_client_clock.rs index 651585009..3c8c500db 100644 --- a/gstreamer-net/src/auto/net_client_clock.rs +++ b/gstreamer-net/src/auto/net_client_clock.rs @@ -16,7 +16,7 @@ glib::wrapper! { pub struct NetClientClock(Object) @extends gst::Clock, gst::Object; match fn { - get_type => || ffi::gst_net_client_clock_get_type(), + type_ => || ffi::gst_net_client_clock_get_type(), } } diff --git a/gstreamer-net/src/auto/net_time_provider.rs b/gstreamer-net/src/auto/net_time_provider.rs index 1b4e35e4b..240137ffc 100644 --- a/gstreamer-net/src/auto/net_time_provider.rs +++ b/gstreamer-net/src/auto/net_time_provider.rs @@ -15,7 +15,7 @@ glib::wrapper! { pub struct NetTimeProvider(Object) @extends gst::Object; match fn { - get_type => || ffi::gst_net_time_provider_get_type(), + type_ => || ffi::gst_net_time_provider_get_type(), } } diff --git a/gstreamer-net/src/auto/ntp_clock.rs b/gstreamer-net/src/auto/ntp_clock.rs index 092dee2fe..96238edad 100644 --- a/gstreamer-net/src/auto/ntp_clock.rs +++ b/gstreamer-net/src/auto/ntp_clock.rs @@ -9,7 +9,7 @@ glib::wrapper! { pub struct NtpClock(Object) @extends NetClientClock, gst::Clock, gst::Object; match fn { - get_type => || ffi::gst_ntp_clock_get_type(), + type_ => || ffi::gst_ntp_clock_get_type(), } } diff --git a/gstreamer-net/src/auto/ptp_clock.rs b/gstreamer-net/src/auto/ptp_clock.rs index c9f5e8e8b..0638f6bc3 100644 --- a/gstreamer-net/src/auto/ptp_clock.rs +++ b/gstreamer-net/src/auto/ptp_clock.rs @@ -15,7 +15,7 @@ glib::wrapper! { pub struct PtpClock(Object) @extends gst::Clock, gst::Object; match fn { - get_type => || ffi::gst_ptp_clock_get_type(), + type_ => || ffi::gst_ptp_clock_get_type(), } } diff --git a/gstreamer-net/src/auto/versions.txt b/gstreamer-net/src/auto/versions.txt index 3895717b6..750fc5553 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 @ 3c6ebf4) +Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-net/sys/build.rs b/gstreamer-net/sys/build.rs index 961fb48a8..7ddc44ffd 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-net/sys/src/lib.rs b/gstreamer-net/sys/src/lib.rs index ed46746f6..f0053658f 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-net/sys/tests/abi.rs b/gstreamer-net/sys/tests/abi.rs index fb5640f6a..7fec9f54d 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-net/sys/tests/constant.c b/gstreamer-net/sys/tests/constant.c index c0733a12b..3744b7019 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-net/sys/tests/layout.c b/gstreamer-net/sys/tests/layout.c index 8391eec35..2922eb333 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-pbutils/src/auto/discoverer.rs b/gstreamer-pbutils/src/auto/discoverer.rs index bdd59242d..f811e4f82 100644 --- a/gstreamer-pbutils/src/auto/discoverer.rs +++ b/gstreamer-pbutils/src/auto/discoverer.rs @@ -19,7 +19,7 @@ glib::wrapper! { pub struct Discoverer(Object); match fn { - get_type => || ffi::gst_discoverer_get_type(), + type_ => || ffi::gst_discoverer_get_type(), } } diff --git a/gstreamer-pbutils/src/auto/discoverer_audio_info.rs b/gstreamer-pbutils/src/auto/discoverer_audio_info.rs index d4de139b9..ce0f0e81b 100644 --- a/gstreamer-pbutils/src/auto/discoverer_audio_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_audio_info.rs @@ -10,7 +10,7 @@ glib::wrapper! { pub struct DiscovererAudioInfo(Object) @extends DiscovererStreamInfo; match fn { - get_type => || ffi::gst_discoverer_audio_info_get_type(), + type_ => || ffi::gst_discoverer_audio_info_get_type(), } } diff --git a/gstreamer-pbutils/src/auto/discoverer_container_info.rs b/gstreamer-pbutils/src/auto/discoverer_container_info.rs index dd92028cf..03ff1b10b 100644 --- a/gstreamer-pbutils/src/auto/discoverer_container_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_container_info.rs @@ -10,7 +10,7 @@ glib::wrapper! { pub struct DiscovererContainerInfo(Object) @extends DiscovererStreamInfo; match fn { - get_type => || ffi::gst_discoverer_container_info_get_type(), + type_ => || ffi::gst_discoverer_container_info_get_type(), } } diff --git a/gstreamer-pbutils/src/auto/discoverer_info.rs b/gstreamer-pbutils/src/auto/discoverer_info.rs index 9d58b367f..8b9c9343b 100644 --- a/gstreamer-pbutils/src/auto/discoverer_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_info.rs @@ -12,7 +12,7 @@ glib::wrapper! { pub struct DiscovererInfo(Object); match fn { - get_type => || ffi::gst_discoverer_info_get_type(), + type_ => || ffi::gst_discoverer_info_get_type(), } } diff --git a/gstreamer-pbutils/src/auto/discoverer_stream_info.rs b/gstreamer-pbutils/src/auto/discoverer_stream_info.rs index a66cfdb9b..fb39d4960 100644 --- a/gstreamer-pbutils/src/auto/discoverer_stream_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_stream_info.rs @@ -10,7 +10,7 @@ glib::wrapper! { pub struct DiscovererStreamInfo(Object); match fn { - get_type => || ffi::gst_discoverer_stream_info_get_type(), + type_ => || ffi::gst_discoverer_stream_info_get_type(), } } diff --git a/gstreamer-pbutils/src/auto/discoverer_subtitle_info.rs b/gstreamer-pbutils/src/auto/discoverer_subtitle_info.rs index dec3ca6dd..a80eb4a82 100644 --- a/gstreamer-pbutils/src/auto/discoverer_subtitle_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_subtitle_info.rs @@ -10,7 +10,7 @@ glib::wrapper! { pub struct DiscovererSubtitleInfo(Object) @extends DiscovererStreamInfo; match fn { - get_type => || ffi::gst_discoverer_subtitle_info_get_type(), + type_ => || ffi::gst_discoverer_subtitle_info_get_type(), } } diff --git a/gstreamer-pbutils/src/auto/discoverer_video_info.rs b/gstreamer-pbutils/src/auto/discoverer_video_info.rs index 5f83a9add..38afd4367 100644 --- a/gstreamer-pbutils/src/auto/discoverer_video_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_video_info.rs @@ -10,7 +10,7 @@ glib::wrapper! { pub struct DiscovererVideoInfo(Object) @extends DiscovererStreamInfo; match fn { - get_type => || ffi::gst_discoverer_video_info_get_type(), + type_ => || ffi::gst_discoverer_video_info_get_type(), } } diff --git a/gstreamer-pbutils/src/auto/encoding_audio_profile.rs b/gstreamer-pbutils/src/auto/encoding_audio_profile.rs index d5a48b1b9..9fe0bf46d 100644 --- a/gstreamer-pbutils/src/auto/encoding_audio_profile.rs +++ b/gstreamer-pbutils/src/auto/encoding_audio_profile.rs @@ -9,7 +9,7 @@ glib::wrapper! { pub struct EncodingAudioProfile(Object) @extends EncodingProfile; match fn { - get_type => || ffi::gst_encoding_audio_profile_get_type(), + type_ => || ffi::gst_encoding_audio_profile_get_type(), } } diff --git a/gstreamer-pbutils/src/auto/encoding_container_profile.rs b/gstreamer-pbutils/src/auto/encoding_container_profile.rs index a1f2bc673..89c34fe3e 100644 --- a/gstreamer-pbutils/src/auto/encoding_container_profile.rs +++ b/gstreamer-pbutils/src/auto/encoding_container_profile.rs @@ -11,7 +11,7 @@ glib::wrapper! { pub struct EncodingContainerProfile(Object) @extends EncodingProfile; match fn { - get_type => || ffi::gst_encoding_container_profile_get_type(), + type_ => || ffi::gst_encoding_container_profile_get_type(), } } diff --git a/gstreamer-pbutils/src/auto/encoding_profile.rs b/gstreamer-pbutils/src/auto/encoding_profile.rs index 5e3bab76a..47387389d 100644 --- a/gstreamer-pbutils/src/auto/encoding_profile.rs +++ b/gstreamer-pbutils/src/auto/encoding_profile.rs @@ -11,7 +11,7 @@ glib::wrapper! { pub struct EncodingProfile(Object); match fn { - get_type => || ffi::gst_encoding_profile_get_type(), + type_ => || ffi::gst_encoding_profile_get_type(), } } diff --git a/gstreamer-pbutils/src/auto/encoding_target.rs b/gstreamer-pbutils/src/auto/encoding_target.rs index 70eac3198..92b725318 100644 --- a/gstreamer-pbutils/src/auto/encoding_target.rs +++ b/gstreamer-pbutils/src/auto/encoding_target.rs @@ -12,7 +12,7 @@ glib::wrapper! { pub struct EncodingTarget(Object); match fn { - get_type => || ffi::gst_encoding_target_get_type(), + type_ => || ffi::gst_encoding_target_get_type(), } } diff --git a/gstreamer-pbutils/src/auto/encoding_video_profile.rs b/gstreamer-pbutils/src/auto/encoding_video_profile.rs index d99230145..e7b47c577 100644 --- a/gstreamer-pbutils/src/auto/encoding_video_profile.rs +++ b/gstreamer-pbutils/src/auto/encoding_video_profile.rs @@ -10,7 +10,7 @@ glib::wrapper! { pub struct EncodingVideoProfile(Object) @extends EncodingProfile; match fn { - get_type => || ffi::gst_encoding_video_profile_get_type(), + type_ => || ffi::gst_encoding_video_profile_get_type(), } } diff --git a/gstreamer-pbutils/src/auto/versions.txt b/gstreamer-pbutils/src/auto/versions.txt index 3895717b6..750fc5553 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 @ 3c6ebf4) +Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-pbutils/sys/build.rs b/gstreamer-pbutils/sys/build.rs index 961fb48a8..7ddc44ffd 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-pbutils/sys/src/lib.rs b/gstreamer-pbutils/sys/src/lib.rs index 890fec9a8..168f61680 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-pbutils/sys/tests/abi.rs b/gstreamer-pbutils/sys/tests/abi.rs index aa3c77b6f..0703f2ec4 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-pbutils/sys/tests/constant.c b/gstreamer-pbutils/sys/tests/constant.c index 3bf7c8452..216923a83 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-pbutils/sys/tests/layout.c b/gstreamer-pbutils/sys/tests/layout.c index 1b6b66715..3fae56a3d 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/player.rs b/gstreamer-player/src/auto/player.rs index 1eba3fe64..4ef07faf4 100644 --- a/gstreamer-player/src/auto/player.rs +++ b/gstreamer-player/src/auto/player.rs @@ -23,7 +23,7 @@ glib::wrapper! { pub struct Player(Object) @extends gst::Object; match fn { - get_type => || ffi::gst_player_get_type(), + type_ => || ffi::gst_player_get_type(), } } diff --git a/gstreamer-player/src/auto/player_audio_info.rs b/gstreamer-player/src/auto/player_audio_info.rs index f522df1d6..cc7b8aa52 100644 --- a/gstreamer-player/src/auto/player_audio_info.rs +++ b/gstreamer-player/src/auto/player_audio_info.rs @@ -10,7 +10,7 @@ glib::wrapper! { pub struct PlayerAudioInfo(Object) @extends PlayerStreamInfo; match fn { - get_type => || ffi::gst_player_audio_info_get_type(), + type_ => || ffi::gst_player_audio_info_get_type(), } } 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 a27599f88..9a81c2d16 100644 --- a/gstreamer-player/src/auto/player_gmain_context_signal_dispatcher.rs +++ b/gstreamer-player/src/auto/player_gmain_context_signal_dispatcher.rs @@ -12,7 +12,7 @@ glib::wrapper! { pub struct PlayerGMainContextSignalDispatcher(Object) @implements PlayerSignalDispatcher; match fn { - get_type => || ffi::gst_player_g_main_context_signal_dispatcher_get_type(), + type_ => || ffi::gst_player_g_main_context_signal_dispatcher_get_type(), } } diff --git a/gstreamer-player/src/auto/player_media_info.rs b/gstreamer-player/src/auto/player_media_info.rs index 88eefda0c..04c3bf2b1 100644 --- a/gstreamer-player/src/auto/player_media_info.rs +++ b/gstreamer-player/src/auto/player_media_info.rs @@ -13,7 +13,7 @@ glib::wrapper! { pub struct PlayerMediaInfo(Object); match fn { - get_type => || ffi::gst_player_media_info_get_type(), + type_ => || ffi::gst_player_media_info_get_type(), } } diff --git a/gstreamer-player/src/auto/player_signal_dispatcher.rs b/gstreamer-player/src/auto/player_signal_dispatcher.rs index 778111825..518ce7491 100644 --- a/gstreamer-player/src/auto/player_signal_dispatcher.rs +++ b/gstreamer-player/src/auto/player_signal_dispatcher.rs @@ -9,7 +9,7 @@ glib::wrapper! { pub struct PlayerSignalDispatcher(Interface); match fn { - get_type => || ffi::gst_player_signal_dispatcher_get_type(), + type_ => || ffi::gst_player_signal_dispatcher_get_type(), } } diff --git a/gstreamer-player/src/auto/player_stream_info.rs b/gstreamer-player/src/auto/player_stream_info.rs index c2edeb347..c014fc7bd 100644 --- a/gstreamer-player/src/auto/player_stream_info.rs +++ b/gstreamer-player/src/auto/player_stream_info.rs @@ -10,7 +10,7 @@ glib::wrapper! { pub struct PlayerStreamInfo(Object); match fn { - get_type => || ffi::gst_player_stream_info_get_type(), + type_ => || ffi::gst_player_stream_info_get_type(), } } diff --git a/gstreamer-player/src/auto/player_subtitle_info.rs b/gstreamer-player/src/auto/player_subtitle_info.rs index d6668fb1e..b52ca23e4 100644 --- a/gstreamer-player/src/auto/player_subtitle_info.rs +++ b/gstreamer-player/src/auto/player_subtitle_info.rs @@ -10,7 +10,7 @@ glib::wrapper! { pub struct PlayerSubtitleInfo(Object) @extends PlayerStreamInfo; match fn { - get_type => || ffi::gst_player_subtitle_info_get_type(), + type_ => || ffi::gst_player_subtitle_info_get_type(), } } diff --git a/gstreamer-player/src/auto/player_video_info.rs b/gstreamer-player/src/auto/player_video_info.rs index c350d987d..416c76fad 100644 --- a/gstreamer-player/src/auto/player_video_info.rs +++ b/gstreamer-player/src/auto/player_video_info.rs @@ -10,7 +10,7 @@ glib::wrapper! { pub struct PlayerVideoInfo(Object) @extends PlayerStreamInfo; match fn { - get_type => || ffi::gst_player_video_info_get_type(), + type_ => || ffi::gst_player_video_info_get_type(), } } 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 bc5c7caec..3fe6c5a53 100644 --- a/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs +++ b/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs @@ -18,7 +18,7 @@ glib::wrapper! { pub struct PlayerVideoOverlayVideoRenderer(Object) @implements PlayerVideoRenderer; match fn { - get_type => || ffi::gst_player_video_overlay_video_renderer_get_type(), + type_ => || ffi::gst_player_video_overlay_video_renderer_get_type(), } } diff --git a/gstreamer-player/src/auto/player_video_renderer.rs b/gstreamer-player/src/auto/player_video_renderer.rs index 336d8b21c..8d7149d39 100644 --- a/gstreamer-player/src/auto/player_video_renderer.rs +++ b/gstreamer-player/src/auto/player_video_renderer.rs @@ -9,7 +9,7 @@ glib::wrapper! { pub struct PlayerVideoRenderer(Interface); match fn { - get_type => || ffi::gst_player_video_renderer_get_type(), + type_ => || ffi::gst_player_video_renderer_get_type(), } } diff --git a/gstreamer-player/src/auto/player_visualization.rs b/gstreamer-player/src/auto/player_visualization.rs index 53d499ddf..36415885d 100644 --- a/gstreamer-player/src/auto/player_visualization.rs +++ b/gstreamer-player/src/auto/player_visualization.rs @@ -10,7 +10,7 @@ glib::wrapper! { match fn { copy => |ptr| ffi::gst_player_visualization_copy(ptr), free => |ptr| ffi::gst_player_visualization_free(ptr), - get_type => || ffi::gst_player_visualization_get_type(), + type_ => || ffi::gst_player_visualization_get_type(), } } diff --git a/gstreamer-player/src/auto/versions.txt b/gstreamer-player/src/auto/versions.txt index 3895717b6..750fc5553 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 @ 3c6ebf4) +Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-player/sys/build.rs b/gstreamer-player/sys/build.rs index 961fb48a8..7ddc44ffd 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-player/sys/src/lib.rs b/gstreamer-player/sys/src/lib.rs index da36b58e1..24bc475c4 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-player/sys/tests/abi.rs b/gstreamer-player/sys/tests/abi.rs index 0ecb43faf..1764986aa 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-player/sys/tests/constant.c b/gstreamer-player/sys/tests/constant.c index d072de92d..9dfc10b09 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-player/sys/tests/layout.c b/gstreamer-player/sys/tests/layout.c index b98e11abb..5d501febf 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtp/src/auto/versions.txt b/gstreamer-rtp/src/auto/versions.txt index 3895717b6..750fc5553 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 @ 3c6ebf4) +Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-rtp/sys/build.rs b/gstreamer-rtp/sys/build.rs index 961fb48a8..7ddc44ffd 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtp/sys/src/lib.rs b/gstreamer-rtp/sys/src/lib.rs index 667f8425a..2628636d5 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtp/sys/tests/abi.rs b/gstreamer-rtp/sys/tests/abi.rs index 5fa237790..25e80b8ff 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtp/sys/tests/constant.c b/gstreamer-rtp/sys/tests/constant.c index 13c246d47..fe8d4880e 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtp/sys/tests/layout.c b/gstreamer-rtp/sys/tests/layout.c index cbdc3e78a..959f3c847 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/rtsp_address.rs b/gstreamer-rtsp-server/src/auto/rtsp_address.rs index c3ce6e1dc..32b76a684 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_address.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_address.rs @@ -12,7 +12,7 @@ glib::wrapper! { match fn { copy => |ptr| ffi::gst_rtsp_address_copy(mut_override(ptr)), free => |ptr| ffi::gst_rtsp_address_free(ptr), - get_type => || ffi::gst_rtsp_address_get_type(), + type_ => || ffi::gst_rtsp_address_get_type(), } } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_address_pool.rs b/gstreamer-rtsp-server/src/auto/rtsp_address_pool.rs index 482573793..7f18a6ca9 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_address_pool.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_address_pool.rs @@ -12,7 +12,7 @@ glib::wrapper! { pub struct RTSPAddressPool(Object); match fn { - get_type => || ffi::gst_rtsp_address_pool_get_type(), + type_ => || ffi::gst_rtsp_address_pool_get_type(), } } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_auth.rs b/gstreamer-rtsp-server/src/auto/rtsp_auth.rs index 194b6f9ea..aca13ea52 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_auth.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_auth.rs @@ -16,7 +16,7 @@ glib::wrapper! { pub struct RTSPAuth(Object); match fn { - get_type => || ffi::gst_rtsp_auth_get_type(), + type_ => || ffi::gst_rtsp_auth_get_type(), } } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_client.rs b/gstreamer-rtsp-server/src/auto/rtsp_client.rs index 0a3bb5aae..fe460e685 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_client.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_client.rs @@ -26,7 +26,7 @@ glib::wrapper! { pub struct RTSPClient(Object); match fn { - get_type => || ffi::gst_rtsp_client_get_type(), + type_ => || ffi::gst_rtsp_client_get_type(), } } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_media.rs b/gstreamer-rtsp-server/src/auto/rtsp_media.rs index b9714e562..bf88e153a 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_media.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_media.rs @@ -27,7 +27,7 @@ glib::wrapper! { pub struct RTSPMedia(Object); match fn { - get_type => || ffi::gst_rtsp_media_get_type(), + type_ => || ffi::gst_rtsp_media_get_type(), } } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_media_factory.rs b/gstreamer-rtsp-server/src/auto/rtsp_media_factory.rs index 852e1c42e..0d88eb11c 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_media_factory.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_media_factory.rs @@ -21,7 +21,7 @@ glib::wrapper! { pub struct RTSPMediaFactory(Object); match fn { - get_type => || ffi::gst_rtsp_media_factory_get_type(), + type_ => || ffi::gst_rtsp_media_factory_get_type(), } } 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 a1648f61d..38da585dd 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_media_factory_uri.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_media_factory_uri.rs @@ -17,7 +17,7 @@ glib::wrapper! { pub struct RTSPMediaFactoryURI(Object) @extends RTSPMediaFactory; match fn { - get_type => || ffi::gst_rtsp_media_factory_uri_get_type(), + type_ => || ffi::gst_rtsp_media_factory_uri_get_type(), } } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_mount_points.rs b/gstreamer-rtsp-server/src/auto/rtsp_mount_points.rs index ab09ef625..4ddc5b9b2 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_mount_points.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_mount_points.rs @@ -12,7 +12,7 @@ glib::wrapper! { pub struct RTSPMountPoints(Object); match fn { - get_type => || ffi::gst_rtsp_mount_points_get_type(), + type_ => || ffi::gst_rtsp_mount_points_get_type(), } } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_server.rs b/gstreamer-rtsp-server/src/auto/rtsp_server.rs index 8e859ae40..f0c7f766f 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_server.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_server.rs @@ -23,7 +23,7 @@ glib::wrapper! { pub struct RTSPServer(Object); match fn { - get_type => || ffi::gst_rtsp_server_get_type(), + type_ => || ffi::gst_rtsp_server_get_type(), } } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_session.rs b/gstreamer-rtsp-server/src/auto/rtsp_session.rs index 3ddfd8bc7..bf580a9cb 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_session.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_session.rs @@ -20,7 +20,7 @@ glib::wrapper! { pub struct RTSPSession(Object); match fn { - get_type => || ffi::gst_rtsp_session_get_type(), + type_ => || ffi::gst_rtsp_session_get_type(), } } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_session_media.rs b/gstreamer-rtsp-server/src/auto/rtsp_session_media.rs index 79c159db2..29b4e5819 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_session_media.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_session_media.rs @@ -13,7 +13,7 @@ glib::wrapper! { pub struct RTSPSessionMedia(Object); match fn { - get_type => || ffi::gst_rtsp_session_media_get_type(), + type_ => || ffi::gst_rtsp_session_media_get_type(), } } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs b/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs index 11690ba9b..a70615935 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs @@ -17,7 +17,7 @@ glib::wrapper! { pub struct RTSPSessionPool(Object); match fn { - get_type => || ffi::gst_rtsp_session_pool_get_type(), + type_ => || ffi::gst_rtsp_session_pool_get_type(), } } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_stream.rs b/gstreamer-rtsp-server/src/auto/rtsp_stream.rs index 8242142f5..d240dcd29 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_stream.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_stream.rs @@ -21,7 +21,7 @@ glib::wrapper! { pub struct RTSPStream(Object); match fn { - get_type => || ffi::gst_rtsp_stream_get_type(), + type_ => || ffi::gst_rtsp_stream_get_type(), } } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs b/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs index cfcb14d37..6cf1e07de 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs @@ -12,7 +12,7 @@ glib::wrapper! { pub struct RTSPStreamTransport(Object); match fn { - get_type => || ffi::gst_rtsp_stream_transport_get_type(), + type_ => || ffi::gst_rtsp_stream_transport_get_type(), } } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_thread_pool.rs b/gstreamer-rtsp-server/src/auto/rtsp_thread_pool.rs index d14bc24f5..831e9a31f 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_thread_pool.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_thread_pool.rs @@ -18,7 +18,7 @@ glib::wrapper! { pub struct RTSPThreadPool(Object); match fn { - get_type => || ffi::gst_rtsp_thread_pool_get_type(), + type_ => || ffi::gst_rtsp_thread_pool_get_type(), } } diff --git a/gstreamer-rtsp-server/src/auto/versions.txt b/gstreamer-rtsp-server/src/auto/versions.txt index 3895717b6..750fc5553 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 @ 3c6ebf4) +Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-rtsp-server/sys/build.rs b/gstreamer-rtsp-server/sys/build.rs index 961fb48a8..7ddc44ffd 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/sys/src/lib.rs b/gstreamer-rtsp-server/sys/src/lib.rs index f85cb120f..2ed8899fe 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/sys/tests/abi.rs b/gstreamer-rtsp-server/sys/tests/abi.rs index 9923932bb..da20a2bbf 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/sys/tests/constant.c b/gstreamer-rtsp-server/sys/tests/constant.c index c7de4ed65..016ac5411 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/sys/tests/layout.c b/gstreamer-rtsp-server/sys/tests/layout.c index db65e44d7..bf4004e1b 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp/src/auto/rtsp_auth_param.rs b/gstreamer-rtsp/src/auto/rtsp_auth_param.rs index 604358905..792b4ebb8 100644 --- a/gstreamer-rtsp/src/auto/rtsp_auth_param.rs +++ b/gstreamer-rtsp/src/auto/rtsp_auth_param.rs @@ -12,7 +12,7 @@ glib::wrapper! { match fn { copy => |ptr| ffi::gst_rtsp_auth_param_copy(mut_override(ptr)), free => |ptr| ffi::gst_rtsp_auth_param_free(ptr), - get_type => || ffi::gst_rtsp_auth_param_get_type(), + type_ => || ffi::gst_rtsp_auth_param_get_type(), } } diff --git a/gstreamer-rtsp/src/auto/rtsp_url.rs b/gstreamer-rtsp/src/auto/rtsp_url.rs index 4e5b67171..fae95f04e 100644 --- a/gstreamer-rtsp/src/auto/rtsp_url.rs +++ b/gstreamer-rtsp/src/auto/rtsp_url.rs @@ -14,7 +14,7 @@ glib::wrapper! { match fn { copy => |ptr| ffi::gst_rtsp_url_copy(ptr), free => |ptr| ffi::gst_rtsp_url_free(ptr), - get_type => || ffi::gst_rtsp_url_get_type(), + type_ => || ffi::gst_rtsp_url_get_type(), } } diff --git a/gstreamer-rtsp/src/auto/versions.txt b/gstreamer-rtsp/src/auto/versions.txt index 3895717b6..750fc5553 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 @ 3c6ebf4) +Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-rtsp/sys/build.rs b/gstreamer-rtsp/sys/build.rs index 961fb48a8..7ddc44ffd 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp/sys/src/lib.rs b/gstreamer-rtsp/sys/src/lib.rs index 0d006b706..7c41385c5 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp/sys/tests/abi.rs b/gstreamer-rtsp/sys/tests/abi.rs index c30bb5293..0f1eedfff 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp/sys/tests/constant.c b/gstreamer-rtsp/sys/tests/constant.c index c36d4e725..bf018533b 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp/sys/tests/layout.c b/gstreamer-rtsp/sys/tests/layout.c index 92f7a9dae..a3455e202 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-sdp/src/auto/versions.txt b/gstreamer-sdp/src/auto/versions.txt index 3895717b6..750fc5553 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 @ 3c6ebf4) +Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-sdp/sys/build.rs b/gstreamer-sdp/sys/build.rs index 961fb48a8..7ddc44ffd 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-sdp/sys/src/lib.rs b/gstreamer-sdp/sys/src/lib.rs index d71bffbf9..a5aacd739 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-sdp/sys/tests/abi.rs b/gstreamer-sdp/sys/tests/abi.rs index 78f7945e1..7cfb62053 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-sdp/sys/tests/constant.c b/gstreamer-sdp/sys/tests/constant.c index 7efcfe8ef..7c43629ac 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-sdp/sys/tests/layout.c b/gstreamer-sdp/sys/tests/layout.c index 06e89d7e7..9ece39181 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-tag/sys/build.rs b/gstreamer-tag/sys/build.rs index 961fb48a8..7ddc44ffd 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-tag/sys/src/lib.rs b/gstreamer-tag/sys/src/lib.rs index c0657f171..96e89fc60 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-tag/sys/tests/abi.rs b/gstreamer-tag/sys/tests/abi.rs index fb5623afa..9837583b6 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-tag/sys/tests/constant.c b/gstreamer-tag/sys/tests/constant.c index 5392cedc3..d5de01820 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-tag/sys/tests/layout.c b/gstreamer-tag/sys/tests/layout.c index d27b15ef9..c7ca748ab 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-video/src/auto/versions.txt b/gstreamer-video/src/auto/versions.txt index 3895717b6..750fc5553 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 @ 3c6ebf4) +Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-video/src/auto/video_buffer_pool.rs b/gstreamer-video/src/auto/video_buffer_pool.rs index 5f152776b..6f21198ca 100644 --- a/gstreamer-video/src/auto/video_buffer_pool.rs +++ b/gstreamer-video/src/auto/video_buffer_pool.rs @@ -10,7 +10,7 @@ glib::wrapper! { pub struct VideoBufferPool(Object) @extends gst::BufferPool, gst::Object; match fn { - get_type => || ffi::gst_video_buffer_pool_get_type(), + type_ => || ffi::gst_video_buffer_pool_get_type(), } } diff --git a/gstreamer-video/src/auto/video_decoder.rs b/gstreamer-video/src/auto/video_decoder.rs index 3669cfa18..4416ee50a 100644 --- a/gstreamer-video/src/auto/video_decoder.rs +++ b/gstreamer-video/src/auto/video_decoder.rs @@ -29,7 +29,7 @@ glib::wrapper! { pub struct VideoDecoder(Object) @extends gst::Element, gst::Object; match fn { - get_type => || ffi::gst_video_decoder_get_type(), + type_ => || ffi::gst_video_decoder_get_type(), } } @@ -58,7 +58,7 @@ pub trait VideoDecoderExt: 'static { fn max_errors(&self) -> i32; #[doc(alias = "gst_video_decoder_get_needs_format")] - fn is_needs_format(&self) -> bool; + fn needs_format(&self) -> bool; #[doc(alias = "gst_video_decoder_get_packetized")] fn is_packetized(&self) -> bool; @@ -156,7 +156,7 @@ impl> VideoDecoderExt for O { unsafe { ffi::gst_video_decoder_get_max_errors(self.as_ref().to_glib_none().0) } } - fn is_needs_format(&self) -> bool { + fn needs_format(&self) -> bool { unsafe { from_glib(ffi::gst_video_decoder_get_needs_format( self.as_ref().to_glib_none().0, diff --git a/gstreamer-video/src/auto/video_encoder.rs b/gstreamer-video/src/auto/video_encoder.rs index 7cff2ffb0..198777d01 100644 --- a/gstreamer-video/src/auto/video_encoder.rs +++ b/gstreamer-video/src/auto/video_encoder.rs @@ -19,7 +19,7 @@ glib::wrapper! { pub struct VideoEncoder(Object) @extends gst::Element, gst::Object; match fn { - get_type => || ffi::gst_video_encoder_get_type(), + type_ => || ffi::gst_video_encoder_get_type(), } } diff --git a/gstreamer-video/src/auto/video_filter.rs b/gstreamer-video/src/auto/video_filter.rs index db22e1d88..df9124d4f 100644 --- a/gstreamer-video/src/auto/video_filter.rs +++ b/gstreamer-video/src/auto/video_filter.rs @@ -7,7 +7,7 @@ glib::wrapper! { pub struct VideoFilter(Object) @extends gst_base::BaseTransform, gst::Element, gst::Object; match fn { - get_type => || ffi::gst_video_filter_get_type(), + type_ => || ffi::gst_video_filter_get_type(), } } diff --git a/gstreamer-video/src/auto/video_orientation.rs b/gstreamer-video/src/auto/video_orientation.rs index 96e5aaefc..af1e2d082 100644 --- a/gstreamer-video/src/auto/video_orientation.rs +++ b/gstreamer-video/src/auto/video_orientation.rs @@ -11,7 +11,7 @@ glib::wrapper! { pub struct VideoOrientation(Interface); match fn { - get_type => || ffi::gst_video_orientation_get_type(), + type_ => || ffi::gst_video_orientation_get_type(), } } diff --git a/gstreamer-video/src/auto/video_overlay.rs b/gstreamer-video/src/auto/video_overlay.rs index 6e3881087..390d81780 100644 --- a/gstreamer-video/src/auto/video_overlay.rs +++ b/gstreamer-video/src/auto/video_overlay.rs @@ -10,7 +10,7 @@ glib::wrapper! { pub struct VideoOverlay(Interface); match fn { - get_type => || ffi::gst_video_overlay_get_type(), + type_ => || ffi::gst_video_overlay_get_type(), } } diff --git a/gstreamer-video/src/auto/video_sink.rs b/gstreamer-video/src/auto/video_sink.rs index 22e70af38..ab5e2d2d7 100644 --- a/gstreamer-video/src/auto/video_sink.rs +++ b/gstreamer-video/src/auto/video_sink.rs @@ -16,7 +16,7 @@ glib::wrapper! { pub struct VideoSink(Object) @extends gst_base::BaseSink, gst::Element, gst::Object; match fn { - get_type => || ffi::gst_video_sink_get_type(), + type_ => || ffi::gst_video_sink_get_type(), } } diff --git a/gstreamer-video/sys/build.rs b/gstreamer-video/sys/build.rs index 961fb48a8..7ddc44ffd 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-video/sys/src/lib.rs b/gstreamer-video/sys/src/lib.rs index 1947bd5b0..81e3e46da 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-video/sys/tests/abi.rs b/gstreamer-video/sys/tests/abi.rs index 84c203245..b32648d04 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-video/sys/tests/constant.c b/gstreamer-video/sys/tests/constant.c index 5dc696a49..d6dc891e9 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-video/sys/tests/layout.c b/gstreamer-video/sys/tests/layout.c index f4f16260e..3abab5622 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-webrtc/src/auto/versions.txt b/gstreamer-webrtc/src/auto/versions.txt index 3895717b6..750fc5553 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 @ 3c6ebf4) +Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-webrtc/src/auto/web_rtc_data_channel.rs b/gstreamer-webrtc/src/auto/web_rtc_data_channel.rs index 9b2d59487..ba875322f 100644 --- a/gstreamer-webrtc/src/auto/web_rtc_data_channel.rs +++ b/gstreamer-webrtc/src/auto/web_rtc_data_channel.rs @@ -18,7 +18,7 @@ glib::wrapper! { pub struct WebRTCDataChannel(Object); match fn { - get_type => || ffi::gst_webrtc_data_channel_get_type(), + type_ => || ffi::gst_webrtc_data_channel_get_type(), } } diff --git a/gstreamer-webrtc/src/auto/web_rtc_session_description.rs b/gstreamer-webrtc/src/auto/web_rtc_session_description.rs index d83e3947c..4bd18ed7a 100644 --- a/gstreamer-webrtc/src/auto/web_rtc_session_description.rs +++ b/gstreamer-webrtc/src/auto/web_rtc_session_description.rs @@ -10,7 +10,7 @@ glib::wrapper! { match fn { copy => |ptr| ffi::gst_webrtc_session_description_copy(ptr), free => |ptr| ffi::gst_webrtc_session_description_free(ptr), - get_type => || ffi::gst_webrtc_session_description_get_type(), + type_ => || ffi::gst_webrtc_session_description_get_type(), } } diff --git a/gstreamer-webrtc/src/auto/web_rtcdtls_transport.rs b/gstreamer-webrtc/src/auto/web_rtcdtls_transport.rs index 109e513d2..23949eaf3 100644 --- a/gstreamer-webrtc/src/auto/web_rtcdtls_transport.rs +++ b/gstreamer-webrtc/src/auto/web_rtcdtls_transport.rs @@ -17,7 +17,7 @@ glib::wrapper! { pub struct WebRTCDTLSTransport(Object); match fn { - get_type => || ffi::gst_webrtc_dtls_transport_get_type(), + type_ => || ffi::gst_webrtc_dtls_transport_get_type(), } } diff --git a/gstreamer-webrtc/src/auto/web_rtcice_transport.rs b/gstreamer-webrtc/src/auto/web_rtcice_transport.rs index 9019d4752..d07b495fb 100644 --- a/gstreamer-webrtc/src/auto/web_rtcice_transport.rs +++ b/gstreamer-webrtc/src/auto/web_rtcice_transport.rs @@ -18,7 +18,7 @@ glib::wrapper! { pub struct WebRTCICETransport(Object); match fn { - get_type => || ffi::gst_webrtc_ice_transport_get_type(), + type_ => || ffi::gst_webrtc_ice_transport_get_type(), } } diff --git a/gstreamer-webrtc/src/auto/web_rtcrtp_receiver.rs b/gstreamer-webrtc/src/auto/web_rtcrtp_receiver.rs index ed86ef0bd..0680606b6 100644 --- a/gstreamer-webrtc/src/auto/web_rtcrtp_receiver.rs +++ b/gstreamer-webrtc/src/auto/web_rtcrtp_receiver.rs @@ -10,7 +10,7 @@ glib::wrapper! { pub struct WebRTCRTPReceiver(Object); match fn { - get_type => || ffi::gst_webrtc_rtp_receiver_get_type(), + type_ => || ffi::gst_webrtc_rtp_receiver_get_type(), } } diff --git a/gstreamer-webrtc/src/auto/web_rtcrtp_sender.rs b/gstreamer-webrtc/src/auto/web_rtcrtp_sender.rs index c76d2d9dc..4ebf22019 100644 --- a/gstreamer-webrtc/src/auto/web_rtcrtp_sender.rs +++ b/gstreamer-webrtc/src/auto/web_rtcrtp_sender.rs @@ -10,7 +10,7 @@ glib::wrapper! { pub struct WebRTCRTPSender(Object); match fn { - get_type => || ffi::gst_webrtc_rtp_sender_get_type(), + type_ => || ffi::gst_webrtc_rtp_sender_get_type(), } } diff --git a/gstreamer-webrtc/src/auto/web_rtcrtp_transceiver.rs b/gstreamer-webrtc/src/auto/web_rtcrtp_transceiver.rs index c67b8fc4b..864e101b6 100644 --- a/gstreamer-webrtc/src/auto/web_rtcrtp_transceiver.rs +++ b/gstreamer-webrtc/src/auto/web_rtcrtp_transceiver.rs @@ -28,7 +28,7 @@ glib::wrapper! { pub struct WebRTCRTPTransceiver(Object); match fn { - get_type => || ffi::gst_webrtc_rtp_transceiver_get_type(), + type_ => || ffi::gst_webrtc_rtp_transceiver_get_type(), } } diff --git a/gstreamer-webrtc/sys/build.rs b/gstreamer-webrtc/sys/build.rs index 961fb48a8..7ddc44ffd 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-webrtc/sys/src/lib.rs b/gstreamer-webrtc/sys/src/lib.rs index 3d07a944e..284e0353f 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-webrtc/sys/tests/abi.rs b/gstreamer-webrtc/sys/tests/abi.rs index d84020c96..aab9b53ae 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-webrtc/sys/tests/constant.c b/gstreamer-webrtc/sys/tests/constant.c index 6cc1b8429..976a26220 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-webrtc/sys/tests/layout.c b/gstreamer-webrtc/sys/tests/layout.c index 1b9d23f85..109b197e0 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer/src/auto/allocator.rs b/gstreamer/src/auto/allocator.rs index 009c58276..a51913bee 100644 --- a/gstreamer/src/auto/allocator.rs +++ b/gstreamer/src/auto/allocator.rs @@ -13,7 +13,7 @@ glib::wrapper! { pub struct Allocator(Object) @extends Object; match fn { - get_type => || ffi::gst_allocator_get_type(), + type_ => || ffi::gst_allocator_get_type(), } } diff --git a/gstreamer/src/auto/bin.rs b/gstreamer/src/auto/bin.rs index 798f68b7f..053db0a06 100644 --- a/gstreamer/src/auto/bin.rs +++ b/gstreamer/src/auto/bin.rs @@ -24,7 +24,7 @@ glib::wrapper! { pub struct Bin(Object) @extends Element, Object, @implements ChildProxy; match fn { - get_type => || ffi::gst_bin_get_type(), + type_ => || ffi::gst_bin_get_type(), } } diff --git a/gstreamer/src/auto/buffer_pool.rs b/gstreamer/src/auto/buffer_pool.rs index b7c8ef03a..ec158cb2a 100644 --- a/gstreamer/src/auto/buffer_pool.rs +++ b/gstreamer/src/auto/buffer_pool.rs @@ -11,7 +11,7 @@ glib::wrapper! { pub struct BufferPool(Object) @extends Object; match fn { - get_type => || ffi::gst_buffer_pool_get_type(), + type_ => || ffi::gst_buffer_pool_get_type(), } } diff --git a/gstreamer/src/auto/bus.rs b/gstreamer/src/auto/bus.rs index 7590b544f..243c8f220 100644 --- a/gstreamer/src/auto/bus.rs +++ b/gstreamer/src/auto/bus.rs @@ -17,7 +17,7 @@ glib::wrapper! { pub struct Bus(Object) @extends Object; match fn { - get_type => || ffi::gst_bus_get_type(), + type_ => || ffi::gst_bus_get_type(), } } diff --git a/gstreamer/src/auto/child_proxy.rs b/gstreamer/src/auto/child_proxy.rs index c2624407a..77514d372 100644 --- a/gstreamer/src/auto/child_proxy.rs +++ b/gstreamer/src/auto/child_proxy.rs @@ -15,7 +15,7 @@ glib::wrapper! { pub struct ChildProxy(Interface); match fn { - get_type => || ffi::gst_child_proxy_get_type(), + type_ => || ffi::gst_child_proxy_get_type(), } } diff --git a/gstreamer/src/auto/clock.rs b/gstreamer/src/auto/clock.rs index c3675a7b9..900c9ead2 100644 --- a/gstreamer/src/auto/clock.rs +++ b/gstreamer/src/auto/clock.rs @@ -19,7 +19,7 @@ glib::wrapper! { pub struct Clock(Object) @extends Object; match fn { - get_type => || ffi::gst_clock_get_type(), + type_ => || ffi::gst_clock_get_type(), } } diff --git a/gstreamer/src/auto/control_binding.rs b/gstreamer/src/auto/control_binding.rs index d18955017..46632975e 100644 --- a/gstreamer/src/auto/control_binding.rs +++ b/gstreamer/src/auto/control_binding.rs @@ -13,7 +13,7 @@ glib::wrapper! { pub struct ControlBinding(Object) @extends Object; match fn { - get_type => || ffi::gst_control_binding_get_type(), + type_ => || ffi::gst_control_binding_get_type(), } } diff --git a/gstreamer/src/auto/control_source.rs b/gstreamer/src/auto/control_source.rs index b7a7ec99c..c0a42a20f 100644 --- a/gstreamer/src/auto/control_source.rs +++ b/gstreamer/src/auto/control_source.rs @@ -13,7 +13,7 @@ glib::wrapper! { pub struct ControlSource(Object) @extends Object; match fn { - get_type => || ffi::gst_control_source_get_type(), + type_ => || ffi::gst_control_source_get_type(), } } diff --git a/gstreamer/src/auto/date_time.rs b/gstreamer/src/auto/date_time.rs index 8d5695e6a..84c4ea51e 100644 --- a/gstreamer/src/auto/date_time.rs +++ b/gstreamer/src/auto/date_time.rs @@ -12,7 +12,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gst_date_time_ref(ptr), unref => |ptr| ffi::gst_date_time_unref(ptr), - get_type => || ffi::gst_date_time_get_type(), + type_ => || ffi::gst_date_time_get_type(), } } diff --git a/gstreamer/src/auto/device.rs b/gstreamer/src/auto/device.rs index 9ac36da97..3677f4b9d 100644 --- a/gstreamer/src/auto/device.rs +++ b/gstreamer/src/auto/device.rs @@ -19,7 +19,7 @@ glib::wrapper! { pub struct Device(Object) @extends Object; match fn { - get_type => || ffi::gst_device_get_type(), + type_ => || ffi::gst_device_get_type(), } } diff --git a/gstreamer/src/auto/device_monitor.rs b/gstreamer/src/auto/device_monitor.rs index 00f025859..d05889e24 100644 --- a/gstreamer/src/auto/device_monitor.rs +++ b/gstreamer/src/auto/device_monitor.rs @@ -19,7 +19,7 @@ glib::wrapper! { pub struct DeviceMonitor(Object) @extends Object; match fn { - get_type => || ffi::gst_device_monitor_get_type(), + type_ => || ffi::gst_device_monitor_get_type(), } } diff --git a/gstreamer/src/auto/device_provider.rs b/gstreamer/src/auto/device_provider.rs index 21699ec79..31d145194 100644 --- a/gstreamer/src/auto/device_provider.rs +++ b/gstreamer/src/auto/device_provider.rs @@ -19,7 +19,7 @@ glib::wrapper! { pub struct DeviceProvider(Object) @extends Object; match fn { - get_type => || ffi::gst_device_provider_get_type(), + type_ => || ffi::gst_device_provider_get_type(), } } diff --git a/gstreamer/src/auto/device_provider_factory.rs b/gstreamer/src/auto/device_provider_factory.rs index a9baa3b59..549a48e84 100644 --- a/gstreamer/src/auto/device_provider_factory.rs +++ b/gstreamer/src/auto/device_provider_factory.rs @@ -13,7 +13,7 @@ glib::wrapper! { pub struct DeviceProviderFactory(Object) @extends PluginFeature, Object; match fn { - get_type => || ffi::gst_device_provider_factory_get_type(), + type_ => || ffi::gst_device_provider_factory_get_type(), } } diff --git a/gstreamer/src/auto/element.rs b/gstreamer/src/auto/element.rs index c800a0e7d..47e5b905c 100644 --- a/gstreamer/src/auto/element.rs +++ b/gstreamer/src/auto/element.rs @@ -27,7 +27,7 @@ glib::wrapper! { pub struct Element(Object) @extends Object; match fn { - get_type => || ffi::gst_element_get_type(), + type_ => || ffi::gst_element_get_type(), } } diff --git a/gstreamer/src/auto/element_factory.rs b/gstreamer/src/auto/element_factory.rs index ee70d365c..274f5f0ec 100644 --- a/gstreamer/src/auto/element_factory.rs +++ b/gstreamer/src/auto/element_factory.rs @@ -18,7 +18,7 @@ glib::wrapper! { pub struct ElementFactory(Object) @extends PluginFeature, Object; match fn { - get_type => || ffi::gst_element_factory_get_type(), + type_ => || ffi::gst_element_factory_get_type(), } } diff --git a/gstreamer/src/auto/ghost_pad.rs b/gstreamer/src/auto/ghost_pad.rs index d2d9778bd..bb562b9b0 100644 --- a/gstreamer/src/auto/ghost_pad.rs +++ b/gstreamer/src/auto/ghost_pad.rs @@ -13,7 +13,7 @@ glib::wrapper! { pub struct GhostPad(Object) @extends ProxyPad, Pad, Object; match fn { - get_type => || ffi::gst_ghost_pad_get_type(), + type_ => || ffi::gst_ghost_pad_get_type(), } } diff --git a/gstreamer/src/auto/object.rs b/gstreamer/src/auto/object.rs index 37b128cdf..1550fbdff 100644 --- a/gstreamer/src/auto/object.rs +++ b/gstreamer/src/auto/object.rs @@ -18,7 +18,7 @@ glib::wrapper! { pub struct Object(Object); match fn { - get_type => || ffi::gst_object_get_type(), + type_ => || ffi::gst_object_get_type(), } } diff --git a/gstreamer/src/auto/pad.rs b/gstreamer/src/auto/pad.rs index 87201f152..6564e14ec 100644 --- a/gstreamer/src/auto/pad.rs +++ b/gstreamer/src/auto/pad.rs @@ -33,7 +33,7 @@ glib::wrapper! { pub struct Pad(Object) @extends Object; match fn { - get_type => || ffi::gst_pad_get_type(), + type_ => || ffi::gst_pad_get_type(), } } diff --git a/gstreamer/src/auto/pad_template.rs b/gstreamer/src/auto/pad_template.rs index 22154e732..c58962cc7 100644 --- a/gstreamer/src/auto/pad_template.rs +++ b/gstreamer/src/auto/pad_template.rs @@ -21,7 +21,7 @@ glib::wrapper! { pub struct PadTemplate(Object) @extends Object; match fn { - get_type => || ffi::gst_pad_template_get_type(), + type_ => || ffi::gst_pad_template_get_type(), } } diff --git a/gstreamer/src/auto/pipeline.rs b/gstreamer/src/auto/pipeline.rs index b045304db..ac56b8ac9 100644 --- a/gstreamer/src/auto/pipeline.rs +++ b/gstreamer/src/auto/pipeline.rs @@ -21,7 +21,7 @@ glib::wrapper! { pub struct Pipeline(Object) @extends Bin, Element, Object, @implements ChildProxy; match fn { - get_type => || ffi::gst_pipeline_get_type(), + type_ => || ffi::gst_pipeline_get_type(), } } diff --git a/gstreamer/src/auto/plugin.rs b/gstreamer/src/auto/plugin.rs index 29b6c3409..797fd0040 100644 --- a/gstreamer/src/auto/plugin.rs +++ b/gstreamer/src/auto/plugin.rs @@ -12,7 +12,7 @@ glib::wrapper! { pub struct Plugin(Object) @extends Object; match fn { - get_type => || ffi::gst_plugin_get_type(), + type_ => || ffi::gst_plugin_get_type(), } } diff --git a/gstreamer/src/auto/plugin_feature.rs b/gstreamer/src/auto/plugin_feature.rs index 8cf3e88e1..9a6adcecb 100644 --- a/gstreamer/src/auto/plugin_feature.rs +++ b/gstreamer/src/auto/plugin_feature.rs @@ -12,7 +12,7 @@ glib::wrapper! { pub struct PluginFeature(Object) @extends Object; match fn { - get_type => || ffi::gst_plugin_feature_get_type(), + type_ => || ffi::gst_plugin_feature_get_type(), } } diff --git a/gstreamer/src/auto/preset.rs b/gstreamer/src/auto/preset.rs index 8cdd6733c..0632128c4 100644 --- a/gstreamer/src/auto/preset.rs +++ b/gstreamer/src/auto/preset.rs @@ -11,7 +11,7 @@ glib::wrapper! { pub struct Preset(Interface); match fn { - get_type => || ffi::gst_preset_get_type(), + type_ => || ffi::gst_preset_get_type(), } } diff --git a/gstreamer/src/auto/proxy_pad.rs b/gstreamer/src/auto/proxy_pad.rs index c34fe1bac..1a7211d48 100644 --- a/gstreamer/src/auto/proxy_pad.rs +++ b/gstreamer/src/auto/proxy_pad.rs @@ -12,7 +12,7 @@ glib::wrapper! { pub struct ProxyPad(Object) @extends Pad, Object; match fn { - get_type => || ffi::gst_proxy_pad_get_type(), + type_ => || ffi::gst_proxy_pad_get_type(), } } diff --git a/gstreamer/src/auto/registry.rs b/gstreamer/src/auto/registry.rs index 5d991e98a..e29e57f70 100644 --- a/gstreamer/src/auto/registry.rs +++ b/gstreamer/src/auto/registry.rs @@ -18,7 +18,7 @@ glib::wrapper! { pub struct Registry(Object) @extends Object; match fn { - get_type => || ffi::gst_registry_get_type(), + type_ => || ffi::gst_registry_get_type(), } } diff --git a/gstreamer/src/auto/stream.rs b/gstreamer/src/auto/stream.rs index 327bd3263..bfcb5d9b3 100644 --- a/gstreamer/src/auto/stream.rs +++ b/gstreamer/src/auto/stream.rs @@ -19,7 +19,7 @@ glib::wrapper! { pub struct Stream(Object) @extends Object; match fn { - get_type => || ffi::gst_stream_get_type(), + type_ => || ffi::gst_stream_get_type(), } } diff --git a/gstreamer/src/auto/stream_collection.rs b/gstreamer/src/auto/stream_collection.rs index 02d0260fd..2f710ec49 100644 --- a/gstreamer/src/auto/stream_collection.rs +++ b/gstreamer/src/auto/stream_collection.rs @@ -11,7 +11,7 @@ glib::wrapper! { pub struct StreamCollection(Object) @extends Object; match fn { - get_type => || ffi::gst_stream_collection_get_type(), + type_ => || ffi::gst_stream_collection_get_type(), } } diff --git a/gstreamer/src/auto/system_clock.rs b/gstreamer/src/auto/system_clock.rs index 1b115721d..322feee51 100644 --- a/gstreamer/src/auto/system_clock.rs +++ b/gstreamer/src/auto/system_clock.rs @@ -19,7 +19,7 @@ glib::wrapper! { pub struct SystemClock(Object) @extends Clock, Object; match fn { - get_type => || ffi::gst_system_clock_get_type(), + type_ => || ffi::gst_system_clock_get_type(), } } diff --git a/gstreamer/src/auto/tag_setter.rs b/gstreamer/src/auto/tag_setter.rs index c2842284e..2c03ce911 100644 --- a/gstreamer/src/auto/tag_setter.rs +++ b/gstreamer/src/auto/tag_setter.rs @@ -14,7 +14,7 @@ glib::wrapper! { pub struct TagSetter(Interface) @requires Element, Object; match fn { - get_type => || ffi::gst_tag_setter_get_type(), + type_ => || ffi::gst_tag_setter_get_type(), } } diff --git a/gstreamer/src/auto/toc_setter.rs b/gstreamer/src/auto/toc_setter.rs index b205ddf1c..645a6e9b0 100644 --- a/gstreamer/src/auto/toc_setter.rs +++ b/gstreamer/src/auto/toc_setter.rs @@ -13,7 +13,7 @@ glib::wrapper! { pub struct TocSetter(Interface) @requires Element, Object; match fn { - get_type => || ffi::gst_toc_setter_get_type(), + type_ => || ffi::gst_toc_setter_get_type(), } } diff --git a/gstreamer/src/auto/type_find_factory.rs b/gstreamer/src/auto/type_find_factory.rs index 486b51fbc..a5603cbe6 100644 --- a/gstreamer/src/auto/type_find_factory.rs +++ b/gstreamer/src/auto/type_find_factory.rs @@ -12,7 +12,7 @@ glib::wrapper! { pub struct TypeFindFactory(Object) @extends PluginFeature, Object; match fn { - get_type => || ffi::gst_type_find_factory_get_type(), + type_ => || ffi::gst_type_find_factory_get_type(), } } diff --git a/gstreamer/src/auto/uri_handler.rs b/gstreamer/src/auto/uri_handler.rs index e2e1e6fc8..16270ad78 100644 --- a/gstreamer/src/auto/uri_handler.rs +++ b/gstreamer/src/auto/uri_handler.rs @@ -12,7 +12,7 @@ glib::wrapper! { pub struct URIHandler(Interface); match fn { - get_type => || ffi::gst_uri_handler_get_type(), + type_ => || ffi::gst_uri_handler_get_type(), } } diff --git a/gstreamer/src/auto/versions.txt b/gstreamer/src/auto/versions.txt index 3895717b6..750fc5553 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 @ 3c6ebf4) +Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer/sys/build.rs b/gstreamer/sys/build.rs index 961fb48a8..7ddc44ffd 100644 --- a/gstreamer/sys/build.rs +++ b/gstreamer/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer/sys/src/lib.rs b/gstreamer/sys/src/lib.rs index 9024247d3..7ee20b288 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer/sys/tests/abi.rs b/gstreamer/sys/tests/abi.rs index bd0402b6e..c199434bb 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer/sys/tests/constant.c b/gstreamer/sys/tests/constant.c index cbc1314e0..3f7df7330 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer/sys/tests/layout.c b/gstreamer/sys/tests/layout.c index 3a38b676d..29f1f6ce5 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 @ 3c6ebf4) +// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT