regen: relaxed get fn identification

This commit is contained in:
François Laignel 2021-04-19 22:13:58 +02:00
parent 3f442d9775
commit f7472c82e3
183 changed files with 365 additions and 365 deletions

View file

@ -1510,7 +1510,7 @@ the converted volume
# Returns # Returns
Returns `true` if the stream is muted Returns `true` if the stream is muted
<!-- trait StreamVolumeExt::fn get_volume --> <!-- trait StreamVolumeExt::fn volume -->
## `format` ## `format`
`StreamVolumeFormat` which should be returned `StreamVolumeFormat` which should be returned

View file

@ -840,7 +840,7 @@ Feature: `v1_18`
# Returns # Returns
The duration-limit of `self`. The duration-limit of `self`.
<!-- trait ClipExt::fn get_internal_time_from_timeline_time --> <!-- trait ClipExt::fn internal_time_from_timeline_time -->
Convert the timeline time to an internal source time of the child. Convert the timeline time to an internal source time of the child.
This will take any time effects placed on the clip into account (see This will take any time effects placed on the clip into account (see
`BaseEffect` for what time effects are supported, and how to `BaseEffect` for what time effects are supported, and how to
@ -905,7 +905,7 @@ Gets the `Clip:supported-formats` of the clip.
# Returns # Returns
The `TrackType`-s supported by `self`. The `TrackType`-s supported by `self`.
<!-- trait ClipExt::fn get_timeline_time_from_internal_time --> <!-- trait ClipExt::fn timeline_time_from_internal_time -->
Convert the internal source time from the child to a timeline time. Convert the internal source time from the child to a timeline time.
This will take any time effects placed on the clip into account (see This will take any time effects placed on the clip into account (see
`BaseEffect` for what time effects are supported, and how to `BaseEffect` for what time effects are supported, and how to
@ -963,7 +963,7 @@ A time in the internal time coordinates of `child`
The time in the timeline coordinates corresponding to The time in the timeline coordinates corresponding to
`internal_time`, or `GST_CLOCK_TIME_NONE` if the conversion could not be `internal_time`, or `GST_CLOCK_TIME_NONE` if the conversion could not be
performed. performed.
<!-- trait ClipExt::fn get_timeline_time_from_source_frame --> <!-- trait ClipExt::fn timeline_time_from_source_frame -->
Convert the source frame number to a timeline time. This acts the same Convert the source frame number to a timeline time. This acts the same
as `ClipExt::get_timeline_time_from_internal_time` using the core as `ClipExt::get_timeline_time_from_internal_time` using the core
children of the clip and using the frame number to specify the internal children of the clip and using the frame number to specify the internal
@ -986,7 +986,7 @@ in the timeline coordinates
The timestamp corresponding to `frame_number` in the core The timestamp corresponding to `frame_number` in the core
children of `self`, in the timeline coordinates, or `GST_CLOCK_TIME_NONE` children of `self`, in the timeline coordinates, or `GST_CLOCK_TIME_NONE`
if the conversion could not be performed. if the conversion could not be performed.
<!-- trait ClipExt::fn get_top_effect_index --> <!-- trait ClipExt::fn top_effect_index -->
Gets the internal index of an effect in the clip. The index of effects Gets the internal index of an effect in the clip. The index of effects
in a clip will run from 0 to n-1, where n is the total number of in a clip will run from 0 to n-1, where n is the total number of
effects. If two effects share the same `TrackElement:track`, the effects. If two effects share the same `TrackElement:track`, the
@ -1240,7 +1240,7 @@ The edit position: a new location for the edge of `self`
# Returns # Returns
`true` if the edit of `self` completed, `false` on failure. `true` if the edit of `self` completed, `false` on failure.
<!-- trait GESContainerExt::fn get_children --> <!-- trait GESContainerExt::fn children -->
Get the list of timeline elements contained in the container. If Get the list of timeline elements contained in the container. If
`recursive` is `true`, and the container contains other containers as `recursive` is `true`, and the container contains other containers as
children, then their children will be added to the list, in addition to children, then their children will be added to the list, in addition to
@ -1766,7 +1766,7 @@ The clip to add
`true` if `clip` was properly added to `self`, or `false` `true` if `clip` was properly added to `self`, or `false`
if `self` refused to add `clip`. if `self` refused to add `clip`.
<!-- trait LayerExt::fn get_active_for_track --> <!-- trait LayerExt::fn is_active_for_track -->
Gets whether the layer is active for the given track. See Gets whether the layer is active for the given track. See
`LayerExt::set_active_for_tracks`. `LayerExt::set_active_for_tracks`.
@ -1791,7 +1791,7 @@ Get the `Clip`-s contained in this layer.
A list of clips in A list of clips in
`self`. `self`.
<!-- trait LayerExt::fn get_clips_in_interval --> <!-- trait LayerExt::fn clips_in_interval -->
Gets the clips within the layer that appear between `start` and `end`. Gets the clips within the layer that appear between `start` and `end`.
## `start` ## `start`
Start of the interval Start of the interval
@ -1991,7 +1991,7 @@ Gets the `Pipeline:mode` of the pipeline.
# Returns # Returns
The current mode of `self`. The current mode of `self`.
<!-- trait GESPipelineExt::fn get_thumbnail --> <!-- trait GESPipelineExt::fn thumbnail -->
Gets a sample from the pipeline of the currently displayed image in Gets a sample from the pipeline of the currently displayed image in
preview, in the specified format. preview, in the specified format.
@ -2007,7 +2007,7 @@ Some caps to specifying the desired format, or
A sample of `self`'s current image preview in A sample of `self`'s current image preview in
the format given by `caps`, or `None` if an error prevented fetching the the format given by `caps`, or `None` if an error prevented fetching the
sample. sample.
<!-- trait GESPipelineExt::fn get_thumbnail_rgb24 --> <!-- trait GESPipelineExt::fn thumbnail_rgb24 -->
Gets a sample from the pipeline of the currently displayed image in Gets a sample from the pipeline of the currently displayed image in
preview, in the 24-bit "RGB" format and of the desired width and preview, in the 24-bit "RGB" format and of the desired width and
height. height.
@ -2295,7 +2295,7 @@ The `glib::Type` of the asset to create
# Returns # Returns
The newly created `Asset` or `None`. The newly created `Asset` or `None`.
<!-- trait ProjectExt::fn get_asset --> <!-- trait ProjectExt::fn asset -->
## `id` ## `id`
The id of the asset to retrieve The id of the asset to retrieve
## `extractable_type` ## `extractable_type`
@ -2671,7 +2671,7 @@ Get the current `Timeline:duration` of the timeline
# Returns # Returns
The current duration of `self`. The current duration of `self`.
<!-- trait TimelineExt::fn get_element --> <!-- trait TimelineExt::fn element -->
Gets the element contained in the timeline with the given name. Gets the element contained in the timeline with the given name.
## `name` ## `name`
The name of the element to find The name of the element to find
@ -2680,7 +2680,7 @@ The name of the element to find
The timeline element in `self` The timeline element in `self`
with the given `name`, or `None` if it was not found. with the given `name`, or `None` if it was not found.
<!-- trait TimelineExt::fn get_frame_at --> <!-- trait TimelineExt::fn frame_at -->
This method allows you to convert a timeline `gst::ClockTime` into its This method allows you to convert a timeline `gst::ClockTime` into its
corresponding `FrameNumber` in the timeline's output. corresponding `FrameNumber` in the timeline's output.
@ -2692,7 +2692,7 @@ The timestamp to get the corresponding frame number of
# Returns # Returns
The frame number `timestamp` corresponds to. The frame number `timestamp` corresponds to.
<!-- trait TimelineExt::fn get_frame_time --> <!-- trait TimelineExt::fn frame_time -->
This method allows you to convert a timeline output frame number into a This method allows you to convert a timeline output frame number into a
timeline `gst::ClockTime`. For example, this time could be used to seek to a timeline `gst::ClockTime`. For example, this time could be used to seek to a
particular frame in the timeline's output, or as the edit position for particular frame in the timeline's output, or as the edit position for
@ -2715,7 +2715,7 @@ Get the list of `Group`-s present in the timeline.
The list of The list of
groups that contain clips present in `self`'s layers. groups that contain clips present in `self`'s layers.
Must not be changed. Must not be changed.
<!-- trait TimelineExt::fn get_layer --> <!-- trait TimelineExt::fn layer -->
Retrieve the layer whose index in the timeline matches the given Retrieve the layer whose index in the timeline matches the given
priority. priority.
## `priority` ## `priority`
@ -2734,7 +2734,7 @@ Get the list of `Layer`-s present in the timeline.
The list of The list of
layers present in `self` sorted by priority. layers present in `self` sorted by priority.
<!-- trait TimelineExt::fn get_pad_for_track --> <!-- trait TimelineExt::fn pad_for_track -->
Search for the `gst::Pad` corresponding to the given timeline's track. Search for the `gst::Pad` corresponding to the given timeline's track.
You can link to this pad to receive the output data of the given track. You can link to this pad to receive the output data of the given track.
## `track` ## `track`
@ -2750,7 +2750,7 @@ Gets the `Timeline:snapping-distance` for the timeline.
# Returns # Returns
The snapping distance (in nanoseconds) of `self`. The snapping distance (in nanoseconds) of `self`.
<!-- trait TimelineExt::fn get_track_for_pad --> <!-- trait TimelineExt::fn track_for_pad -->
Search for the `Track` corresponding to the given timeline's pad. Search for the `Track` corresponding to the given timeline's pad.
## `pad` ## `pad`
A pad A pad
@ -3247,12 +3247,12 @@ The edit position: a new location for the edge of `self`
# Returns # Returns
`true` if the edit of `self` completed, `false` on failure. `true` if the edit of `self` completed, `false` on failure.
<!-- trait TimelineElementExt::fn get_child_properties --> <!-- trait TimelineElementExt::fn child_properties -->
Gets several of the children properties of the element. See Gets several of the children properties of the element. See
`TimelineElementExt::get_child_property`. `TimelineElementExt::get_child_property`.
## `first_property_name` ## `first_property_name`
The name of the first child property to get The name of the first child property to get
<!-- trait TimelineElementExt::fn get_child_property --> <!-- trait TimelineElementExt::fn child_property -->
Gets the property of a child of the element. Gets the property of a child of the element.
`property_name` can either be in the format "prop-name" or `property_name` can either be in the format "prop-name" or
@ -3277,7 +3277,7 @@ The return location for the value
# Returns # Returns
`true` if the property was found and copied to `value`. `true` if the property was found and copied to `value`.
<!-- trait TimelineElementExt::fn get_child_property_by_pspec --> <!-- trait TimelineElementExt::fn child_property_by_pspec -->
Gets the property of a child of the element. Specifically, the property Gets the property of a child of the element. Specifically, the property
corresponding to the `pspec` used in corresponding to the `pspec` used in
`TimelineElementExt::add_child_property` is copied into `value`. `TimelineElementExt::add_child_property` is copied into `value`.
@ -3285,7 +3285,7 @@ corresponding to the `pspec` used in
The specification of a registered child property to get The specification of a registered child property to get
## `value` ## `value`
The return location for the value The return location for the value
<!-- trait TimelineElementExt::fn get_child_property_valist --> <!-- trait TimelineElementExt::fn child_property_valist -->
Gets several of the children properties of the element. See Gets several of the children properties of the element. See
`TimelineElementExt::get_child_property`. `TimelineElementExt::get_child_property`.
## `first_property_name` ## `first_property_name`
@ -4355,7 +4355,7 @@ The name of the first property to get
## `var_args` ## `var_args`
Value for the first property, followed optionally by more Value for the first property, followed optionally by more
name/return location pairs, followed by NULL name/return location pairs, followed by NULL
<!-- trait TrackElementExt::fn get_control_binding --> <!-- trait TrackElementExt::fn control_binding -->
Gets the control binding that was created for the specified child Gets the control binding that was created for the specified child
property of the track element using property of the track element using
`TrackElementExt::set_control_source`. The given `property_name` must `TrackElementExt::set_control_source`. The given `property_name` must

View file

@ -289,13 +289,13 @@ then function to get the address of
# Returns # Returns
an address pointing to `name` or `None` an address pointing to `name` or `None`
<!-- impl GLContext::fn get_current --> <!-- impl GLContext::fn current -->
See also `GLContextExt::activate`. See also `GLContextExt::activate`.
# Returns # Returns
the `GLContext` active in the current thread or `None` the `GLContext` active in the current thread or `None`
<!-- impl GLContext::fn get_current_gl_api --> <!-- impl GLContext::fn current_gl_api -->
If an error occurs, `major` and `minor` are not modified and `GLAPI::None` is If an error occurs, `major` and `minor` are not modified and `GLAPI::None` is
returned. returned.
## `platform` ## `platform`
@ -309,14 +309,14 @@ the minor version
The version supported by the OpenGL context current in the calling The version supported by the OpenGL context current in the calling
thread or `GLAPI::None` thread or `GLAPI::None`
<!-- impl GLContext::fn get_current_gl_context --> <!-- impl GLContext::fn current_gl_context -->
## `context_type` ## `context_type`
a `GLPlatform` specifying the type of context to retrieve a `GLPlatform` specifying the type of context to retrieve
# Returns # Returns
The OpenGL context handle current in the calling thread or `None` The OpenGL context handle current in the calling thread or `None`
<!-- impl GLContext::fn get_proc_address_with_platform --> <!-- impl GLContext::fn proc_address_with_platform -->
Attempts to use the `context_type` specific GetProcAddress implementations Attempts to use the `context_type` specific GetProcAddress implementations
to retrieve `name`. to retrieve `name`.
@ -454,7 +454,7 @@ Returns the OpenGL version implemented by `self`. See
resulting major version resulting major version
## `min` ## `min`
resulting minor version resulting minor version
<!-- trait GLContextExt::fn get_proc_address --> <!-- trait GLContextExt::fn proc_address -->
Get a function pointer to a specified opengl function, `name`. If the the Get a function pointer to a specified opengl function, `name`. If the the
specific function does not exist, NULL is returned instead. specific function does not exist, NULL is returned instead.
@ -1052,7 +1052,7 @@ Opaque `GLMemoryAllocator` struct
# Implements # Implements
[`GLBaseMemoryAllocatorExt`](trait@crate::GLBaseMemoryAllocatorExt), [`trait@gst::AllocatorExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`] [`GLBaseMemoryAllocatorExt`](trait@crate::GLBaseMemoryAllocatorExt), [`trait@gst::AllocatorExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- impl GLMemoryAllocator::fn get_default --> <!-- impl GLMemoryAllocator::fn default -->
## `context` ## `context`
a `GLContext` a `GLContext`
@ -1437,7 +1437,7 @@ to `self` with `GLShader::attach` or `GLShader::attach_unlocked`.
Note: must be called in the GL thread Note: must be called in the GL thread
## `stage` ## `stage`
a `GLSLStage` to attach a `GLSLStage` to attach
<!-- impl GLShader::fn get_attribute_location --> <!-- impl GLShader::fn attribute_location -->
## `name` ## `name`
name of the attribute name of the attribute

View file

@ -23,7 +23,7 @@ an existing `gst_gl::GLDisplay`
# Returns # Returns
a new `GLDisplayEGL` a new `GLDisplayEGL`
<!-- impl GLDisplayEGL::fn get_from_native --> <!-- impl GLDisplayEGL::fn from_native -->
Attempts to create a new `EGLDisplay` from `display`. If `type_` is Attempts to create a new `EGLDisplay` from `display`. If `type_` is
`gst_gl::GLDisplayType::Any`, then `display` must be 0. `type_` must not be `gst_gl::GLDisplayType::Any`, then `display` must be 0. `type_` must not be
`gst_gl::GLDisplayType::None`. `gst_gl::GLDisplayType::None`.

View file

@ -259,7 +259,7 @@ This structure can be traversed to see the original hierarchy. Unref with
the list of the list of
all streams contained in the `info`. Free after usage all streams contained in the `info`. Free after usage
with `DiscovererStreamInfo::list_free`. with `DiscovererStreamInfo::list_free`.
<!-- impl DiscovererInfo::fn get_streams --> <!-- impl DiscovererInfo::fn streams -->
Finds the `DiscovererStreamInfo` contained in `self` that match the Finds the `DiscovererStreamInfo` contained in `self` that match the
given `streamtype`. given `streamtype`.
## `streamtype` ## `streamtype`
@ -862,7 +862,7 @@ Feature: `v1_18`
# Returns # Returns
The path to the `self` file. The path to the `self` file.
<!-- impl EncodingTarget::fn get_profile --> <!-- impl EncodingTarget::fn profile -->
## `name` ## `name`
the name of the profile to retrieve the name of the profile to retrieve

View file

@ -73,7 +73,7 @@ or RTSP streams.
a `Player` configuration a `Player` configuration
## `agent` ## `agent`
the string to use as user agent the string to use as user agent
<!-- impl Player::fn get_audio_streams --> <!-- impl Player::fn audio_streams -->
## `info` ## `info`
a `PlayerMediaInfo` a `PlayerMediaInfo`
@ -81,7 +81,7 @@ a `PlayerMediaInfo`
A `glib::List` of A `glib::List` of
matching `PlayerAudioInfo`. matching `PlayerAudioInfo`.
<!-- impl Player::fn get_subtitle_streams --> <!-- impl Player::fn subtitle_streams -->
## `info` ## `info`
a `PlayerMediaInfo` a `PlayerMediaInfo`
@ -89,7 +89,7 @@ a `PlayerMediaInfo`
A `glib::List` of A `glib::List` of
matching `PlayerSubtitleInfo`. matching `PlayerSubtitleInfo`.
<!-- impl Player::fn get_video_streams --> <!-- impl Player::fn video_streams -->
## `info` ## `info`
a `PlayerMediaInfo` a `PlayerMediaInfo`
@ -115,7 +115,7 @@ Retrieve the current value of audio-video-offset property
# Returns # Returns
The current value of audio-video-offset in nanoseconds The current value of audio-video-offset in nanoseconds
<!-- impl Player::fn get_color_balance --> <!-- impl Player::fn color_balance -->
Retrieve the current value of the indicated `type_`. Retrieve the current value of the indicated `type_`.
## `type_` ## `type_`
`PlayerColorBalanceType` `PlayerColorBalanceType`
@ -234,7 +234,7 @@ Gets the URI of the currently-playing stream.
a string containing the URI of the a string containing the URI of the
currently-playing stream. `g_free` after usage. currently-playing stream. `g_free` after usage.
<!-- impl Player::fn get_video_snapshot --> <!-- impl Player::fn video_snapshot -->
Get a snapshot of the currently selected video stream, if any. The format can be Get a snapshot of the currently selected video stream, if any. The format can be
selected with `format` and optional configuration is possible with `config` selected with `format` and optional configuration is possible with `config`
Currently supported settings are: Currently supported settings are:

View file

@ -375,7 +375,7 @@ Get the `RTSPSessionPool` object that `self` uses to manage its sessions.
# Returns # Returns
a `RTSPSessionPool`, unref after usage. a `RTSPSessionPool`, unref after usage.
<!-- trait RTSPClientExt::fn get_stream_transport --> <!-- trait RTSPClientExt::fn stream_transport -->
This is useful when providing a send function through This is useful when providing a send function through
`RTSPClientExt::set_send_func` when doing RTSP over TCP: `RTSPClientExt::set_send_func` when doing RTSP over TCP:
the send function must call gst_rtsp_stream_transport_message_sent () the send function must call gst_rtsp_stream_transport_message_sent ()
@ -861,7 +861,7 @@ Gets if and how the media clock should be published according to RFC7273.
# Returns # Returns
The GstRTSPPublishClockMode The GstRTSPPublishClockMode
<!-- trait RTSPMediaExt::fn get_range_string --> <!-- trait RTSPMediaExt::fn range_string -->
Get the current range as a string. `self` must be prepared with Get the current range as a string. `self` must be prepared with
gst_rtsp_media_prepare (). gst_rtsp_media_prepare ().
## `play` ## `play`
@ -909,7 +909,7 @@ until `self` is prepared or in error.
# Returns # Returns
the status of `self`. the status of `self`.
<!-- trait RTSPMediaExt::fn get_stream --> <!-- trait RTSPMediaExt::fn stream -->
Retrieve the stream with index `idx` from `self`. Retrieve the stream with index `idx` from `self`.
## `idx` ## `idx`
the stream index the stream index
@ -924,7 +924,7 @@ Get how `self` will be suspended.
# Returns # Returns
`RTSPSuspendMode`. `RTSPSuspendMode`.
<!-- trait RTSPMediaExt::fn get_time_provider --> <!-- trait RTSPMediaExt::fn time_provider -->
Get the `gst_net::NetTimeProvider` for the clock used by `self`. The time provider Get the `gst_net::NetTimeProvider` for the clock used by `self`. The time provider
will listen on `address` and `port` for client time requests. will listen on `address` and `port` for client time requests.
## `address` ## `address`
@ -1977,7 +1977,7 @@ Get the string that can be placed in the Session header field.
the Session header of `self`. the Session header of `self`.
`g_free` after usage. `g_free` after usage.
<!-- trait RTSPSessionExt::fn get_media --> <!-- trait RTSPSessionExt::fn media -->
Get the session media for `path`. `matched` will contain the number of matched Get the session media for `path`. `matched` will contain the number of matched
characters of `path`. characters of `path`.
## `path` ## `path`
@ -2132,7 +2132,7 @@ Get the current RTSP state of `self`.
# Returns # Returns
the current RTSP state of `self`. the current RTSP state of `self`.
<!-- trait RTSPSessionMediaExt::fn get_transport --> <!-- trait RTSPSessionMediaExt::fn transport -->
Get a previously created `RTSPStreamTransport` for the stream at `idx`. Get a previously created `RTSPStreamTransport` for the stream at `idx`.
## `idx` ## `idx`
the stream index the stream index
@ -2427,7 +2427,7 @@ Get the configured MTU in the payloader of `self`.
# Returns # Returns
the MTU of the payloader. the MTU of the payloader.
<!-- trait RTSPStreamExt::fn get_multicast_address --> <!-- trait RTSPStreamExt::fn multicast_address -->
Get the multicast address of `self` for `family`. The original Get the multicast address of `self` for `family`. The original
`RTSPAddress` is cached and copy is returned, so freeing the return value `RTSPAddress` is cached and copy is returned, so freeing the return value
won't release the address from the pool. won't release the address from the pool.
@ -2513,7 +2513,7 @@ Get the amount of time to store retransmission data.
# Returns # Returns
the amount of time to store retransmission data. the amount of time to store retransmission data.
<!-- trait RTSPStreamExt::fn get_rtcp_multicast_socket --> <!-- trait RTSPStreamExt::fn rtcp_multicast_socket -->
Get the multicast RTCP socket from `self` for a `family`. Get the multicast RTCP socket from `self` for a `family`.
Feature: `v1_14` Feature: `v1_14`
@ -2525,7 +2525,7 @@ the socket family
the multicast RTCP socket or `None` if no the multicast RTCP socket or `None` if no
socket could be allocated for `family`. Unref after usage socket could be allocated for `family`. Unref after usage
<!-- trait RTSPStreamExt::fn get_rtcp_socket --> <!-- trait RTSPStreamExt::fn rtcp_socket -->
Get the RTCP socket from `self` for a `family`. Get the RTCP socket from `self` for a `family`.
`self` must be joined to a bin. `self` must be joined to a bin.
@ -2536,7 +2536,7 @@ the socket family
the RTCP socket or `None` if no the RTCP socket or `None` if no
socket could be allocated for `family`. Unref after usage socket could be allocated for `family`. Unref after usage
<!-- trait RTSPStreamExt::fn get_rtp_multicast_socket --> <!-- trait RTSPStreamExt::fn rtp_multicast_socket -->
Get the multicast RTP socket from `self` for a `family`. Get the multicast RTP socket from `self` for a `family`.
## `family` ## `family`
the socket family the socket family
@ -2546,7 +2546,7 @@ the socket family
the multicast RTP socket or `None` if no the multicast RTP socket or `None` if no
socket could be allocated for `family`. Unref after usage socket could be allocated for `family`. Unref after usage
<!-- trait RTSPStreamExt::fn get_rtp_socket --> <!-- trait RTSPStreamExt::fn rtp_socket -->
Get the RTP socket from `self` for a `family`. Get the RTP socket from `self` for a `family`.
`self` must be joined to a bin. `self` must be joined to a bin.
@ -2578,7 +2578,7 @@ Get the RTP session of this stream.
# Returns # Returns
The RTP session of this stream. Unref after usage. The RTP session of this stream. Unref after usage.
<!-- trait RTSPStreamExt::fn get_server_port --> <!-- trait RTSPStreamExt::fn server_port -->
Fill `server_port` with the port pair used by the server. This function can Fill `server_port` with the port pair used by the server. This function can
only be called when `self` has been joined. only be called when `self` has been joined.
## `server_port` ## `server_port`
@ -3016,7 +3016,7 @@ a GstRTSPTransport
# Returns # Returns
a new `RTSPStreamTransport` a new `RTSPStreamTransport`
<!-- trait RTSPStreamTransportExt::fn get_rtpinfo --> <!-- trait RTSPStreamTransportExt::fn rtpinfo -->
Get the RTP-Info string for `self` and `start_time`. Get the RTP-Info string for `self` and `start_time`.
## `start_time` ## `start_time`
a star time a star time
@ -3239,7 +3239,7 @@ See `RTSPThreadPoolExt::set_max_threads`.
# Returns # Returns
the maximum number of threads. the maximum number of threads.
<!-- trait RTSPThreadPoolExt::fn get_thread --> <!-- trait RTSPThreadPoolExt::fn thread -->
Get a new `RTSPThread` for `type_` and `ctx`. Get a new `RTSPThread` for `type_` and `ctx`.
## `type_` ## `type_`
the `RTSPThreadType` the `RTSPThreadType`

View file

@ -594,7 +594,7 @@ by the decoder; free it after use it
# Returns # Returns
currently configured byte to time conversion setting currently configured byte to time conversion setting
<!-- trait VideoDecoderExt::fn get_frame --> <!-- trait VideoDecoderExt::fn frame -->
Get a pending unfinished `VideoCodecFrame` Get a pending unfinished `VideoCodecFrame`
## `frame_number` ## `frame_number`
system_frame_number of a frame system_frame_number of a frame
@ -617,7 +617,7 @@ address of variable in which to store the
## `max_latency` ## `max_latency`
address of variable in which to store the address of variable in which to store the
configured mximum latency, or `None` configured mximum latency, or `None`
<!-- trait VideoDecoderExt::fn get_max_decode_time --> <!-- trait VideoDecoderExt::fn max_decode_time -->
Determines maximum possible decoding time for `frame` that will Determines maximum possible decoding time for `frame` that will
allow it to decode and arrive in time (as determined by QoS events). allow it to decode and arrive in time (as determined by QoS events).
In particular, a negative result means decoding in time is no longer possible In particular, a negative result means decoding in time is no longer possible
@ -989,7 +989,7 @@ used
## `params` ## `params`
the the
`gst::AllocationParams` of `allocator` `gst::AllocationParams` of `allocator`
<!-- trait VideoEncoderExt::fn get_frame --> <!-- trait VideoEncoderExt::fn frame -->
Get a pending unfinished `VideoCodecFrame` Get a pending unfinished `VideoCodecFrame`
## `frame_number` ## `frame_number`
system_frame_number of a frame system_frame_number of a frame
@ -1012,7 +1012,7 @@ address of variable in which to store the
## `max_latency` ## `max_latency`
address of variable in which to store the address of variable in which to store the
configured maximum latency, or `None` configured maximum latency, or `None`
<!-- trait VideoEncoderExt::fn get_max_encode_time --> <!-- trait VideoEncoderExt::fn max_encode_time -->
Determines maximum possible encoding time for `frame` that will Determines maximum possible encoding time for `frame` that will
allow it to encode and arrive in time (as determined by QoS events). allow it to encode and arrive in time (as determined by QoS events).
In particular, a negative result means encoding in time is no longer possible In particular, a negative result means encoding in time is no longer possible

View file

@ -241,7 +241,7 @@ whether to look for an unlinked source or sink pad
unlinked pad of the given unlinked pad of the given
direction, `None`. direction, `None`.
<!-- trait GstBinExt::fn get_by_interface --> <!-- trait GstBinExt::fn by_interface -->
Looks for an element inside the bin that implements the given Looks for an element inside the bin that implements the given
interface. If such an element is found, it returns the element. interface. If such an element is found, it returns the element.
You can cast this element to the given interface afterwards. If you want You can cast this element to the given interface afterwards. If you want
@ -256,7 +256,7 @@ the `glib::Type` of an interface
A `Element` inside the bin A `Element` inside the bin
implementing the interface implementing the interface
<!-- trait GstBinExt::fn get_by_name --> <!-- trait GstBinExt::fn by_name -->
Gets the element with the given name from a bin. This Gets the element with the given name from a bin. This
function recurses into child bins. function recurses into child bins.
@ -270,7 +270,7 @@ the element name to search for
the `Element` with the given the `Element` with the given
name, or `None` name, or `None`
<!-- trait GstBinExt::fn get_by_name_recurse_up --> <!-- trait GstBinExt::fn by_name_recurse_up -->
Gets the element with the given name from this bin. If the Gets the element with the given name from this bin. If the
element is not found, a recursion is performed on the parent bin. element is not found, a recursion is performed on the parent bin.
@ -2801,7 +2801,7 @@ the name of the old child
Gets properties of the parent object and its children. Gets properties of the parent object and its children.
## `first_property_name` ## `first_property_name`
name of the first property to get name of the first property to get
<!-- trait ChildProxyExt::fn get_child_by_index --> <!-- trait ChildProxyExt::fn child_by_index -->
Fetches a child by its number. Fetches a child by its number.
## `index` ## `index`
the child's position in the child list the child's position in the child list
@ -2812,7 +2812,7 @@ the child object or `None` if
not found (index too high). Unref after usage. not found (index too high). Unref after usage.
MT safe. MT safe.
<!-- trait ChildProxyExt::fn get_child_by_name --> <!-- trait ChildProxyExt::fn child_by_name -->
Looks up a child element by the given name. Looks up a child element by the given name.
This virtual method has a default implementation that uses `Object` This virtual method has a default implementation that uses `Object`
@ -2835,14 +2835,14 @@ Gets the number of child objects this parent contains.
the number of child objects the number of child objects
MT safe. MT safe.
<!-- trait ChildProxyExt::fn get_property --> <!-- trait ChildProxyExt::fn property -->
Gets a single property using the GstChildProxy mechanism. Gets a single property using the GstChildProxy mechanism.
You are responsible for freeing it by calling `glib::object::Value::unset` You are responsible for freeing it by calling `glib::object::Value::unset`
## `name` ## `name`
name of the property name of the property
## `value` ## `value`
a `glib::object::Value` that should take the result. a `glib::object::Value` that should take the result.
<!-- trait ChildProxyExt::fn get_valist --> <!-- trait ChildProxyExt::fn valist -->
Gets properties of the parent object and its children. Gets properties of the parent object and its children.
## `first_property_name` ## `first_property_name`
name of the first property to get name of the first property to get
@ -3609,7 +3609,7 @@ Trait containing all `ControlBinding` methods.
# Implementors # Implementors
[`ControlBinding`](struct@crate::ControlBinding) [`ControlBinding`](struct@crate::ControlBinding)
<!-- trait ControlBindingExt::fn get_g_value_array --> <!-- trait ControlBindingExt::fn is_g_value_array -->
Gets a number of `GValues` for the given controlled property starting at the 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 requested time. The array `values` need to hold enough space for `n_values` of
`glib::object::Value`. `glib::object::Value`.
@ -3628,7 +3628,7 @@ array to put control-values in
# Returns # Returns
`true` if the given array could be filled, `false` otherwise `true` if the given array could be filled, `false` otherwise
<!-- trait ControlBindingExt::fn get_value --> <!-- trait ControlBindingExt::fn value -->
Gets the value for the given controlled property at the requested time. Gets the value for the given controlled property at the requested time.
## `timestamp` ## `timestamp`
the time the control-change should be read from the time the control-change should be read from
@ -3637,7 +3637,7 @@ the time the control-change should be read from
the GValue of the property at the given time, the GValue of the property at the given time,
or `None` if the property isn't controlled. or `None` if the property isn't controlled.
<!-- trait ControlBindingExt::fn get_value_array --> <!-- trait ControlBindingExt::fn is_value_array -->
Gets a number of values for the given controlled property starting at the Gets a number of values for the given controlled property starting at the
requested time. The array `values` need to hold enough space for `n_values` of requested time. The array `values` need to hold enough space for `n_values` of
the same type as the objects property's type. the same type as the objects property's type.
@ -4572,7 +4572,7 @@ are hidden by `self`.
a list of hidden providers factory names or `None` when a list of hidden providers factory names or `None` when
nothing is hidden by `self`. Free with g_strfreev. nothing is hidden by `self`. Free with g_strfreev.
<!-- trait DeviceProviderExt::fn get_metadata --> <!-- trait DeviceProviderExt::fn metadata -->
Get metadata with `key` in `self`. Get metadata with `key` in `self`.
Feature: `v1_14` Feature: `v1_14`
@ -4644,7 +4644,7 @@ name of factory to find
`DeviceProviderFactory` if `DeviceProviderFactory` if
found, `None` otherwise found, `None` otherwise
<!-- impl DeviceProviderFactory::fn get_by_name --> <!-- impl DeviceProviderFactory::fn by_name -->
Returns the device provider of the type defined by the given device Returns the device provider of the type defined by the given device
provider factory. provider factory.
## `factoryname` ## `factoryname`
@ -4681,7 +4681,7 @@ assured with `PluginFeature::load`.
# Returns # Returns
the `glib::Type` for device providers managed by this factory. the `glib::Type` for device providers managed by this factory.
<!-- impl DeviceProviderFactory::fn get_metadata --> <!-- impl DeviceProviderFactory::fn metadata -->
Get the metadata on `self` with `key`. Get the metadata on `self` with `key`.
## `key` ## `key`
a key a key
@ -5027,7 +5027,7 @@ pipeline is in the PLAYING state.
the `Clock` of the element. unref after usage. the `Clock` of the element. unref after usage.
MT safe. MT safe.
<!-- trait ElementExt::fn get_compatible_pad --> <!-- trait ElementExt::fn compatible_pad -->
Looks for an unlinked pad to which the given pad can link. It is not Looks for an unlinked pad to which the given pad can link. It is not
guaranteed that linking the pads will work, though it should work in most guaranteed that linking the pads will work, though it should work in most
cases. cases.
@ -5045,7 +5045,7 @@ the `Caps` to use as a filter.
the `Pad` to which a link the `Pad` to which a link
can be made, or `None` if one cannot be found. `GstObjectExt::unref` can be made, or `None` if one cannot be found. `GstObjectExt::unref`
after usage. after usage.
<!-- trait ElementExt::fn get_compatible_pad_template --> <!-- trait ElementExt::fn compatible_pad_template -->
Retrieves a pad template from `self` that is compatible with `compattempl`. Retrieves a pad template from `self` that is compatible with `compattempl`.
Pads from compatible templates can be linked together. Pads from compatible templates can be linked together.
## `compattempl` ## `compattempl`
@ -5056,7 +5056,7 @@ the `PadTemplate` to find a compatible
a compatible `PadTemplate`, a compatible `PadTemplate`,
or `None` if none was found. No unreferencing is necessary. or `None` if none was found. No unreferencing is necessary.
<!-- trait ElementExt::fn get_context --> <!-- trait ElementExt::fn context -->
Gets the context with `context_type` set on the element or NULL. Gets the context with `context_type` set on the element or NULL.
MT safe. MT safe.
@ -5112,7 +5112,7 @@ Retrieves the factory that was used to create this element.
the `ElementFactory` used for creating this the `ElementFactory` used for creating this
element or `None` if element has not been registered (static element). no refcounting is needed. element or `None` if element has not been registered (static element). no refcounting is needed.
<!-- trait ElementExt::fn get_metadata --> <!-- trait ElementExt::fn metadata -->
Get metadata with `key` in `klass`. Get metadata with `key` in `klass`.
Feature: `v1_14` Feature: `v1_14`
@ -5123,7 +5123,7 @@ the key to get
# Returns # Returns
the metadata for `key`. the metadata for `key`.
<!-- trait ElementExt::fn get_pad_template --> <!-- trait ElementExt::fn pad_template -->
Retrieves a padtemplate from `self` with the given name. Retrieves a padtemplate from `self` with the given name.
Feature: `v1_14` Feature: `v1_14`
@ -5147,7 +5147,7 @@ Feature: `v1_14`
the `glib::List` of the `glib::List` of
pad templates. pad templates.
<!-- trait ElementExt::fn get_request_pad --> <!-- trait ElementExt::fn request_pad_simple -->
Retrieves a pad from the element by name (e.g. "src_\%d"). This version only Retrieves a pad from the element by name (e.g. "src_\%d"). This version only
retrieves request pads. The pad should be released with retrieves request pads. The pad should be released with
`ElementExt::release_request_pad`. `ElementExt::release_request_pad`.
@ -5174,7 +5174,7 @@ MT safe.
# Returns # Returns
the start time of the element. the start time of the element.
<!-- trait ElementExt::fn get_state --> <!-- trait ElementExt::fn state -->
Gets the state of the element. Gets the state of the element.
For elements that performed an ASYNC state change, as reported by For elements that performed an ASYNC state change, as reported by
@ -5213,7 +5213,7 @@ a `ClockTime` to specify the timeout for an async
`StateChangeReturn::Failure` if the last state change failed. `StateChangeReturn::Failure` if the last state change failed.
MT safe. MT safe.
<!-- trait ElementExt::fn get_static_pad --> <!-- trait ElementExt::fn static_pad -->
Retrieves a pad from `self` by name. This version only retrieves Retrieves a pad from `self` by name. This version only retrieves
already-existing (i.e. 'static') pads. already-existing (i.e. 'static') pads.
## `name` ## `name`
@ -5962,7 +5962,7 @@ assured with `PluginFeature::load`.
the `glib::Type` for elements managed by this factory or 0 if the `glib::Type` for elements managed by this factory or 0 if
the factory is not loaded. the factory is not loaded.
<!-- impl ElementFactory::fn get_metadata --> <!-- impl ElementFactory::fn metadata -->
Get the metadata on `self` with `key`. Get the metadata on `self` with `key`.
## `key` ## `key`
a key a key
@ -9060,7 +9060,7 @@ The default handler will simply print the error string using g_print.
the GError. the GError.
## `debug` ## `debug`
an additional debug information string, or `None` an additional debug information string, or `None`
<!-- trait GstObjectExt::fn get_control_binding --> <!-- trait GstObjectExt::fn control_binding -->
Gets the corresponding `ControlBinding` for the property. This should be Gets the corresponding `ControlBinding` for the property. This should be
unreferenced again after use. unreferenced again after use.
## `property_name` ## `property_name`
@ -9143,7 +9143,7 @@ a string describing the path of `self`. You must
MT safe. Grabs and releases the `Object`'s LOCK for all objects MT safe. Grabs and releases the `Object`'s LOCK for all objects
in the hierarchy. in the hierarchy.
<!-- trait GstObjectExt::fn get_value --> <!-- trait GstObjectExt::fn value -->
Gets the value for the given controlled property at the requested time. Gets the value for the given controlled property at the requested time.
## `property_name` ## `property_name`
the name of the property to get the name of the property to get
@ -9154,7 +9154,7 @@ the time the control-change should be read from
the GValue of the property at the given time, the GValue of the property at the given time,
or `None` if the property isn't controlled. or `None` if the property isn't controlled.
<!-- trait GstObjectExt::fn get_value_array --> <!-- trait GstObjectExt::fn is_value_array -->
Gets a number of values for the given controlled property starting at the Gets a number of values for the given controlled property starting at the
requested time. The array `values` need to hold enough space for `n_values` of requested time. The array `values` need to hold enough space for `n_values` of
the same type as the objects property's type. the same type as the objects property's type.
@ -9770,7 +9770,7 @@ you need to unref it after use.
the peer `Pad`. Unref after usage. the peer `Pad`. Unref after usage.
MT safe. MT safe.
<!-- trait PadExt::fn get_range --> <!-- trait PadExt::fn range -->
When `self` is flushing this function returns `FlowReturn::Flushing` When `self` is flushing this function returns `FlowReturn::Flushing`
immediately and `buffer` is `None`. immediately and `buffer` is `None`.
@ -9822,7 +9822,7 @@ Feature: `v1_18`
a `Pad`, or `None` if `self` has none a `Pad`, or `None` if `self` has none
or more than one internal links. Unref returned pad with or more than one internal links. Unref returned pad with
`GstObjectExt::unref`. `GstObjectExt::unref`.
<!-- trait PadExt::fn get_sticky_event --> <!-- trait PadExt::fn sticky_event -->
Returns a new reference of the sticky event of type `event_type` Returns a new reference of the sticky event of type `event_type`
from the event. from the event.
## `event_type` ## `event_type`
@ -11700,7 +11700,7 @@ Trait containing all `Preset` methods.
# Implementors # Implementors
[`Preset`](struct@crate::Preset) [`Preset`](struct@crate::Preset)
<!-- impl Preset::fn get_app_dir --> <!-- impl Preset::fn app_dir -->
Gets the directory for application specific presets if set by the Gets the directory for application specific presets if set by the
application. application.
@ -11726,7 +11726,7 @@ preset name to remove
# Returns # Returns
`true` for success, `false` if e.g. there is no preset with that `name` `true` for success, `false` if e.g. there is no preset with that `name`
<!-- trait PresetExt::fn get_meta --> <!-- trait PresetExt::fn meta -->
Gets the `value` for an existing meta data `tag`. Meta data `tag` names can be Gets the `value` for an existing meta data `tag`. Meta data `tag` names can be
something like e.g. "comment". Returned values need to be released when done. something like e.g. "comment". Returned values need to be released when done.
## `name` ## `name`
@ -13030,7 +13030,7 @@ the plugin with the given name
usage. usage.
MT safe. MT safe.
<!-- impl Registry::fn get_feature_list --> <!-- impl Registry::fn feature_list -->
Retrieves a `glib::List` of `PluginFeature` of `type_`. Retrieves a `glib::List` of `PluginFeature` of `type_`.
## `type_` ## `type_`
a `glib::Type`. a `glib::Type`.
@ -13041,7 +13041,7 @@ a `glib::List` of
`PluginFeature` of `type_`. Use `PluginFeature::list_free` after use `PluginFeature` of `type_`. Use `PluginFeature::list_free` after use
MT safe. MT safe.
<!-- impl Registry::fn get_feature_list_by_plugin --> <!-- impl Registry::fn feature_list_by_plugin -->
Retrieves a `glib::List` of features of the plugin with name `name`. Retrieves a `glib::List` of features of the plugin with name `name`.
## `name` ## `name`
a plugin name. a plugin name.
@ -14124,7 +14124,7 @@ Feature: `v1_10`
# Returns # Returns
The number of streams that `self` contains The number of streams that `self` contains
<!-- impl StreamCollection::fn get_stream --> <!-- impl StreamCollection::fn stream -->
Retrieve the `Stream` with index `index` from the collection. Retrieve the `Stream` with index `index` from the collection.
The caller should not modify the returned `Stream` The caller should not modify the returned `Stream`
@ -16317,7 +16317,7 @@ that though.
# Implements # Implements
[`PluginFeatureExt`](trait@crate::PluginFeatureExt), [`GstObjectExt`](trait@crate::GstObjectExt), [`trait@glib::object::ObjectExt`], [`PluginFeatureExtManual`](trait@crate::PluginFeatureExtManual) [`PluginFeatureExt`](trait@crate::PluginFeatureExt), [`GstObjectExt`](trait@crate::GstObjectExt), [`trait@glib::object::ObjectExt`], [`PluginFeatureExtManual`](trait@crate::PluginFeatureExtManual)
<!-- impl TypeFindFactory::fn get_list --> <!-- impl TypeFindFactory::fn list -->
Gets the list of all registered typefind factories. You must free the Gets the list of all registered typefind factories. You must free the
list using `PluginFeature::list_free`. list using `PluginFeature::list_free`.

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -38,7 +38,7 @@ pub trait StreamVolumeExt: 'static {
fn is_muted(&self) -> bool; fn is_muted(&self) -> bool;
#[doc(alias = "gst_stream_volume_get_volume")] #[doc(alias = "gst_stream_volume_get_volume")]
fn get_volume(&self, format: StreamVolumeFormat) -> f64; fn volume(&self, format: StreamVolumeFormat) -> f64;
#[doc(alias = "gst_stream_volume_set_mute")] #[doc(alias = "gst_stream_volume_set_mute")]
fn set_mute(&self, mute: bool); fn set_mute(&self, mute: bool);
@ -66,7 +66,7 @@ impl<O: IsA<StreamVolume>> StreamVolumeExt for O {
} }
} }
fn get_volume(&self, format: StreamVolumeFormat) -> f64 { fn volume(&self, format: StreamVolumeFormat) -> f64 {
unsafe { unsafe {
ffi::gst_stream_volume_get_volume(self.as_ref().to_glib_none().0, format.to_glib()) ffi::gst_stream_volume_get_volume(self.as_ref().to_glib_none().0, format.to_glib())
} }

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -78,7 +78,7 @@ pub trait ClipExt: 'static {
#[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg(any(feature = "v1_18", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
#[doc(alias = "ges_clip_get_internal_time_from_timeline_time")] #[doc(alias = "ges_clip_get_internal_time_from_timeline_time")]
fn get_internal_time_from_timeline_time<P: IsA<TrackElement>>( fn internal_time_from_timeline_time<P: IsA<TrackElement>>(
&self, &self,
child: &P, child: &P,
timeline_time: gst::ClockTime, timeline_time: gst::ClockTime,
@ -93,7 +93,7 @@ pub trait ClipExt: 'static {
#[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg(any(feature = "v1_18", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
#[doc(alias = "ges_clip_get_timeline_time_from_internal_time")] #[doc(alias = "ges_clip_get_timeline_time_from_internal_time")]
fn get_timeline_time_from_internal_time<P: IsA<TrackElement>>( fn timeline_time_from_internal_time<P: IsA<TrackElement>>(
&self, &self,
child: &P, child: &P,
internal_time: gst::ClockTime, internal_time: gst::ClockTime,
@ -102,16 +102,16 @@ pub trait ClipExt: 'static {
#[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg(any(feature = "v1_18", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
#[doc(alias = "ges_clip_get_timeline_time_from_source_frame")] #[doc(alias = "ges_clip_get_timeline_time_from_source_frame")]
fn get_timeline_time_from_source_frame( fn timeline_time_from_source_frame(
&self, &self,
frame_number: FrameNumber, frame_number: FrameNumber,
) -> Result<gst::ClockTime, glib::Error>; ) -> Result<gst::ClockTime, glib::Error>;
#[doc(alias = "ges_clip_get_top_effect_index")] #[doc(alias = "ges_clip_get_top_effect_index")]
fn get_top_effect_index<P: IsA<BaseEffect>>(&self, effect: &P) -> i32; fn top_effect_index<P: IsA<BaseEffect>>(&self, effect: &P) -> i32;
#[doc(alias = "ges_clip_get_top_effect_position")] #[doc(alias = "ges_clip_get_top_effect_position")]
fn get_top_effect_position<P: IsA<BaseEffect>>(&self, effect: &P) -> i32; fn top_effect_position<P: IsA<BaseEffect>>(&self, effect: &P) -> i32;
#[doc(alias = "ges_clip_get_top_effects")] #[doc(alias = "ges_clip_get_top_effects")]
fn top_effects(&self) -> Vec<TrackElement>; fn top_effects(&self) -> Vec<TrackElement>;
@ -277,7 +277,7 @@ impl<O: IsA<Clip>> ClipExt for O {
#[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg(any(feature = "v1_18", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
fn get_internal_time_from_timeline_time<P: IsA<TrackElement>>( fn internal_time_from_timeline_time<P: IsA<TrackElement>>(
&self, &self,
child: &P, child: &P,
timeline_time: gst::ClockTime, timeline_time: gst::ClockTime,
@ -312,7 +312,7 @@ impl<O: IsA<Clip>> ClipExt for O {
#[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg(any(feature = "v1_18", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
fn get_timeline_time_from_internal_time<P: IsA<TrackElement>>( fn timeline_time_from_internal_time<P: IsA<TrackElement>>(
&self, &self,
child: &P, child: &P,
internal_time: gst::ClockTime, internal_time: gst::ClockTime,
@ -335,7 +335,7 @@ impl<O: IsA<Clip>> ClipExt for O {
#[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg(any(feature = "v1_18", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
fn get_timeline_time_from_source_frame( fn timeline_time_from_source_frame(
&self, &self,
frame_number: FrameNumber, frame_number: FrameNumber,
) -> Result<gst::ClockTime, glib::Error> { ) -> Result<gst::ClockTime, glib::Error> {
@ -354,7 +354,7 @@ impl<O: IsA<Clip>> ClipExt for O {
} }
} }
fn get_top_effect_index<P: IsA<BaseEffect>>(&self, effect: &P) -> i32 { fn top_effect_index<P: IsA<BaseEffect>>(&self, effect: &P) -> i32 {
unsafe { unsafe {
ffi::ges_clip_get_top_effect_index( ffi::ges_clip_get_top_effect_index(
self.as_ref().to_glib_none().0, self.as_ref().to_glib_none().0,
@ -363,7 +363,7 @@ impl<O: IsA<Clip>> ClipExt for O {
} }
} }
fn get_top_effect_position<P: IsA<BaseEffect>>(&self, effect: &P) -> i32 { fn top_effect_position<P: IsA<BaseEffect>>(&self, effect: &P) -> i32 {
unsafe { unsafe {
ffi::ges_clip_get_top_effect_position( ffi::ges_clip_get_top_effect_position(
self.as_ref().to_glib_none().0, self.as_ref().to_glib_none().0,

View file

@ -51,7 +51,7 @@ pub trait GESContainerExt: 'static {
) -> Result<(), glib::error::BoolError>; ) -> Result<(), glib::error::BoolError>;
#[doc(alias = "ges_container_get_children")] #[doc(alias = "ges_container_get_children")]
fn get_children(&self, recursive: bool) -> Vec<TimelineElement>; fn children(&self, recursive: bool) -> Vec<TimelineElement>;
#[doc(alias = "ges_container_remove")] #[doc(alias = "ges_container_remove")]
fn remove<P: IsA<TimelineElement>>(&self, child: &P) -> Result<(), glib::error::BoolError>; fn remove<P: IsA<TimelineElement>>(&self, child: &P) -> Result<(), glib::error::BoolError>;
@ -111,7 +111,7 @@ impl<O: IsA<Container>> GESContainerExt for O {
} }
} }
fn get_children(&self, recursive: bool) -> Vec<TimelineElement> { fn children(&self, recursive: bool) -> Vec<TimelineElement> {
unsafe { unsafe {
FromGlibPtrContainer::from_glib_full(ffi::ges_container_get_children( FromGlibPtrContainer::from_glib_full(ffi::ges_container_get_children(
self.as_ref().to_glib_none().0, self.as_ref().to_glib_none().0,

View file

@ -80,7 +80,7 @@ pub trait LayerExt: 'static {
#[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg(any(feature = "v1_18", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
#[doc(alias = "ges_layer_get_active_for_track")] #[doc(alias = "ges_layer_get_active_for_track")]
fn get_active_for_track<P: IsA<Track>>(&self, track: &P) -> bool; fn is_active_for_track<P: IsA<Track>>(&self, track: &P) -> bool;
#[doc(alias = "ges_layer_get_auto_transition")] #[doc(alias = "ges_layer_get_auto_transition")]
fn is_auto_transition(&self) -> bool; fn is_auto_transition(&self) -> bool;
@ -89,7 +89,7 @@ pub trait LayerExt: 'static {
fn clips(&self) -> Vec<Clip>; fn clips(&self) -> Vec<Clip>;
#[doc(alias = "ges_layer_get_clips_in_interval")] #[doc(alias = "ges_layer_get_clips_in_interval")]
fn get_clips_in_interval(&self, start: gst::ClockTime, end: gst::ClockTime) -> Vec<Clip>; fn clips_in_interval(&self, start: gst::ClockTime, end: gst::ClockTime) -> Vec<Clip>;
#[doc(alias = "ges_layer_get_duration")] #[doc(alias = "ges_layer_get_duration")]
fn duration(&self) -> gst::ClockTime; fn duration(&self) -> gst::ClockTime;
@ -221,7 +221,7 @@ impl<O: IsA<Layer>> LayerExt for O {
#[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg(any(feature = "v1_18", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
fn get_active_for_track<P: IsA<Track>>(&self, track: &P) -> bool { fn is_active_for_track<P: IsA<Track>>(&self, track: &P) -> bool {
unsafe { unsafe {
from_glib(ffi::ges_layer_get_active_for_track( from_glib(ffi::ges_layer_get_active_for_track(
self.as_ref().to_glib_none().0, self.as_ref().to_glib_none().0,
@ -246,7 +246,7 @@ impl<O: IsA<Layer>> LayerExt for O {
} }
} }
fn get_clips_in_interval(&self, start: gst::ClockTime, end: gst::ClockTime) -> Vec<Clip> { fn clips_in_interval(&self, start: gst::ClockTime, end: gst::ClockTime) -> Vec<Clip> {
unsafe { unsafe {
FromGlibPtrContainer::from_glib_full(ffi::ges_layer_get_clips_in_interval( FromGlibPtrContainer::from_glib_full(ffi::ges_layer_get_clips_in_interval(
self.as_ref().to_glib_none().0, self.as_ref().to_glib_none().0,

View file

@ -44,10 +44,10 @@ pub trait GESPipelineExt: 'static {
fn mode(&self) -> PipelineFlags; fn mode(&self) -> PipelineFlags;
#[doc(alias = "ges_pipeline_get_thumbnail")] #[doc(alias = "ges_pipeline_get_thumbnail")]
fn get_thumbnail(&self, caps: &gst::Caps) -> Option<gst::Sample>; fn thumbnail(&self, caps: &gst::Caps) -> Option<gst::Sample>;
#[doc(alias = "ges_pipeline_get_thumbnail_rgb24")] #[doc(alias = "ges_pipeline_get_thumbnail_rgb24")]
fn get_thumbnail_rgb24(&self, width: i32, height: i32) -> Option<gst::Sample>; fn thumbnail_rgb24(&self, width: i32, height: i32) -> Option<gst::Sample>;
#[doc(alias = "ges_pipeline_preview_get_audio_sink")] #[doc(alias = "ges_pipeline_preview_get_audio_sink")]
fn preview_get_audio_sink(&self) -> Option<gst::Element>; fn preview_get_audio_sink(&self) -> Option<gst::Element>;
@ -130,7 +130,7 @@ impl<O: IsA<Pipeline>> GESPipelineExt for O {
unsafe { from_glib(ffi::ges_pipeline_get_mode(self.as_ref().to_glib_none().0)) } unsafe { from_glib(ffi::ges_pipeline_get_mode(self.as_ref().to_glib_none().0)) }
} }
fn get_thumbnail(&self, caps: &gst::Caps) -> Option<gst::Sample> { fn thumbnail(&self, caps: &gst::Caps) -> Option<gst::Sample> {
unsafe { unsafe {
from_glib_full(ffi::ges_pipeline_get_thumbnail( from_glib_full(ffi::ges_pipeline_get_thumbnail(
self.as_ref().to_glib_none().0, self.as_ref().to_glib_none().0,
@ -139,7 +139,7 @@ impl<O: IsA<Pipeline>> GESPipelineExt for O {
} }
} }
fn get_thumbnail_rgb24(&self, width: i32, height: i32) -> Option<gst::Sample> { fn thumbnail_rgb24(&self, width: i32, height: i32) -> Option<gst::Sample> {
unsafe { unsafe {
from_glib_full(ffi::ges_pipeline_get_thumbnail_rgb24( from_glib_full(ffi::ges_pipeline_get_thumbnail_rgb24(
self.as_ref().to_glib_none().0, self.as_ref().to_glib_none().0,

View file

@ -58,7 +58,7 @@ pub trait ProjectExt: 'static {
) -> Result<Option<Asset>, glib::Error>; ) -> Result<Option<Asset>, glib::Error>;
#[doc(alias = "ges_project_get_asset")] #[doc(alias = "ges_project_get_asset")]
fn get_asset(&self, id: &str, extractable_type: glib::types::Type) -> Option<Asset>; fn asset(&self, id: &str, extractable_type: glib::types::Type) -> Option<Asset>;
#[doc(alias = "ges_project_get_loading_assets")] #[doc(alias = "ges_project_get_loading_assets")]
fn loading_assets(&self) -> Vec<Asset>; fn loading_assets(&self) -> Vec<Asset>;
@ -179,7 +179,7 @@ impl<O: IsA<Project>> ProjectExt for O {
} }
} }
fn get_asset(&self, id: &str, extractable_type: glib::types::Type) -> Option<Asset> { fn asset(&self, id: &str, extractable_type: glib::types::Type) -> Option<Asset> {
unsafe { unsafe {
from_glib_full(ffi::ges_project_get_asset( from_glib_full(ffi::ges_project_get_asset(
self.as_ref().to_glib_none().0, self.as_ref().to_glib_none().0,

View file

@ -93,35 +93,35 @@ pub trait TimelineExt: 'static {
fn duration(&self) -> gst::ClockTime; fn duration(&self) -> gst::ClockTime;
#[doc(alias = "ges_timeline_get_element")] #[doc(alias = "ges_timeline_get_element")]
fn get_element(&self, name: &str) -> Option<TimelineElement>; fn element(&self, name: &str) -> Option<TimelineElement>;
#[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg(any(feature = "v1_18", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
#[doc(alias = "ges_timeline_get_frame_at")] #[doc(alias = "ges_timeline_get_frame_at")]
fn get_frame_at(&self, timestamp: gst::ClockTime) -> FrameNumber; fn frame_at(&self, timestamp: gst::ClockTime) -> FrameNumber;
#[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg(any(feature = "v1_18", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
#[doc(alias = "ges_timeline_get_frame_time")] #[doc(alias = "ges_timeline_get_frame_time")]
fn get_frame_time(&self, frame_number: FrameNumber) -> gst::ClockTime; fn frame_time(&self, frame_number: FrameNumber) -> gst::ClockTime;
#[doc(alias = "ges_timeline_get_groups")] #[doc(alias = "ges_timeline_get_groups")]
fn groups(&self) -> Vec<Group>; fn groups(&self) -> Vec<Group>;
#[doc(alias = "ges_timeline_get_layer")] #[doc(alias = "ges_timeline_get_layer")]
fn get_layer(&self, priority: u32) -> Option<Layer>; fn layer(&self, priority: u32) -> Option<Layer>;
#[doc(alias = "ges_timeline_get_layers")] #[doc(alias = "ges_timeline_get_layers")]
fn layers(&self) -> Vec<Layer>; fn layers(&self) -> Vec<Layer>;
#[doc(alias = "ges_timeline_get_pad_for_track")] #[doc(alias = "ges_timeline_get_pad_for_track")]
fn get_pad_for_track<P: IsA<Track>>(&self, track: &P) -> Option<gst::Pad>; fn pad_for_track<P: IsA<Track>>(&self, track: &P) -> Option<gst::Pad>;
#[doc(alias = "ges_timeline_get_snapping_distance")] #[doc(alias = "ges_timeline_get_snapping_distance")]
fn snapping_distance(&self) -> gst::ClockTime; fn snapping_distance(&self) -> gst::ClockTime;
#[doc(alias = "ges_timeline_get_track_for_pad")] #[doc(alias = "ges_timeline_get_track_for_pad")]
fn get_track_for_pad<P: IsA<gst::Pad>>(&self, pad: &P) -> Option<Track>; fn track_for_pad<P: IsA<gst::Pad>>(&self, pad: &P) -> Option<Track>;
#[doc(alias = "ges_timeline_get_tracks")] #[doc(alias = "ges_timeline_get_tracks")]
fn tracks(&self) -> Vec<Track>; fn tracks(&self) -> Vec<Track>;
@ -276,7 +276,7 @@ impl<O: IsA<Timeline>> TimelineExt for O {
} }
} }
fn get_element(&self, name: &str) -> Option<TimelineElement> { fn element(&self, name: &str) -> Option<TimelineElement> {
unsafe { unsafe {
from_glib_full(ffi::ges_timeline_get_element( from_glib_full(ffi::ges_timeline_get_element(
self.as_ref().to_glib_none().0, self.as_ref().to_glib_none().0,
@ -287,7 +287,7 @@ impl<O: IsA<Timeline>> TimelineExt for O {
#[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg(any(feature = "v1_18", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
fn get_frame_at(&self, timestamp: gst::ClockTime) -> FrameNumber { fn frame_at(&self, timestamp: gst::ClockTime) -> FrameNumber {
unsafe { unsafe {
ffi::ges_timeline_get_frame_at(self.as_ref().to_glib_none().0, timestamp.to_glib()) ffi::ges_timeline_get_frame_at(self.as_ref().to_glib_none().0, timestamp.to_glib())
} }
@ -295,7 +295,7 @@ impl<O: IsA<Timeline>> TimelineExt for O {
#[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg(any(feature = "v1_18", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
fn get_frame_time(&self, frame_number: FrameNumber) -> gst::ClockTime { fn frame_time(&self, frame_number: FrameNumber) -> gst::ClockTime {
unsafe { unsafe {
from_glib(ffi::ges_timeline_get_frame_time( from_glib(ffi::ges_timeline_get_frame_time(
self.as_ref().to_glib_none().0, self.as_ref().to_glib_none().0,
@ -312,7 +312,7 @@ impl<O: IsA<Timeline>> TimelineExt for O {
} }
} }
fn get_layer(&self, priority: u32) -> Option<Layer> { fn layer(&self, priority: u32) -> Option<Layer> {
unsafe { unsafe {
from_glib_full(ffi::ges_timeline_get_layer( from_glib_full(ffi::ges_timeline_get_layer(
self.as_ref().to_glib_none().0, self.as_ref().to_glib_none().0,
@ -329,7 +329,7 @@ impl<O: IsA<Timeline>> TimelineExt for O {
} }
} }
fn get_pad_for_track<P: IsA<Track>>(&self, track: &P) -> Option<gst::Pad> { fn pad_for_track<P: IsA<Track>>(&self, track: &P) -> Option<gst::Pad> {
unsafe { unsafe {
from_glib_none(ffi::ges_timeline_get_pad_for_track( from_glib_none(ffi::ges_timeline_get_pad_for_track(
self.as_ref().to_glib_none().0, self.as_ref().to_glib_none().0,
@ -346,7 +346,7 @@ impl<O: IsA<Timeline>> TimelineExt for O {
} }
} }
fn get_track_for_pad<P: IsA<gst::Pad>>(&self, pad: &P) -> Option<Track> { fn track_for_pad<P: IsA<gst::Pad>>(&self, pad: &P) -> Option<Track> {
unsafe { unsafe {
from_glib_none(ffi::ges_timeline_get_track_for_pad( from_glib_none(ffi::ges_timeline_get_track_for_pad(
self.as_ref().to_glib_none().0, self.as_ref().to_glib_none().0,

View file

@ -71,16 +71,16 @@ pub trait TimelineElementExt: 'static {
) -> Result<(), glib::Error>; ) -> Result<(), glib::Error>;
//#[doc(alias = "ges_timeline_element_get_child_properties")] //#[doc(alias = "ges_timeline_element_get_child_properties")]
//fn get_child_properties(&self, first_property_name: &str, : /*Unknown conversion*//*Unimplemented*/Fundamental: VarArgs); //fn child_properties(&self, first_property_name: &str, : /*Unknown conversion*//*Unimplemented*/Fundamental: VarArgs);
//#[doc(alias = "ges_timeline_element_get_child_property")] //#[doc(alias = "ges_timeline_element_get_child_property")]
//fn get_child_property(&self, property_name: &str, value: /*Ignored*/glib::Value) -> bool; //fn child_property(&self, property_name: &str, value: /*Ignored*/glib::Value) -> bool;
//#[doc(alias = "ges_timeline_element_get_child_property_by_pspec")] //#[doc(alias = "ges_timeline_element_get_child_property_by_pspec")]
//fn get_child_property_by_pspec(&self, pspec: /*Ignored*/&glib::ParamSpec, value: /*Ignored*/glib::Value); //fn child_property_by_pspec(&self, pspec: /*Ignored*/&glib::ParamSpec, value: /*Ignored*/glib::Value);
//#[doc(alias = "ges_timeline_element_get_child_property_valist")] //#[doc(alias = "ges_timeline_element_get_child_property_valist")]
//fn get_child_property_valist(&self, first_property_name: &str, var_args: /*Unknown conversion*//*Unimplemented*/Unsupported); //fn child_property_valist(&self, first_property_name: &str, var_args: /*Unknown conversion*//*Unimplemented*/Unsupported);
#[doc(alias = "ges_timeline_element_get_duration")] #[doc(alias = "ges_timeline_element_get_duration")]
fn duration(&self) -> gst::ClockTime; fn duration(&self) -> gst::ClockTime;
@ -299,19 +299,19 @@ impl<O: IsA<TimelineElement>> TimelineElementExt for O {
} }
} }
//fn get_child_properties(&self, first_property_name: &str, : /*Unknown conversion*//*Unimplemented*/Fundamental: VarArgs) { //fn child_properties(&self, first_property_name: &str, : /*Unknown conversion*//*Unimplemented*/Fundamental: VarArgs) {
// unsafe { TODO: call ffi:ges_timeline_element_get_child_properties() } // unsafe { TODO: call ffi:ges_timeline_element_get_child_properties() }
//} //}
//fn get_child_property(&self, property_name: &str, value: /*Ignored*/glib::Value) -> bool { //fn child_property(&self, property_name: &str, value: /*Ignored*/glib::Value) -> bool {
// unsafe { TODO: call ffi:ges_timeline_element_get_child_property() } // unsafe { TODO: call ffi:ges_timeline_element_get_child_property() }
//} //}
//fn get_child_property_by_pspec(&self, pspec: /*Ignored*/&glib::ParamSpec, value: /*Ignored*/glib::Value) { //fn child_property_by_pspec(&self, pspec: /*Ignored*/&glib::ParamSpec, value: /*Ignored*/glib::Value) {
// unsafe { TODO: call ffi:ges_timeline_element_get_child_property_by_pspec() } // unsafe { TODO: call ffi:ges_timeline_element_get_child_property_by_pspec() }
//} //}
//fn get_child_property_valist(&self, first_property_name: &str, var_args: /*Unknown conversion*//*Unimplemented*/Unsupported) { //fn child_property_valist(&self, first_property_name: &str, var_args: /*Unknown conversion*//*Unimplemented*/Unsupported) {
// unsafe { TODO: call ffi:ges_timeline_element_get_child_property_valist() } // unsafe { TODO: call ffi:ges_timeline_element_get_child_property_valist() }
//} //}

View file

@ -62,7 +62,7 @@ pub trait TrackElementExt: 'static {
fn is_auto_clamp_control_sources(&self) -> bool; fn is_auto_clamp_control_sources(&self) -> bool;
//#[doc(alias = "ges_track_element_get_control_binding")] //#[doc(alias = "ges_track_element_get_control_binding")]
//fn get_control_binding(&self, property_name: &str) -> /*Ignored*/Option<gst::ControlBinding>; //fn control_binding(&self, property_name: &str) -> /*Ignored*/Option<gst::ControlBinding>;
#[doc(alias = "ges_track_element_get_element")] #[doc(alias = "ges_track_element_get_element")]
fn element(&self) -> Option<gst::Element>; fn element(&self) -> Option<gst::Element>;
@ -207,7 +207,7 @@ impl<O: IsA<TrackElement>> TrackElementExt for O {
} }
} }
//fn get_control_binding(&self, property_name: &str) -> /*Ignored*/Option<gst::ControlBinding> { //fn control_binding(&self, property_name: &str) -> /*Ignored*/Option<gst::ControlBinding> {
// unsafe { TODO: call ffi:ges_track_element_get_control_binding() } // unsafe { TODO: call ffi:ges_track_element_get_control_binding() }
//} //}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -37,7 +37,7 @@ impl GLDisplayEGL {
} }
//#[doc(alias = "gst_gl_display_egl_get_from_native")] //#[doc(alias = "gst_gl_display_egl_get_from_native")]
//pub fn get_from_native(type_: /*Ignored*/gst_gl::GLDisplayType, display: /*Unimplemented*/Fundamental: UIntPtr) -> /*Unimplemented*/Option<Fundamental: Pointer> { //pub fn from_native(type_: /*Ignored*/gst_gl::GLDisplayType, display: /*Unimplemented*/Fundamental: UIntPtr) -> /*Unimplemented*/Option<Fundamental: Pointer> {
// unsafe { TODO: call ffi:gst_gl_display_egl_get_from_native() } // unsafe { TODO: call ffi:gst_gl_display_egl_get_from_native() }
//} //}
} }

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -30,13 +30,13 @@ impl GLContext {
} }
#[doc(alias = "gst_gl_context_get_current")] #[doc(alias = "gst_gl_context_get_current")]
pub fn get_current() -> Option<GLContext> { pub fn current() -> Option<GLContext> {
assert_initialized_main_thread!(); assert_initialized_main_thread!();
unsafe { from_glib_none(ffi::gst_gl_context_get_current()) } unsafe { from_glib_none(ffi::gst_gl_context_get_current()) }
} }
#[doc(alias = "gst_gl_context_get_current_gl_api")] #[doc(alias = "gst_gl_context_get_current_gl_api")]
pub fn get_current_gl_api(platform: GLPlatform) -> (GLAPI, u32, u32) { pub fn current_gl_api(platform: GLPlatform) -> (GLAPI, u32, u32) {
assert_initialized_main_thread!(); assert_initialized_main_thread!();
unsafe { unsafe {
let mut major = mem::MaybeUninit::uninit(); let mut major = mem::MaybeUninit::uninit();

View file

@ -18,7 +18,7 @@ glib::wrapper! {
impl GLMemoryAllocator { impl GLMemoryAllocator {
#[doc(alias = "gst_gl_memory_allocator_get_default")] #[doc(alias = "gst_gl_memory_allocator_get_default")]
pub fn get_default<P: IsA<GLContext>>(context: &P) -> Option<GLMemoryAllocator> { pub fn default<P: IsA<GLContext>>(context: &P) -> Option<GLMemoryAllocator> {
skip_assert_initialized!(); skip_assert_initialized!();
unsafe { unsafe {
from_glib_full(ffi::gst_gl_memory_allocator_get_default( from_glib_full(ffi::gst_gl_memory_allocator_get_default(

View file

@ -133,7 +133,7 @@ impl GLShader {
} }
#[doc(alias = "gst_gl_shader_get_attribute_location")] #[doc(alias = "gst_gl_shader_get_attribute_location")]
pub fn get_attribute_location(&self, name: &str) -> i32 { pub fn attribute_location(&self, name: &str) -> i32 {
unsafe { unsafe {
ffi::gst_gl_shader_get_attribute_location(self.to_glib_none().0, name.to_glib_none().0) ffi::gst_gl_shader_get_attribute_location(self.to_glib_none().0, name.to_glib_none().0)
} }

View file

@ -81,7 +81,7 @@ impl GLUpload {
} }
#[doc(alias = "gst_gl_upload_get_input_template_caps")] #[doc(alias = "gst_gl_upload_get_input_template_caps")]
pub fn get_input_template_caps() -> gst::Caps { pub fn input_template_caps() -> gst::Caps {
assert_initialized_main_thread!(); assert_initialized_main_thread!();
unsafe { from_glib_full(ffi::gst_gl_upload_get_input_template_caps()) } unsafe { from_glib_full(ffi::gst_gl_upload_get_input_template_caps()) }
} }

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -97,7 +97,7 @@ impl DiscovererInfo {
} }
#[doc(alias = "gst_discoverer_info_get_streams")] #[doc(alias = "gst_discoverer_info_get_streams")]
pub fn get_streams(&self, streamtype: glib::types::Type) -> Vec<DiscovererStreamInfo> { pub fn streams(&self, streamtype: glib::types::Type) -> Vec<DiscovererStreamInfo> {
unsafe { unsafe {
FromGlibPtrContainer::from_glib_full(ffi::gst_discoverer_info_get_streams( FromGlibPtrContainer::from_glib_full(ffi::gst_discoverer_info_get_streams(
self.to_glib_none().0, self.to_glib_none().0,

View file

@ -62,7 +62,7 @@ impl EncodingTarget {
} }
#[doc(alias = "gst_encoding_target_get_profile")] #[doc(alias = "gst_encoding_target_get_profile")]
pub fn get_profile(&self, name: &str) -> Option<EncodingProfile> { pub fn profile(&self, name: &str) -> Option<EncodingProfile> {
unsafe { unsafe {
from_glib_full(ffi::gst_encoding_target_get_profile( from_glib_full(ffi::gst_encoding_target_get_profile(
self.to_glib_none().0, self.to_glib_none().0,

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67) // Generated by gir (https://github.com/gtk-rs/gir @ f2739a9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
// DO NOT EDIT // DO NOT EDIT

Some files were not shown because too many files have changed in this diff Show more