regen: use type_ for glib macros

This also includes a new substitution for bool getters:
get_need_... -> needs_...
This commit is contained in:
François Laignel 2021-04-19 21:55:01 +02:00
parent 6cf3771be5
commit 172a4d47ab
302 changed files with 2429 additions and 1014 deletions

View file

@ -39,8 +39,8 @@ to avoid polling.
# Implements # Implements
[`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`gst::URIHandlerExt`](../gst/trait.URIHandlerExt.html) [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`], [`trait@gst::URIHandlerExt`]
<!-- impl AppSink::fn get_buffer_list_support --> <!-- impl AppSink::fn is_buffer_list_support -->
Check if `self` supports buffer lists. Check if `self` supports buffer lists.
Feature: `v1_12` Feature: `v1_12`
@ -49,13 +49,13 @@ Feature: `v1_12`
# Returns # Returns
`true` if `self` supports buffer lists. `true` if `self` supports buffer lists.
<!-- impl AppSink::fn get_caps --> <!-- impl AppSink::fn caps -->
Get the configured caps on `self`. Get the configured caps on `self`.
# Returns # Returns
the `gst::Caps` accepted by the sink. `gst_caps_unref` after usage. the `gst::Caps` accepted by the sink. `gst_caps_unref` after usage.
<!-- impl AppSink::fn get_drop --> <!-- impl AppSink::fn is_drop -->
Check if `self` will drop old buffers when the maximum amount of queued Check if `self` will drop old buffers when the maximum amount of queued
buffers is reached. buffers is reached.
@ -63,20 +63,20 @@ buffers is reached.
`true` if `self` is dropping old buffers when the queue is `true` if `self` is dropping old buffers when the queue is
filled. filled.
<!-- impl AppSink::fn get_emit_signals --> <!-- impl AppSink::fn emits_signals -->
Check if appsink will emit the "new-preroll" and "new-sample" signals. Check if appsink will emit the "new-preroll" and "new-sample" signals.
# Returns # Returns
`true` if `self` is emitting the "new-preroll" and "new-sample" `true` if `self` is emitting the "new-preroll" and "new-sample"
signals. signals.
<!-- impl AppSink::fn get_max_buffers --> <!-- impl AppSink::fn max_buffers -->
Get the maximum amount of buffers that can be queued in `self`. Get the maximum amount of buffers that can be queued in `self`.
# Returns # Returns
The maximum amount of buffers that can be queued. The maximum amount of buffers that can be queued.
<!-- impl AppSink::fn get_wait_on_eos --> <!-- impl AppSink::fn is_wait_on_eos -->
Check if `self` will wait for all buffers to be consumed when an EOS is Check if `self` will wait for all buffers to be consumed when an EOS is
received. received.
@ -433,7 +433,7 @@ occurs or the state of the appsrc has gone through READY.
# Implements # Implements
[`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`gst::URIHandlerExt`](../gst/trait.URIHandlerExt.html) [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`], [`trait@gst::URIHandlerExt`]
<!-- impl AppSrc::fn end_of_stream --> <!-- impl AppSrc::fn end_of_stream -->
Indicates to the appsrc element that the last buffer queued in the Indicates to the appsrc element that the last buffer queued in the
element is the last buffer of the stream. element is the last buffer of the stream.
@ -442,19 +442,19 @@ element is the last buffer of the stream.
`gst::FlowReturn::Ok` when the EOS was successfully queued. `gst::FlowReturn::Ok` when the EOS was successfully queued.
`gst::FlowReturn::Flushing` when `self` is not PAUSED or PLAYING. `gst::FlowReturn::Flushing` when `self` is not PAUSED or PLAYING.
<!-- impl AppSrc::fn get_caps --> <!-- impl AppSrc::fn caps -->
Get the configured caps on `self`. Get the configured caps on `self`.
# Returns # Returns
the `gst::Caps` produced by the source. `gst_caps_unref` after usage. the `gst::Caps` produced by the source. `gst_caps_unref` after usage.
<!-- impl AppSrc::fn get_current_level_bytes --> <!-- impl AppSrc::fn current_level_bytes -->
Get the number of currently queued bytes inside `self`. Get the number of currently queued bytes inside `self`.
# Returns # Returns
The number of currently queued bytes. The number of currently queued bytes.
<!-- impl AppSrc::fn get_duration --> <!-- impl AppSrc::fn duration -->
Get the duration of the stream in nanoseconds. A value of GST_CLOCK_TIME_NONE means that the duration is Get the duration of the stream in nanoseconds. A value of GST_CLOCK_TIME_NONE means that the duration is
not known. not known.
@ -464,33 +464,33 @@ Feature: `v1_10`
# Returns # Returns
the duration of the stream previously set with `AppSrc::set_duration`; the duration of the stream previously set with `AppSrc::set_duration`;
<!-- impl AppSrc::fn get_emit_signals --> <!-- impl AppSrc::fn emits_signals -->
Check if appsrc will emit the "new-preroll" and "new-buffer" signals. Check if appsrc will emit the "new-preroll" and "new-buffer" signals.
# Returns # Returns
`true` if `self` is emitting the "new-preroll" and "new-buffer" `true` if `self` is emitting the "new-preroll" and "new-buffer"
signals. signals.
<!-- impl AppSrc::fn get_latency --> <!-- impl AppSrc::fn latency -->
Retrieve the min and max latencies in `min` and `max` respectively. Retrieve the min and max latencies in `min` and `max` respectively.
## `min` ## `min`
the min latency the min latency
## `max` ## `max`
the max latency the max latency
<!-- impl AppSrc::fn get_max_bytes --> <!-- impl AppSrc::fn max_bytes -->
Get the maximum amount of bytes that can be queued in `self`. Get the maximum amount of bytes that can be queued in `self`.
# Returns # Returns
The maximum amount of bytes that can be queued. The maximum amount of bytes that can be queued.
<!-- impl AppSrc::fn get_size --> <!-- impl AppSrc::fn size -->
Get the size of the stream in bytes. A value of -1 means that the size is Get the size of the stream in bytes. A value of -1 means that the size is
not known. not known.
# Returns # Returns
the size of the stream previously set with `AppSrc::set_size`; the size of the stream previously set with `AppSrc::set_size`;
<!-- impl AppSrc::fn get_stream_type --> <!-- impl AppSrc::fn stream_type -->
Get the stream type. Control the stream type of `self` Get the stream type. Control the stream type of `self`
with `AppSrc::set_stream_type`. with `AppSrc::set_stream_type`.

View file

@ -6,13 +6,13 @@ writing samples to the ringbuffer, synchronisation, clipping and flushing.
# Implements # Implements
[`AudioBaseSinkExt`](trait.AudioBaseSinkExt.html), [`gst_base::BaseSinkExt`](../gst_base/trait.BaseSinkExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`AudioBaseSinkExt`](trait@crate::AudioBaseSinkExt), [`trait@gst_base::BaseSinkExt`], [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- trait AudioBaseSinkExt --> <!-- trait AudioBaseSinkExt -->
Trait containing all `AudioBaseSink` methods. Trait containing all `AudioBaseSink` methods.
# Implementors # Implementors
[`AudioBaseSink`](struct.AudioBaseSink.html), [`AudioSink`](struct.AudioSink.html) [`AudioBaseSink`](struct@crate::AudioBaseSink), [`AudioSink`](struct@crate::AudioSink)
<!-- trait AudioBaseSinkExt::fn create_ringbuffer --> <!-- trait AudioBaseSinkExt::fn create_ringbuffer -->
Create and return the `AudioRingBuffer` for `self`. This function will Create and return the `AudioRingBuffer` for `self`. This function will
call the ::create_ringbuffer vmethod and will set `self` as the parent of call the ::create_ringbuffer vmethod and will set `self` as the parent of
@ -21,32 +21,32 @@ the returned buffer (see `gst::ObjectExt::set_parent`).
# Returns # Returns
The new ringbuffer of `self`. The new ringbuffer of `self`.
<!-- trait AudioBaseSinkExt::fn get_alignment_threshold --> <!-- trait AudioBaseSinkExt::fn alignment_threshold -->
Get the current alignment threshold, in nanoseconds, used by `self`. Get the current alignment threshold, in nanoseconds, used by `self`.
# Returns # Returns
The current alignment threshold used by `self`. The current alignment threshold used by `self`.
<!-- trait AudioBaseSinkExt::fn get_discont_wait --> <!-- trait AudioBaseSinkExt::fn discont_wait -->
Get the current discont wait, in nanoseconds, used by `self`. Get the current discont wait, in nanoseconds, used by `self`.
# Returns # Returns
The current discont wait used by `self`. The current discont wait used by `self`.
<!-- trait AudioBaseSinkExt::fn get_drift_tolerance --> <!-- trait AudioBaseSinkExt::fn drift_tolerance -->
Get the current drift tolerance, in microseconds, used by `self`. Get the current drift tolerance, in microseconds, used by `self`.
# Returns # Returns
The current drift tolerance used by `self`. The current drift tolerance used by `self`.
<!-- trait AudioBaseSinkExt::fn get_provide_clock --> <!-- trait AudioBaseSinkExt::fn is_provide_clock -->
Queries whether `self` will provide a clock or not. See also Queries whether `self` will provide a clock or not. See also
gst_audio_base_sink_set_provide_clock. gst_audio_base_sink_set_provide_clock.
# Returns # Returns
`true` if `self` will provide a clock. `true` if `self` will provide a clock.
<!-- trait AudioBaseSinkExt::fn get_slave_method --> <!-- trait AudioBaseSinkExt::fn slave_method -->
Get the current slave method used by `self`. Get the current slave method used by `self`.
# Returns # Returns
@ -115,13 +115,13 @@ reading samples from the ringbuffer, synchronisation and flushing.
# Implements # Implements
[`AudioBaseSrcExt`](trait.AudioBaseSrcExt.html), [`gst_base::BaseSrcExt`](../gst_base/trait.BaseSrcExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`AudioBaseSrcExt`](trait@crate::AudioBaseSrcExt), [`trait@gst_base::BaseSrcExt`], [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- trait AudioBaseSrcExt --> <!-- trait AudioBaseSrcExt -->
Trait containing all `AudioBaseSrc` methods. Trait containing all `AudioBaseSrc` methods.
# Implementors # Implementors
[`AudioBaseSrc`](struct.AudioBaseSrc.html), [`AudioSrc`](struct.AudioSrc.html) [`AudioBaseSrc`](struct@crate::AudioBaseSrc), [`AudioSrc`](struct@crate::AudioSrc)
<!-- trait AudioBaseSrcExt::fn create_ringbuffer --> <!-- trait AudioBaseSrcExt::fn create_ringbuffer -->
Create and return the `AudioRingBuffer` for `self`. This function will call Create and return the `AudioRingBuffer` for `self`. This function will call
the ::create_ringbuffer vmethod and will set `self` as the parent of the the ::create_ringbuffer vmethod and will set `self` as the parent of the
@ -130,14 +130,14 @@ returned buffer (see `gst::ObjectExt::set_parent`).
# Returns # Returns
The new ringbuffer of `self`. The new ringbuffer of `self`.
<!-- trait AudioBaseSrcExt::fn get_provide_clock --> <!-- trait AudioBaseSrcExt::fn is_provide_clock -->
Queries whether `self` will provide a clock or not. See also Queries whether `self` will provide a clock or not. See also
gst_audio_base_src_set_provide_clock. gst_audio_base_src_set_provide_clock.
# Returns # Returns
`true` if `self` will provide a clock. `true` if `self` will provide a clock.
<!-- trait AudioBaseSrcExt::fn get_slave_method --> <!-- trait AudioBaseSrcExt::fn slave_method -->
Get the current slave method used by `self`. Get the current slave method used by `self`.
# Returns # Returns
@ -342,13 +342,13 @@ This is an Abstract Base Class, you cannot instantiate it.
# Implements # Implements
[`AudioDecoderExt`](trait.AudioDecoderExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`AudioDecoderExtManual`](prelude/trait.AudioDecoderExtManual.html) [`AudioDecoderExt`](trait@crate::AudioDecoderExt), [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`], [`AudioDecoderExtManual`](trait@crate::AudioDecoderExtManual)
<!-- trait AudioDecoderExt --> <!-- trait AudioDecoderExt -->
Trait containing all `AudioDecoder` methods. Trait containing all `AudioDecoder` methods.
# Implementors # Implementors
[`AudioDecoder`](struct.AudioDecoder.html) [`AudioDecoder`](struct@crate::AudioDecoder)
<!-- trait AudioDecoderExt::fn allocate_output_buffer --> <!-- trait AudioDecoderExt::fn allocate_output_buffer -->
Helper function that allocates a buffer to hold an audio frame Helper function that allocates a buffer to hold an audio frame
for `self`'s current output format. for `self`'s current output format.
@ -400,7 +400,7 @@ decoded data
# Returns # Returns
a `gst::FlowReturn` that should be escalated to caller (of caller) a `gst::FlowReturn` that should be escalated to caller (of caller)
<!-- trait AudioDecoderExt::fn get_allocator --> <!-- trait AudioDecoderExt::fn allocator -->
Lets `AudioDecoder` sub-classes to know the memory `allocator` Lets `AudioDecoder` sub-classes to know the memory `allocator`
used by the base class and its `params`. used by the base class and its `params`.
@ -411,17 +411,17 @@ used
## `params` ## `params`
the the
`gst::AllocationParams` of `allocator` `gst::AllocationParams` of `allocator`
<!-- trait AudioDecoderExt::fn get_audio_info --> <!-- trait AudioDecoderExt::fn audio_info -->
# Returns # Returns
a `AudioInfo` describing the input audio format a `AudioInfo` describing the input audio format
<!-- trait AudioDecoderExt::fn get_delay --> <!-- trait AudioDecoderExt::fn delay -->
# Returns # Returns
currently configured decoder delay currently configured decoder delay
<!-- trait AudioDecoderExt::fn get_drainable --> <!-- trait AudioDecoderExt::fn is_drainable -->
Queries decoder drain handling. Queries decoder drain handling.
# Returns # Returns
@ -429,24 +429,24 @@ Queries decoder drain handling.
TRUE if drainable handling is enabled. TRUE if drainable handling is enabled.
MT safe. MT safe.
<!-- trait AudioDecoderExt::fn get_estimate_rate --> <!-- trait AudioDecoderExt::fn estimate_rate -->
# Returns # Returns
currently configured byte to time conversion setting currently configured byte to time conversion setting
<!-- trait AudioDecoderExt::fn get_latency --> <!-- trait AudioDecoderExt::fn latency -->
Sets the variables pointed to by `min` and `max` to the currently configured Sets the variables pointed to by `min` and `max` to the currently configured
latency. latency.
## `min` ## `min`
a pointer to storage to hold minimum latency a pointer to storage to hold minimum latency
## `max` ## `max`
a pointer to storage to hold maximum latency a pointer to storage to hold maximum latency
<!-- trait AudioDecoderExt::fn get_max_errors --> <!-- trait AudioDecoderExt::fn max_errors -->
# Returns # Returns
currently configured decoder tolerated error count. currently configured decoder tolerated error count.
<!-- trait AudioDecoderExt::fn get_min_latency --> <!-- trait AudioDecoderExt::fn min_latency -->
Queries decoder's latency aggregation. Queries decoder's latency aggregation.
# Returns # Returns
@ -454,7 +454,7 @@ Queries decoder's latency aggregation.
aggregation latency. aggregation latency.
MT safe. MT safe.
<!-- trait AudioDecoderExt::fn get_needs_format --> <!-- trait AudioDecoderExt::fn needs_format -->
Queries decoder required format handling. Queries decoder required format handling.
# Returns # Returns
@ -462,13 +462,13 @@ Queries decoder required format handling.
TRUE if required format handling is enabled. TRUE if required format handling is enabled.
MT safe. MT safe.
<!-- trait AudioDecoderExt::fn get_parse_state --> <!-- trait AudioDecoderExt::fn parse_state -->
Return current parsing (sync and eos) state. Return current parsing (sync and eos) state.
## `sync` ## `sync`
a pointer to a variable to hold the current sync state a pointer to a variable to hold the current sync state
## `eos` ## `eos`
a pointer to a variable to hold the current eos state a pointer to a variable to hold the current eos state
<!-- trait AudioDecoderExt::fn get_plc --> <!-- trait AudioDecoderExt::fn is_plc -->
Queries decoder packet loss concealment handling. Queries decoder packet loss concealment handling.
# Returns # Returns
@ -476,12 +476,12 @@ Queries decoder packet loss concealment handling.
TRUE if packet loss concealment is enabled. TRUE if packet loss concealment is enabled.
MT safe. MT safe.
<!-- trait AudioDecoderExt::fn get_plc_aware --> <!-- trait AudioDecoderExt::fn plc_aware -->
# Returns # Returns
currently configured plc handling currently configured plc handling
<!-- trait AudioDecoderExt::fn get_tolerance --> <!-- trait AudioDecoderExt::fn tolerance -->
Queries current audio jitter tolerance threshold. Queries current audio jitter tolerance threshold.
# Returns # Returns
@ -741,13 +741,13 @@ This is an Abstract Base Class, you cannot instantiate it.
# Implements # Implements
[`AudioEncoderExt`](trait.AudioEncoderExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`AudioEncoderExtManual`](prelude/trait.AudioEncoderExtManual.html) [`AudioEncoderExt`](trait@crate::AudioEncoderExt), [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`], [`AudioEncoderExtManual`](trait@crate::AudioEncoderExtManual)
<!-- trait AudioEncoderExt --> <!-- trait AudioEncoderExt -->
Trait containing all `AudioEncoder` methods. Trait containing all `AudioEncoder` methods.
# Implementors # Implementors
[`AudioEncoder`](struct.AudioEncoder.html) [`AudioEncoder`](struct@crate::AudioEncoder)
<!-- trait AudioEncoderExt::fn allocate_output_buffer --> <!-- trait AudioEncoderExt::fn allocate_output_buffer -->
Helper function that allocates a buffer to hold an encoded audio frame Helper function that allocates a buffer to hold an encoded audio frame
for `self`'s current output format. for `self`'s current output format.
@ -776,7 +776,7 @@ number of samples (per channel) represented by encoded data
# Returns # Returns
a `gst::FlowReturn` that should be escalated to caller (of caller) a `gst::FlowReturn` that should be escalated to caller (of caller)
<!-- trait AudioEncoderExt::fn get_allocator --> <!-- trait AudioEncoderExt::fn allocator -->
Lets `AudioEncoder` sub-classes to know the memory `allocator` Lets `AudioEncoder` sub-classes to know the memory `allocator`
used by the base class and its `params`. used by the base class and its `params`.
@ -787,12 +787,12 @@ used
## `params` ## `params`
the the
`gst::AllocationParams` of `allocator` `gst::AllocationParams` of `allocator`
<!-- trait AudioEncoderExt::fn get_audio_info --> <!-- trait AudioEncoderExt::fn audio_info -->
# Returns # Returns
a `AudioInfo` describing the input audio format a `AudioInfo` describing the input audio format
<!-- trait AudioEncoderExt::fn get_drainable --> <!-- trait AudioEncoderExt::fn is_drainable -->
Queries encoder drain handling. Queries encoder drain handling.
# Returns # Returns
@ -800,22 +800,22 @@ Queries encoder drain handling.
TRUE if drainable handling is enabled. TRUE if drainable handling is enabled.
MT safe. MT safe.
<!-- trait AudioEncoderExt::fn get_frame_max --> <!-- trait AudioEncoderExt::fn frame_max -->
# Returns # Returns
currently configured maximum handled frames currently configured maximum handled frames
<!-- trait AudioEncoderExt::fn get_frame_samples_max --> <!-- trait AudioEncoderExt::fn frame_samples_max -->
# Returns # Returns
currently maximum requested samples per frame currently maximum requested samples per frame
<!-- trait AudioEncoderExt::fn get_frame_samples_min --> <!-- trait AudioEncoderExt::fn frame_samples_min -->
# Returns # Returns
currently minimum requested samples per frame currently minimum requested samples per frame
<!-- trait AudioEncoderExt::fn get_hard_min --> <!-- trait AudioEncoderExt::fn is_hard_min -->
Queries encoder hard minimum handling. Queries encoder hard minimum handling.
# Returns # Returns
@ -823,19 +823,19 @@ Queries encoder hard minimum handling.
TRUE if hard minimum handling is enabled. TRUE if hard minimum handling is enabled.
MT safe. MT safe.
<!-- trait AudioEncoderExt::fn get_latency --> <!-- trait AudioEncoderExt::fn latency -->
Sets the variables pointed to by `min` and `max` to the currently configured Sets the variables pointed to by `min` and `max` to the currently configured
latency. latency.
## `min` ## `min`
a pointer to storage to hold minimum latency a pointer to storage to hold minimum latency
## `max` ## `max`
a pointer to storage to hold maximum latency a pointer to storage to hold maximum latency
<!-- trait AudioEncoderExt::fn get_lookahead --> <!-- trait AudioEncoderExt::fn lookahead -->
# Returns # Returns
currently configured encoder lookahead currently configured encoder lookahead
<!-- trait AudioEncoderExt::fn get_mark_granule --> <!-- trait AudioEncoderExt::fn is_mark_granule -->
Queries if the encoder will handle granule marking. Queries if the encoder will handle granule marking.
# Returns # Returns
@ -843,7 +843,7 @@ Queries if the encoder will handle granule marking.
TRUE if granule marking is enabled. TRUE if granule marking is enabled.
MT safe. MT safe.
<!-- trait AudioEncoderExt::fn get_perfect_timestamp --> <!-- trait AudioEncoderExt::fn is_perfect_timestamp -->
Queries encoder perfect timestamp behaviour. Queries encoder perfect timestamp behaviour.
# Returns # Returns
@ -851,7 +851,7 @@ Queries encoder perfect timestamp behaviour.
TRUE if perfect timestamp setting enabled. TRUE if perfect timestamp setting enabled.
MT safe. MT safe.
<!-- trait AudioEncoderExt::fn get_tolerance --> <!-- trait AudioEncoderExt::fn tolerance -->
Queries current audio jitter tolerance threshold. Queries current audio jitter tolerance threshold.
# Returns # Returns
@ -1109,6 +1109,8 @@ complex layout
<!-- struct AudioFormatFlags::const UNPACK --> <!-- struct AudioFormatFlags::const UNPACK -->
the format can be used in the format can be used in
`GstAudioFormatUnpack` and `GstAudioFormatPack` functions `GstAudioFormatUnpack` and `GstAudioFormatPack` functions
<!-- struct AudioFormatInfo -->
Information for an audio format.
<!-- struct AudioInfo --> <!-- struct AudioInfo -->
Information describing audio properties. This information can be filled Information describing audio properties. This information can be filled
in from GstCaps with `AudioInfo::from_caps`. in from GstCaps with `AudioInfo::from_caps`.
@ -1286,7 +1288,7 @@ together with `AudioBaseSink` using a default implementation of a
# Implements # Implements
[`AudioBaseSinkExt`](trait.AudioBaseSinkExt.html), [`gst_base::BaseSinkExt`](../gst_base/trait.BaseSinkExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`AudioBaseSinkExt`](trait@crate::AudioBaseSinkExt), [`trait@gst_base::BaseSinkExt`], [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- struct AudioSrc --> <!-- struct AudioSrc -->
This is the most simple base class for audio sources that only requires This is the most simple base class for audio sources that only requires
subclasses to implement a set of simple functions: subclasses to implement a set of simple functions:
@ -1305,7 +1307,7 @@ together with `AudioBaseSrc` using a default implementation of a
# Implements # Implements
[`AudioBaseSrcExt`](trait.AudioBaseSrcExt.html), [`gst_base::BaseSrcExt`](../gst_base/trait.BaseSrcExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`AudioBaseSrcExt`](trait@crate::AudioBaseSrcExt), [`trait@gst_base::BaseSrcExt`], [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- struct AudioStreamAlign --> <!-- struct AudioStreamAlign -->
`AudioStreamAlign` provides a helper object that helps tracking audio `AudioStreamAlign` provides a helper object that helps tracking audio
stream alignment and discontinuities, and detects discontinuities if stream alignment and discontinuities, and detects discontinuities if
@ -1485,13 +1487,13 @@ The volume property is defined to be a linear volume factor.
# Implements # Implements
[`StreamVolumeExt`](trait.StreamVolumeExt.html) [`StreamVolumeExt`](trait@crate::StreamVolumeExt)
<!-- trait StreamVolumeExt --> <!-- trait StreamVolumeExt -->
Trait containing all `StreamVolume` methods. Trait containing all `StreamVolume` methods.
# Implementors # Implementors
[`StreamVolume`](struct.StreamVolume.html) [`StreamVolume`](struct@crate::StreamVolume)
<!-- impl StreamVolume::fn convert_volume --> <!-- impl StreamVolume::fn convert_volume -->
## `from` ## `from`
`StreamVolumeFormat` to convert from `StreamVolumeFormat` to convert from
@ -1503,7 +1505,7 @@ Volume in `from` format that should be converted
# Returns # Returns
the converted volume the converted volume
<!-- trait StreamVolumeExt::fn get_mute --> <!-- trait StreamVolumeExt::fn is_muted -->
# Returns # Returns

View file

@ -103,7 +103,7 @@ buffer pushed in it.
# Implements # Implements
[`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`trait@glib::object::ObjectExt`]
<!-- impl Adapter::fn new --> <!-- impl Adapter::fn new -->
Creates a new `Adapter`. Free with `glib::object::ObjectExt::unref`. Creates a new `Adapter`. Free with `glib::object::ObjectExt::unref`.
@ -627,7 +627,7 @@ Feature: `v1_14`
# Implements # Implements
[`AggregatorExt`](trait.AggregatorExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`AggregatorExtManual`](prelude/trait.AggregatorExtManual.html) [`AggregatorExt`](trait@crate::AggregatorExt), [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`], [`AggregatorExtManual`](trait@crate::AggregatorExtManual)
<!-- trait AggregatorExt --> <!-- trait AggregatorExt -->
Trait containing all `Aggregator` methods. Trait containing all `Aggregator` methods.
@ -635,7 +635,7 @@ Feature: `v1_14`
# Implementors # Implementors
[`Aggregator`](struct.Aggregator.html) [`Aggregator`](struct@crate::Aggregator)
<!-- trait AggregatorExt::fn finish_buffer --> <!-- trait AggregatorExt::fn finish_buffer -->
This method will push the provided output buffer downstream. If needed, This method will push the provided output buffer downstream. If needed,
mandatory events such as stream-start, caps, and segment events will be mandatory events such as stream-start, caps, and segment events will be
@ -654,7 +654,7 @@ Feature: `v1_18`
## `bufferlist` ## `bufferlist`
the `gst::BufferList` to push. the `gst::BufferList` to push.
<!-- trait AggregatorExt::fn get_allocator --> <!-- trait AggregatorExt::fn allocator -->
Lets `Aggregator` sub-classes get the memory `allocator` Lets `Aggregator` sub-classes get the memory `allocator`
acquired by the base class and its `params`. acquired by the base class and its `params`.
@ -668,7 +668,7 @@ used
## `params` ## `params`
the the
`gst::AllocationParams` of `allocator` `gst::AllocationParams` of `allocator`
<!-- trait AggregatorExt::fn get_buffer_pool --> <!-- trait AggregatorExt::fn buffer_pool -->
Feature: `v1_14` Feature: `v1_14`
@ -677,7 +677,7 @@ Feature: `v1_14`
the instance of the `gst::BufferPool` used the instance of the `gst::BufferPool` used
by `trans`; free it after use it by `trans`; free it after use it
<!-- trait AggregatorExt::fn get_latency --> <!-- trait AggregatorExt::fn latency -->
Retrieves the latency values reported by `self` in response to the latency Retrieves the latency values reported by `self` in response to the latency
query, or `GST_CLOCK_TIME_NONE` if there is not live source connected and the element query, or `GST_CLOCK_TIME_NONE` if there is not live source connected and the element
will not wait for the clock. will not wait for the clock.
@ -835,7 +835,7 @@ Feature: `v1_14`
# Implements # Implements
[`AggregatorPadExt`](trait.AggregatorPadExt.html), [`gst::PadExt`](../gst/trait.PadExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`AggregatorPadExtManual`](prelude/trait.AggregatorPadExtManual.html) [`AggregatorPadExt`](trait@crate::AggregatorPadExt), [`trait@gst::PadExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`], [`AggregatorPadExtManual`](trait@crate::AggregatorPadExtManual)
<!-- trait AggregatorPadExt --> <!-- trait AggregatorPadExt -->
Trait containing all `AggregatorPad` methods. Trait containing all `AggregatorPad` methods.
@ -843,7 +843,7 @@ Feature: `v1_14`
# Implementors # Implementors
[`AggregatorPad`](struct.AggregatorPad.html) [`AggregatorPad`](struct@crate::AggregatorPad)
<!-- trait AggregatorPadExt::fn drop_buffer --> <!-- trait AggregatorPadExt::fn drop_buffer -->
Drop the buffer currently queued in `self`. Drop the buffer currently queued in `self`.
@ -1055,13 +1055,13 @@ This is an Abstract Base Class, you cannot instantiate it.
# Implements # Implements
[`BaseParseExt`](trait.BaseParseExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`BaseParseExtManual`](prelude/trait.BaseParseExtManual.html) [`BaseParseExt`](trait@crate::BaseParseExt), [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`], [`BaseParseExtManual`](trait@crate::BaseParseExtManual)
<!-- trait BaseParseExt --> <!-- trait BaseParseExt -->
Trait containing all `BaseParse` methods. Trait containing all `BaseParse` methods.
# Implementors # Implementors
[`BaseParse`](struct.BaseParse.html) [`BaseParse`](struct@crate::BaseParse)
<!-- trait BaseParseExt::fn add_index_entry --> <!-- trait BaseParseExt::fn add_index_entry -->
Adds an entry to the index associating `offset` to `ts`. It is recommended Adds an entry to the index associating `offset` to `ts`. It is recommended
to only add keyframe entries. `force` allows to bypass checks, such as to only add keyframe entries. `force` allows to bypass checks, such as
@ -1441,13 +1441,13 @@ This is an Abstract Base Class, you cannot instantiate it.
# Implements # Implements
[`BaseSinkExt`](trait.BaseSinkExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`BaseSinkExtManual`](prelude/trait.BaseSinkExtManual.html) [`BaseSinkExt`](trait@crate::BaseSinkExt), [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`], [`BaseSinkExtManual`](trait@crate::BaseSinkExtManual)
<!-- trait BaseSinkExt --> <!-- trait BaseSinkExt -->
Trait containing all `BaseSink` methods. Trait containing all `BaseSink` methods.
# Implementors # Implementors
[`BaseSink`](struct.BaseSink.html) [`BaseSink`](struct@crate::BaseSink)
<!-- trait BaseSinkExt::fn do_preroll --> <!-- trait BaseSinkExt::fn do_preroll -->
If the `self` spawns its own thread for pulling buffers from upstream it If the `self` spawns its own thread for pulling buffers from upstream it
should call this method after it has pulled a buffer. If the element needed should call this method after it has pulled a buffer. If the element needed
@ -1462,14 +1462,14 @@ the mini object that caused the preroll
`gst::FlowReturn::Ok` if the preroll completed and processing can `gst::FlowReturn::Ok` if the preroll completed and processing can
continue. Any other return value should be returned from the render vmethod. continue. Any other return value should be returned from the render vmethod.
<!-- trait BaseSinkExt::fn get_blocksize --> <!-- trait BaseSinkExt::fn blocksize -->
Get the number of bytes that the sink will pull when it is operating in pull Get the number of bytes that the sink will pull when it is operating in pull
mode. mode.
# Returns # Returns
the number of bytes `self` will pull in pull mode. the number of bytes `self` will pull in pull mode.
<!-- trait BaseSinkExt::fn get_drop_out_of_segment --> <!-- trait BaseSinkExt::fn is_drop_out_of_segment -->
Checks if `self` is currently configured to drop buffers which are outside Checks if `self` is currently configured to drop buffers which are outside
the current segment the current segment
@ -1480,7 +1480,7 @@ Feature: `v1_12`
`true` if the sink is configured to drop buffers outside the `true` if the sink is configured to drop buffers outside the
current segment. current segment.
<!-- trait BaseSinkExt::fn get_last_sample --> <!-- trait BaseSinkExt::fn last_sample -->
Get the last sample that arrived in the sink and was used for preroll or for Get the last sample that arrived in the sink and was used for preroll or for
rendering. This property can be used to generate thumbnails. rendering. This property can be used to generate thumbnails.
@ -1493,19 +1493,19 @@ Free-function: gst_sample_unref
a `gst::Sample`. `gst_sample_unref` after a `gst::Sample`. `gst_sample_unref` after
usage. This function returns `None` when no buffer has arrived in the usage. This function returns `None` when no buffer has arrived in the
sink yet or when the sink is not in PAUSED or PLAYING. sink yet or when the sink is not in PAUSED or PLAYING.
<!-- trait BaseSinkExt::fn get_latency --> <!-- trait BaseSinkExt::fn latency -->
Get the currently configured latency. Get the currently configured latency.
# Returns # Returns
The configured latency. The configured latency.
<!-- trait BaseSinkExt::fn get_max_bitrate --> <!-- trait BaseSinkExt::fn max_bitrate -->
Get the maximum amount of bits per second that the sink will render. Get the maximum amount of bits per second that the sink will render.
# Returns # Returns
the maximum number of bits per second `self` will render. the maximum number of bits per second `self` will render.
<!-- trait BaseSinkExt::fn get_max_lateness --> <!-- trait BaseSinkExt::fn max_lateness -->
Gets the max lateness value. See `BaseSinkExt::set_max_lateness` for Gets the max lateness value. See `BaseSinkExt::set_max_lateness` for
more details. more details.
@ -1514,7 +1514,7 @@ more details.
The maximum time in nanoseconds that a buffer can be late The maximum time in nanoseconds that a buffer can be late
before it is dropped and not rendered. A value of -1 means an before it is dropped and not rendered. A value of -1 means an
unlimited time. unlimited time.
<!-- trait BaseSinkExt::fn get_processing_deadline --> <!-- trait BaseSinkExt::fn processing_deadline -->
Get the processing deadline of `self`. see Get the processing deadline of `self`. see
`BaseSinkExt::set_processing_deadline` for more information about `BaseSinkExt::set_processing_deadline` for more information about
the processing deadline. the processing deadline.
@ -1525,14 +1525,14 @@ Feature: `v1_16`
# Returns # Returns
the processing deadline the processing deadline
<!-- trait BaseSinkExt::fn get_render_delay --> <!-- trait BaseSinkExt::fn render_delay -->
Get the render delay of `self`. see `BaseSinkExt::set_render_delay` for more Get the render delay of `self`. see `BaseSinkExt::set_render_delay` for more
information about the render delay. information about the render delay.
# Returns # Returns
the render delay of `self`. the render delay of `self`.
<!-- trait BaseSinkExt::fn get_stats --> <!-- trait BaseSinkExt::fn stats -->
Return various `BaseSink` statistics. This function returns a `gst::Structure` Return various `BaseSink` statistics. This function returns a `gst::Structure`
with name `application/x-gst-base-sink-stats` with the following fields: with name `application/x-gst-base-sink-stats` with the following fields:
@ -1546,21 +1546,21 @@ Feature: `v1_18`
# Returns # Returns
pointer to `gst::Structure` pointer to `gst::Structure`
<!-- trait BaseSinkExt::fn get_sync --> <!-- trait BaseSinkExt::fn is_sync -->
Checks if `self` is currently configured to synchronize against the Checks if `self` is currently configured to synchronize against the
clock. clock.
# Returns # Returns
`true` if the sink is configured to synchronize against the clock. `true` if the sink is configured to synchronize against the clock.
<!-- trait BaseSinkExt::fn get_throttle_time --> <!-- trait BaseSinkExt::fn throttle_time -->
Get the time that will be inserted between frames to control the Get the time that will be inserted between frames to control the
maximum buffers per second. maximum buffers per second.
# Returns # Returns
the number of nanoseconds `self` will put between frames. the number of nanoseconds `self` will put between frames.
<!-- trait BaseSinkExt::fn get_ts_offset --> <!-- trait BaseSinkExt::fn ts_offset -->
Get the synchronisation offset of `self`. Get the synchronisation offset of `self`.
# Returns # Returns
@ -1965,14 +1965,14 @@ This is an Abstract Base Class, you cannot instantiate it.
# Implements # Implements
[`BaseSrcExt`](trait.BaseSrcExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`BaseSrcExtManual`](prelude/trait.BaseSrcExtManual.html) [`BaseSrcExt`](trait@crate::BaseSrcExt), [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`], [`BaseSrcExtManual`](trait@crate::BaseSrcExtManual)
<!-- trait BaseSrcExt --> <!-- trait BaseSrcExt -->
Trait containing all `BaseSrc` methods. Trait containing all `BaseSrc` methods.
# Implementors # Implementors
[`BaseSrc`](struct.BaseSrc.html), [`PushSrc`](struct.PushSrc.html) [`BaseSrc`](struct@crate::BaseSrc), [`PushSrc`](struct@crate::PushSrc)
<!-- trait BaseSrcExt::fn get_allocator --> <!-- trait BaseSrcExt::fn allocator -->
Lets `BaseSrc` sub-classes to know the memory `allocator` Lets `BaseSrc` sub-classes to know the memory `allocator`
used by the base class and its `params`. used by the base class and its `params`.
@ -1982,19 +1982,19 @@ the `gst::Allocator`
used used
## `params` ## `params`
the `gst::AllocationParams` of `allocator` the `gst::AllocationParams` of `allocator`
<!-- trait BaseSrcExt::fn get_blocksize --> <!-- trait BaseSrcExt::fn blocksize -->
Get the number of bytes that `self` will push out with each buffer. Get the number of bytes that `self` will push out with each buffer.
# Returns # Returns
the number of bytes pushed with each buffer. the number of bytes pushed with each buffer.
<!-- trait BaseSrcExt::fn get_buffer_pool --> <!-- trait BaseSrcExt::fn buffer_pool -->
# Returns # Returns
the instance of the `gst::BufferPool` used the instance of the `gst::BufferPool` used
by the src; unref it after usage. by the src; unref it after usage.
<!-- trait BaseSrcExt::fn get_do_timestamp --> <!-- trait BaseSrcExt::fn does_timestamp -->
Query if `self` timestamps outgoing buffers based on the current running_time. Query if `self` timestamps outgoing buffers based on the current running_time.
# Returns # Returns
@ -2309,14 +2309,14 @@ This is an Abstract Base Class, you cannot instantiate it.
# Implements # Implements
[`BaseTransformExt`](trait.BaseTransformExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`BaseTransformExtManual`](prelude/trait.BaseTransformExtManual.html) [`BaseTransformExt`](trait@crate::BaseTransformExt), [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`], [`BaseTransformExtManual`](trait@crate::BaseTransformExtManual)
<!-- trait BaseTransformExt --> <!-- trait BaseTransformExt -->
Trait containing all `BaseTransform` methods. Trait containing all `BaseTransform` methods.
# Implementors # Implementors
[`BaseTransform`](struct.BaseTransform.html) [`BaseTransform`](struct@crate::BaseTransform)
<!-- trait BaseTransformExt::fn get_allocator --> <!-- trait BaseTransformExt::fn allocator -->
Lets `BaseTransform` sub-classes know the memory `allocator` Lets `BaseTransform` sub-classes know the memory `allocator`
used by the base class and its `params`. used by the base class and its `params`.
@ -2326,7 +2326,7 @@ the `gst::Allocator`
used used
## `params` ## `params`
the `gst::AllocationParams` of `allocator` the `gst::AllocationParams` of `allocator`
<!-- trait BaseTransformExt::fn get_buffer_pool --> <!-- trait BaseTransformExt::fn buffer_pool -->
# Returns # Returns
@ -2582,4 +2582,4 @@ base class.
# Implements # Implements
[`BaseSrcExt`](trait.BaseSrcExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`BaseSrcExtManual`](prelude/trait.BaseSrcExtManual.html) [`BaseSrcExt`](trait@crate::BaseSrcExt), [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`], [`BaseSrcExtManual`](trait@crate::BaseSrcExtManual)

File diff suppressed because it is too large Load diff

View file

@ -6,13 +6,13 @@ color component off and a value of 1.0 will be the color level.
# Implements # Implements
[`ARGBControlBindingExt`](trait.ARGBControlBindingExt.html), [`gst::ControlBindingExt`](../gst/trait.ControlBindingExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html) [`ARGBControlBindingExt`](trait@crate::ARGBControlBindingExt), [`trait@gst::ControlBindingExt`], [`trait@gst::ObjectExt`]
<!-- trait ARGBControlBindingExt --> <!-- trait ARGBControlBindingExt -->
Trait containing all `ARGBControlBinding` methods. Trait containing all `ARGBControlBinding` methods.
# Implementors # Implementors
[`ARGBControlBinding`](struct.ARGBControlBinding.html) [`ARGBControlBinding`](struct@crate::ARGBControlBinding)
<!-- impl ARGBControlBinding::fn new --> <!-- impl ARGBControlBinding::fn new -->
Create a new control-binding that attaches the given `gst::ControlSource` to the Create a new control-binding that attaches the given `gst::ControlSource` to the
`glib::object::Object` property. `glib::object::Object` property.
@ -54,13 +54,13 @@ transformations.
# Implements # Implements
[`DirectControlBindingExt`](trait.DirectControlBindingExt.html), [`gst::ControlBindingExt`](../gst/trait.ControlBindingExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html) [`DirectControlBindingExt`](trait@crate::DirectControlBindingExt), [`trait@gst::ControlBindingExt`], [`trait@gst::ObjectExt`]
<!-- trait DirectControlBindingExt --> <!-- trait DirectControlBindingExt -->
Trait containing all `DirectControlBinding` methods. Trait containing all `DirectControlBinding` methods.
# Implementors # Implementors
[`DirectControlBinding`](struct.DirectControlBinding.html) [`DirectControlBinding`](struct@crate::DirectControlBinding)
<!-- impl DirectControlBinding::fn new --> <!-- impl DirectControlBinding::fn new -->
Create a new control-binding that attaches the `gst::ControlSource` to the Create a new control-binding that attaches the `gst::ControlSource` to the
`glib::object::Object` property. It will map the control source range [0.0 ... 1.0] to `glib::object::Object` property. It will map the control source range [0.0 ... 1.0] to
@ -101,13 +101,13 @@ All functions are MT-safe.
# Implements # Implements
[`InterpolationControlSourceExt`](trait.InterpolationControlSourceExt.html), [`TimedValueControlSourceExt`](trait.TimedValueControlSourceExt.html), [`gst::ControlSourceExt`](../gst/trait.ControlSourceExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html) [`InterpolationControlSourceExt`](trait@crate::InterpolationControlSourceExt), [`TimedValueControlSourceExt`](trait@crate::TimedValueControlSourceExt), [`trait@gst::ControlSourceExt`], [`trait@gst::ObjectExt`]
<!-- trait InterpolationControlSourceExt --> <!-- trait InterpolationControlSourceExt -->
Trait containing all `InterpolationControlSource` methods. Trait containing all `InterpolationControlSource` methods.
# Implementors # Implementors
[`InterpolationControlSource`](struct.InterpolationControlSource.html) [`InterpolationControlSource`](struct@crate::InterpolationControlSource)
<!-- impl InterpolationControlSource::fn new --> <!-- impl InterpolationControlSource::fn new -->
This returns a new, unbound `InterpolationControlSource`. This returns a new, unbound `InterpolationControlSource`.
@ -139,13 +139,13 @@ All functions are MT-safe.
# Implements # Implements
[`LFOControlSourceExt`](trait.LFOControlSourceExt.html), [`gst::ControlSourceExt`](../gst/trait.ControlSourceExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html) [`LFOControlSourceExt`](trait@crate::LFOControlSourceExt), [`trait@gst::ControlSourceExt`], [`trait@gst::ObjectExt`]
<!-- trait LFOControlSourceExt --> <!-- trait LFOControlSourceExt -->
Trait containing all `LFOControlSource` methods. Trait containing all `LFOControlSource` methods.
# Implementors # Implementors
[`LFOControlSource`](struct.LFOControlSource.html) [`LFOControlSource`](struct@crate::LFOControlSource)
<!-- impl LFOControlSource::fn new --> <!-- impl LFOControlSource::fn new -->
This returns a new, unbound `LFOControlSource`. This returns a new, unbound `LFOControlSource`.
@ -203,7 +203,7 @@ Feature: `v1_12`
# Implements # Implements
[`gst::ControlBindingExt`](../gst/trait.ControlBindingExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html) [`trait@gst::ControlBindingExt`], [`trait@gst::ObjectExt`]
<!-- impl ProxyControlBinding::fn new --> <!-- impl ProxyControlBinding::fn new -->
`ProxyControlBinding` forwards all access to data or `sync_values()` `ProxyControlBinding` forwards all access to data or `sync_values()`
requests from `property_name` on `object` to the control binding at requests from `property_name` on `object` to the control binding at
@ -237,13 +237,13 @@ This is an Abstract Base Class, you cannot instantiate it.
# Implements # Implements
[`TimedValueControlSourceExt`](trait.TimedValueControlSourceExt.html), [`gst::ControlSourceExt`](../gst/trait.ControlSourceExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html) [`TimedValueControlSourceExt`](trait@crate::TimedValueControlSourceExt), [`trait@gst::ControlSourceExt`], [`trait@gst::ObjectExt`]
<!-- trait TimedValueControlSourceExt --> <!-- trait TimedValueControlSourceExt -->
Trait containing all `TimedValueControlSource` methods. Trait containing all `TimedValueControlSource` methods.
# Implementors # Implementors
[`InterpolationControlSource`](struct.InterpolationControlSource.html), [`TimedValueControlSource`](struct.TimedValueControlSource.html), [`TriggerControlSource`](struct.TriggerControlSource.html) [`InterpolationControlSource`](struct@crate::InterpolationControlSource), [`TimedValueControlSource`](struct@crate::TimedValueControlSource), [`TriggerControlSource`](struct@crate::TriggerControlSource)
<!-- trait TimedValueControlSourceExt::fn find_control_point_iter --> <!-- trait TimedValueControlSourceExt::fn find_control_point_iter -->
Find last value before given timestamp in control point list. Find last value before given timestamp in control point list.
If all values in the control point list come after the given If all values in the control point list come after the given
@ -256,7 +256,7 @@ the search key
# Returns # Returns
the found `glib::SequenceIter` or `None` the found `glib::SequenceIter` or `None`
<!-- trait TimedValueControlSourceExt::fn get_all --> <!-- trait TimedValueControlSourceExt::fn all -->
Returns a read-only copy of the list of `gst::TimedValue` for the given property. Returns a read-only copy of the list of `gst::TimedValue` for the given property.
Free the list after done with it. Free the list after done with it.
@ -264,7 +264,7 @@ Free the list after done with it.
a copy a copy
of the list, or `None` if the property isn't handled by the controller of the list, or `None` if the property isn't handled by the controller
<!-- trait TimedValueControlSourceExt::fn get_count --> <!-- trait TimedValueControlSourceExt::fn count -->
Get the number of control points that are set. Get the number of control points that are set.
# Returns # Returns
@ -324,13 +324,13 @@ All functions are MT-safe.
# Implements # Implements
[`TriggerControlSourceExt`](trait.TriggerControlSourceExt.html), [`TimedValueControlSourceExt`](trait.TimedValueControlSourceExt.html), [`gst::ControlSourceExt`](../gst/trait.ControlSourceExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html) [`TriggerControlSourceExt`](trait@crate::TriggerControlSourceExt), [`TimedValueControlSourceExt`](trait@crate::TimedValueControlSourceExt), [`trait@gst::ControlSourceExt`], [`trait@gst::ObjectExt`]
<!-- trait TriggerControlSourceExt --> <!-- trait TriggerControlSourceExt -->
Trait containing all `TriggerControlSource` methods. Trait containing all `TriggerControlSource` methods.
# Implementors # Implementors
[`TriggerControlSource`](struct.TriggerControlSource.html) [`TriggerControlSource`](struct@crate::TriggerControlSource)
<!-- impl TriggerControlSource::fn new --> <!-- impl TriggerControlSource::fn new -->
This returns a new, unbound `TriggerControlSource`. This returns a new, unbound `TriggerControlSource`.

View file

@ -97,13 +97,13 @@ them with `AssetExt::unproxy`.
# Implements # Implements
[`AssetExt`](trait.AssetExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`AssetExt`](trait@crate::AssetExt), [`trait@glib::object::ObjectExt`]
<!-- trait AssetExt --> <!-- trait AssetExt -->
Trait containing all `Asset` methods. Trait containing all `Asset` methods.
# Implementors # Implementors
[`Asset`](struct.Asset.html), [`Project`](struct.Project.html) [`Asset`](struct@crate::Asset), [`Project`](struct@crate::Project)
<!-- impl Asset::fn needs_reload --> <!-- impl Asset::fn needs_reload -->
Indicate that an existing `Asset` in the cache should be reloaded Indicate that an existing `Asset` in the cache should be reloaded
upon the next request. This can be used when some condition has upon the next request. This can be used when some condition has
@ -241,32 +241,32 @@ newly created object.
A newly created object, or `None` if an A newly created object, or `None` if an
error occurred. error occurred.
<!-- trait AssetExt::fn get_error --> <!-- trait AssetExt::fn error -->
Retrieve the error that was set on the asset when it was loaded. Retrieve the error that was set on the asset when it was loaded.
# Returns # Returns
The error set on `asset`, or The error set on `asset`, or
`None` if no error occurred when `asset` was loaded. `None` if no error occurred when `asset` was loaded.
<!-- trait AssetExt::fn get_extractable_type --> <!-- trait AssetExt::fn extractable_type -->
Gets the `Asset:extractable-type` of the asset. Gets the `Asset:extractable-type` of the asset.
# Returns # Returns
The extractable type of `self`. The extractable type of `self`.
<!-- trait AssetExt::fn get_id --> <!-- trait AssetExt::fn id -->
Gets the `Asset:id` of the asset. Gets the `Asset:id` of the asset.
# Returns # Returns
The ID of `self`. The ID of `self`.
<!-- trait AssetExt::fn get_proxy --> <!-- trait AssetExt::fn proxy -->
Gets the default `Asset:proxy` of the asset. Gets the default `Asset:proxy` of the asset.
# Returns # Returns
The default proxy of `self`. The default proxy of `self`.
<!-- trait AssetExt::fn get_proxy_target --> <!-- trait AssetExt::fn proxy_target -->
Gets the `Asset:proxy-target` of the asset. Gets the `Asset:proxy-target` of the asset.
Note that the proxy target may have loaded with an error, so you should Note that the proxy target may have loaded with an error, so you should
@ -426,13 +426,13 @@ This is an Abstract Base Class, you cannot instantiate it.
# Implements # Implements
[`BaseEffectExt`](trait.BaseEffectExt.html), [`TrackElementExt`](trait.TrackElementExt.html), [`TimelineElementExt`](trait.TimelineElementExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ExtractableExt`](trait.ExtractableExt.html), [`TimelineElementExtManual`](prelude/trait.TimelineElementExtManual.html) [`BaseEffectExt`](trait@crate::BaseEffectExt), [`TrackElementExt`](trait@crate::TrackElementExt), [`TimelineElementExt`](trait@crate::TimelineElementExt), [`trait@glib::object::ObjectExt`], [`ExtractableExt`](trait@crate::ExtractableExt), [`TimelineElementExtManual`](trait@crate::TimelineElementExtManual)
<!-- trait BaseEffectExt --> <!-- trait BaseEffectExt -->
Trait containing all `BaseEffect` methods. Trait containing all `BaseEffect` methods.
# Implementors # Implementors
[`BaseEffect`](struct.BaseEffect.html), [`Effect`](struct.Effect.html) [`BaseEffect`](struct@crate::BaseEffect), [`Effect`](struct@crate::Effect)
<!-- trait BaseEffectExt::fn is_time_effect --> <!-- trait BaseEffectExt::fn is_time_effect -->
Get whether the effect is considered a time effect or not. An effect Get whether the effect is considered a time effect or not. An effect
with registered time properties or set translation functions is with registered time properties or set translation functions is
@ -512,7 +512,7 @@ This is an Abstract Base Class, you cannot instantiate it.
# Implements # Implements
[`OperationClipExt`](trait.OperationClipExt.html), [`ClipExt`](trait.ClipExt.html), [`GESContainerExt`](trait.GESContainerExt.html), [`TimelineElementExt`](trait.TimelineElementExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ExtractableExt`](trait.ExtractableExt.html), [`TimelineElementExtManual`](prelude/trait.TimelineElementExtManual.html) [`OperationClipExt`](trait@crate::OperationClipExt), [`ClipExt`](trait@crate::ClipExt), [`GESContainerExt`](trait@crate::GESContainerExt), [`TimelineElementExt`](trait@crate::TimelineElementExt), [`trait@glib::object::ObjectExt`], [`ExtractableExt`](trait@crate::ExtractableExt), [`TimelineElementExtManual`](trait@crate::TimelineElementExtManual)
<!-- struct Clip --> <!-- struct Clip -->
`Clip`-s are the core objects of a `Layer`. Each clip may exist in `Clip`-s are the core objects of a `Layer`. Each clip may exist in
a single layer but may control several `TrackElement`-s that span a single layer but may control several `TrackElement`-s that span
@ -696,13 +696,13 @@ This is an Abstract Base Class, you cannot instantiate it.
# Implements # Implements
[`ClipExt`](trait.ClipExt.html), [`GESContainerExt`](trait.GESContainerExt.html), [`TimelineElementExt`](trait.TimelineElementExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ExtractableExt`](trait.ExtractableExt.html), [`TimelineElementExtManual`](prelude/trait.TimelineElementExtManual.html) [`ClipExt`](trait@crate::ClipExt), [`GESContainerExt`](trait@crate::GESContainerExt), [`TimelineElementExt`](trait@crate::TimelineElementExt), [`trait@glib::object::ObjectExt`], [`ExtractableExt`](trait@crate::ExtractableExt), [`TimelineElementExtManual`](trait@crate::TimelineElementExtManual)
<!-- trait ClipExt --> <!-- trait ClipExt -->
Trait containing all `Clip` methods. Trait containing all `Clip` methods.
# Implementors # Implementors
[`Clip`](struct.Clip.html), [`OperationClip`](struct.OperationClip.html) [`Clip`](struct@crate::Clip), [`OperationClip`](struct@crate::OperationClip)
<!-- trait ClipExt::fn add_asset --> <!-- trait ClipExt::fn add_asset -->
Extracts a `TrackElement` from an asset and adds it to the clip. Extracts a `TrackElement` from an asset and adds it to the clip.
This can be used to add effects that derive from the asset to the This can be used to add effects that derive from the asset to the
@ -831,7 +831,7 @@ match any type
A list of all A list of all
the `TrackElement`-s controlled by `self`, in `track` or of the given the `TrackElement`-s controlled by `self`, in `track` or of the given
`track_type`, and of the given `type_`. `track_type`, and of the given `type_`.
<!-- trait ClipExt::fn get_duration_limit --> <!-- trait ClipExt::fn duration_limit -->
Gets the `Clip:duration-limit` of the clip. Gets the `Clip:duration-limit` of the clip.
Feature: `v1_18` Feature: `v1_18`
@ -892,14 +892,14 @@ A time in the timeline time coordinates
The time in the internal coordinates of `child` corresponding The time in the internal coordinates of `child` corresponding
to `timeline_time`, or `GST_CLOCK_TIME_NONE` if the conversion could not to `timeline_time`, or `GST_CLOCK_TIME_NONE` if the conversion could not
be performed. be performed.
<!-- trait ClipExt::fn get_layer --> <!-- trait ClipExt::fn layer -->
Gets the `Clip:layer` of the clip. Gets the `Clip:layer` of the clip.
# Returns # Returns
The layer `self` is in, or `None` if The layer `self` is in, or `None` if
`self` is not in any layer. `self` is not in any layer.
<!-- trait ClipExt::fn get_supported_formats --> <!-- trait ClipExt::fn supported_formats -->
Gets the `Clip:supported-formats` of the clip. Gets the `Clip:supported-formats` of the clip.
# Returns # Returns
@ -999,7 +999,7 @@ The effect we want to get the index of
# Returns # Returns
The index of `effect` in `self`, or -1 if something went wrong. The index of `effect` in `self`, or -1 if something went wrong.
<!-- trait ClipExt::fn get_top_effects --> <!-- trait ClipExt::fn top_effects -->
Gets the `BaseEffect`-s that have been added to the clip. The Gets the `BaseEffect`-s that have been added to the clip. The
returned list is ordered by their internal index in the clip. See returned list is ordered by their internal index in the clip. See
`ClipExt::get_top_effect_index`. `ClipExt::get_top_effect_index`.
@ -1172,13 +1172,13 @@ This is an Abstract Base Class, you cannot instantiate it.
# Implements # Implements
[`GESContainerExt`](trait.GESContainerExt.html), [`TimelineElementExt`](trait.TimelineElementExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ExtractableExt`](trait.ExtractableExt.html), [`TimelineElementExtManual`](prelude/trait.TimelineElementExtManual.html) [`GESContainerExt`](trait@crate::GESContainerExt), [`TimelineElementExt`](trait@crate::TimelineElementExt), [`trait@glib::object::ObjectExt`], [`ExtractableExt`](trait@crate::ExtractableExt), [`TimelineElementExtManual`](trait@crate::TimelineElementExtManual)
<!-- trait GESContainerExt --> <!-- trait GESContainerExt -->
Trait containing all `Container` methods. Trait containing all `Container` methods.
# Implementors # Implementors
[`Clip`](struct.Clip.html), [`Container`](struct.Container.html), [`Group`](struct.Group.html) [`Clip`](struct@crate::Clip), [`Container`](struct@crate::Container), [`Group`](struct@crate::Group)
<!-- impl Container::fn group --> <!-- impl Container::fn group -->
Groups the containers into a single container by merging them. The Groups the containers into a single container by merging them. The
containers must all belong to the same `TimelineElement:timeline`. containers must all belong to the same `TimelineElement:timeline`.
@ -1470,13 +1470,13 @@ GES will always request at most one sinkpad per effect (when required).
# Implements # Implements
[`EffectExt`](trait.EffectExt.html), [`BaseEffectExt`](trait.BaseEffectExt.html), [`TrackElementExt`](trait.TrackElementExt.html), [`TimelineElementExt`](trait.TimelineElementExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ExtractableExt`](trait.ExtractableExt.html), [`TimelineElementExtManual`](prelude/trait.TimelineElementExtManual.html) [`EffectExt`](trait@crate::EffectExt), [`BaseEffectExt`](trait@crate::BaseEffectExt), [`TrackElementExt`](trait@crate::TrackElementExt), [`TimelineElementExt`](trait@crate::TimelineElementExt), [`trait@glib::object::ObjectExt`], [`ExtractableExt`](trait@crate::ExtractableExt), [`TimelineElementExtManual`](trait@crate::TimelineElementExtManual)
<!-- trait EffectExt --> <!-- trait EffectExt -->
Trait containing all `Effect` methods. Trait containing all `Effect` methods.
# Implementors # Implementors
[`Effect`](struct.Effect.html) [`Effect`](struct@crate::Effect)
<!-- impl Effect::fn new --> <!-- impl Effect::fn new -->
Creates a new `Effect` from the description of the bin. It should be Creates a new `Effect` from the description of the bin. It should be
possible to determine the type of the effect through the element possible to determine the type of the effect through the element
@ -1521,21 +1521,21 @@ came from, which you can retrieve using `Extractable::get_asset`.
# Implements # Implements
[`ExtractableExt`](trait.ExtractableExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`ExtractableExt`](trait@crate::ExtractableExt), [`trait@glib::object::ObjectExt`]
<!-- trait ExtractableExt --> <!-- trait ExtractableExt -->
Trait containing all `Extractable` methods. Trait containing all `Extractable` methods.
# Implementors # Implementors
[`BaseEffect`](struct.BaseEffect.html), [`BaseTransitionClip`](struct.BaseTransitionClip.html), [`Clip`](struct.Clip.html), [`Container`](struct.Container.html), [`Effect`](struct.Effect.html), [`Extractable`](struct.Extractable.html), [`Group`](struct.Group.html), [`Layer`](struct.Layer.html), [`OperationClip`](struct.OperationClip.html), [`TimelineElement`](struct.TimelineElement.html), [`Timeline`](struct.Timeline.html), [`TrackElement`](struct.TrackElement.html), [`TransitionClip`](struct.TransitionClip.html), [`UriClip`](struct.UriClip.html) [`BaseEffect`](struct@crate::BaseEffect), [`BaseTransitionClip`](struct@crate::BaseTransitionClip), [`Clip`](struct@crate::Clip), [`Container`](struct@crate::Container), [`Effect`](struct@crate::Effect), [`Extractable`](struct@crate::Extractable), [`Group`](struct@crate::Group), [`Layer`](struct@crate::Layer), [`OperationClip`](struct@crate::OperationClip), [`TimelineElement`](struct@crate::TimelineElement), [`Timeline`](struct@crate::Timeline), [`TrackElement`](struct@crate::TrackElement), [`TransitionClip`](struct@crate::TransitionClip), [`UriClip`](struct@crate::UriClip)
<!-- trait ExtractableExt::fn get_asset --> <!-- trait ExtractableExt::fn asset -->
Get the asset that has been set on the extractable object. Get the asset that has been set on the extractable object.
# Returns # Returns
The asset set on `self`, or `None` The asset set on `self`, or `None`
if no asset has been set. if no asset has been set.
<!-- trait ExtractableExt::fn get_id --> <!-- trait ExtractableExt::fn id -->
Gets the `Asset:id` of some associated asset. It may be the case Gets the `Asset:id` of some associated asset. It may be the case
that the object has no set asset, or even that such an asset does not that the object has no set asset, or even that such an asset does not
yet exist in the GES cache. Instead, this will return the asset yet exist in the GES cache. Instead, this will return the asset
@ -1604,13 +1604,13 @@ smallest) of all the layers it spans.
# Implements # Implements
[`GroupExt`](trait.GroupExt.html), [`GESContainerExt`](trait.GESContainerExt.html), [`TimelineElementExt`](trait.TimelineElementExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ExtractableExt`](trait.ExtractableExt.html), [`TimelineElementExtManual`](prelude/trait.TimelineElementExtManual.html) [`GroupExt`](trait@crate::GroupExt), [`GESContainerExt`](trait@crate::GESContainerExt), [`TimelineElementExt`](trait@crate::TimelineElementExt), [`trait@glib::object::ObjectExt`], [`ExtractableExt`](trait@crate::ExtractableExt), [`TimelineElementExtManual`](trait@crate::TimelineElementExtManual)
<!-- trait GroupExt --> <!-- trait GroupExt -->
Trait containing all `Group` methods. Trait containing all `Group` methods.
# Implementors # Implementors
[`Group`](struct.Group.html) [`Group`](struct@crate::Group)
<!-- impl Group::fn new --> <!-- impl Group::fn new -->
Created a new empty group. You may wish to use Created a new empty group. You may wish to use
`Container::group` instead, which can return a different `Container::group` instead, which can return a different
@ -1681,13 +1681,13 @@ layers will simply play in addition.
# Implements # Implements
[`LayerExt`](trait.LayerExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ExtractableExt`](trait.ExtractableExt.html) [`LayerExt`](trait@crate::LayerExt), [`trait@glib::object::ObjectExt`], [`ExtractableExt`](trait@crate::ExtractableExt)
<!-- trait LayerExt --> <!-- trait LayerExt -->
Trait containing all `Layer` methods. Trait containing all `Layer` methods.
# Implementors # Implementors
[`Layer`](struct.Layer.html) [`Layer`](struct@crate::Layer)
<!-- impl Layer::fn new --> <!-- impl Layer::fn new -->
Creates a new layer. Creates a new layer.
@ -1778,13 +1778,13 @@ The `Track` to check if `self` is currently active for
# Returns # Returns
`true` if `self` is active for `track`, or `false` otherwise. `true` if `self` is active for `track`, or `false` otherwise.
<!-- trait LayerExt::fn get_auto_transition --> <!-- trait LayerExt::fn is_auto_transition -->
Gets the `Layer:auto-transition` of the layer. Gets the `Layer:auto-transition` of the layer.
# Returns # Returns
`true` if transitions are automatically added to `self`. `true` if transitions are automatically added to `self`.
<!-- trait LayerExt::fn get_clips --> <!-- trait LayerExt::fn clips -->
Get the `Clip`-s contained in this layer. Get the `Clip`-s contained in this layer.
# Returns # Returns
@ -1802,7 +1802,7 @@ End of the interval
A list of `Clip`-s A list of `Clip`-s
that intersect the interval `[start, end)` in `self`. that intersect the interval `[start, end)` in `self`.
<!-- trait LayerExt::fn get_duration --> <!-- trait LayerExt::fn duration -->
Retrieves the duration of the layer, which is the difference Retrieves the duration of the layer, which is the difference
between the start of the layer (always time 0) and the end (which will between the start of the layer (always time 0) and the end (which will
be the end time of the final clip). be the end time of the final clip).
@ -1810,14 +1810,14 @@ be the end time of the final clip).
# Returns # Returns
The duration of `self`. The duration of `self`.
<!-- trait LayerExt::fn get_priority --> <!-- trait LayerExt::fn priority -->
Get the priority of the layer. When inside a timeline, this is its Get the priority of the layer. When inside a timeline, this is its
index in the timeline. See `TimelineExt::move_layer`. index in the timeline. See `TimelineExt::move_layer`.
# Returns # Returns
The priority of `self` within its timeline. The priority of `self` within its timeline.
<!-- trait LayerExt::fn get_timeline --> <!-- trait LayerExt::fn timeline -->
Gets the timeline that the layer is a part of. Gets the timeline that the layer is a part of.
# Returns # Returns
@ -1956,7 +1956,7 @@ This is an Abstract Base Class, you cannot instantiate it.
# Implements # Implements
[`ClipExt`](trait.ClipExt.html), [`GESContainerExt`](trait.GESContainerExt.html), [`TimelineElementExt`](trait.TimelineElementExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ExtractableExt`](trait.ExtractableExt.html), [`TimelineElementExtManual`](prelude/trait.TimelineElementExtManual.html) [`ClipExt`](trait@crate::ClipExt), [`GESContainerExt`](trait@crate::GESContainerExt), [`TimelineElementExt`](trait@crate::TimelineElementExt), [`trait@glib::object::ObjectExt`], [`ExtractableExt`](trait@crate::ExtractableExt), [`TimelineElementExtManual`](trait@crate::TimelineElementExtManual)
<!-- struct Pipeline --> <!-- struct Pipeline -->
A `Pipeline` can take an audio-video `Timeline` and conveniently A `Pipeline` can take an audio-video `Timeline` and conveniently
link its `Track`-s to an internal `playsink` element, for link its `Track`-s to an internal `playsink` element, for
@ -1972,20 +1972,20 @@ You can set the encoding and save location used in rendering by calling
# Implements # Implements
[`GESPipelineExt`](trait.GESPipelineExt.html), [`gst::PipelineExt`](../gst/trait.PipelineExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`GESPipelineExt`](trait@crate::GESPipelineExt), [`trait@gst::PipelineExt`], [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- trait GESPipelineExt --> <!-- trait GESPipelineExt -->
Trait containing all `Pipeline` methods. Trait containing all `Pipeline` methods.
# Implementors # Implementors
[`Pipeline`](struct.Pipeline.html) [`Pipeline`](struct@crate::Pipeline)
<!-- impl Pipeline::fn new --> <!-- impl Pipeline::fn new -->
Creates a new pipeline. Creates a new pipeline.
# Returns # Returns
The newly created pipeline. The newly created pipeline.
<!-- trait GESPipelineExt::fn get_mode --> <!-- trait GESPipelineExt::fn mode -->
Gets the `Pipeline:mode` of the pipeline. Gets the `Pipeline:mode` of the pipeline.
# Returns # Returns
@ -2223,13 +2223,13 @@ the same temporary location.
# Implements # Implements
[`ProjectExt`](trait.ProjectExt.html), [`AssetExt`](trait.AssetExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`ProjectExt`](trait@crate::ProjectExt), [`AssetExt`](trait@crate::AssetExt), [`trait@glib::object::ObjectExt`]
<!-- trait ProjectExt --> <!-- trait ProjectExt -->
Trait containing all `Project` methods. Trait containing all `Project` methods.
# Implementors # Implementors
[`Project`](struct.Project.html) [`Project`](struct@crate::Project)
<!-- impl Project::fn new --> <!-- impl Project::fn new -->
Creates a new `Project` and sets its uri to `uri` if provided. Note that Creates a new `Project` and sets its uri to `uri` if provided. Note that
if `uri` is not valid or `None`, the uri of the project will then be set if `uri` is not valid or `None`, the uri of the project will then be set
@ -2306,7 +2306,7 @@ to retrieve from `object`
The `Asset` with The `Asset` with
`id` or `None` if no asset with `id` as an ID `id` or `None` if no asset with `id` as an ID
<!-- trait ProjectExt::fn get_loading_assets --> <!-- trait ProjectExt::fn loading_assets -->
Get the assets that are being loaded Get the assets that are being loaded
# Returns # Returns
@ -2314,7 +2314,7 @@ Get the assets that are being loaded
A set of loading asset A set of loading asset
that will be added to `self`. Note that those Asset are *not* loaded yet, that will be added to `self`. Note that those Asset are *not* loaded yet,
and thus can not be used and thus can not be used
<!-- trait ProjectExt::fn get_uri --> <!-- trait ProjectExt::fn uri -->
Retrieve the uri that is currently set on `self` Retrieve the uri that is currently set on `self`
# Returns # Returns
@ -2545,13 +2545,13 @@ content, or render it to a file.
# Implements # Implements
[`TimelineExt`](trait.TimelineExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ExtractableExt`](trait.ExtractableExt.html) [`TimelineExt`](trait@crate::TimelineExt), [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`], [`ExtractableExt`](trait@crate::ExtractableExt)
<!-- trait TimelineExt --> <!-- trait TimelineExt -->
Trait containing all `Timeline` methods. Trait containing all `Timeline` methods.
# Implementors # Implementors
[`Timeline`](struct.Timeline.html) [`Timeline`](struct@crate::Timeline)
<!-- impl Timeline::fn new --> <!-- impl Timeline::fn new -->
Creates a new empty timeline. Creates a new empty timeline.
@ -2566,7 +2566,7 @@ single `VideoTrack`.
The new timeline, or `None` if the tracks The new timeline, or `None` if the tracks
could not be created and added. could not be created and added.
<!-- impl Timeline::fn new_from_uri --> <!-- impl Timeline::fn from_uri -->
Creates a timeline from the given URI. Creates a timeline from the given URI.
## `uri` ## `uri`
The URI to load from The URI to load from
@ -2659,13 +2659,13 @@ See `TimelineExt::commit`.
`true` if pending changes were committed, or `false` if nothing `true` if pending changes were committed, or `false` if nothing
needed to be committed. needed to be committed.
<!-- trait TimelineExt::fn get_auto_transition --> <!-- trait TimelineExt::fn is_auto_transition -->
Gets `Timeline:auto-transition` for the timeline. Gets `Timeline:auto-transition` for the timeline.
# Returns # Returns
The auto-transition of `self_`. The auto-transition of `self_`.
<!-- trait TimelineExt::fn get_duration --> <!-- trait TimelineExt::fn duration -->
Get the current `Timeline:duration` of the timeline Get the current `Timeline:duration` of the timeline
# Returns # Returns
@ -2707,7 +2707,7 @@ The frame number to get the corresponding timestamp of in the
# Returns # Returns
The timestamp corresponding to `frame_number` in the output of `self`. The timestamp corresponding to `frame_number` in the output of `self`.
<!-- trait TimelineExt::fn get_groups --> <!-- trait TimelineExt::fn groups -->
Get the list of `Group`-s present in the timeline. Get the list of `Group`-s present in the timeline.
# Returns # Returns
@ -2727,7 +2727,7 @@ The layer with the given
`priority`, or `None` if none was found. `priority`, or `None` if none was found.
Since 1.6 Since 1.6
<!-- trait TimelineExt::fn get_layers --> <!-- trait TimelineExt::fn layers -->
Get the list of `Layer`-s present in the timeline. Get the list of `Layer`-s present in the timeline.
# Returns # Returns
@ -2744,7 +2744,7 @@ A track
The pad corresponding to `track`, The pad corresponding to `track`,
or `None` if there is an error. or `None` if there is an error.
<!-- trait TimelineExt::fn get_snapping_distance --> <!-- trait TimelineExt::fn snapping_distance -->
Gets the `Timeline:snapping-distance` for the timeline. Gets the `Timeline:snapping-distance` for the timeline.
# Returns # Returns
@ -2759,7 +2759,7 @@ A pad
The track corresponding to `pad`, The track corresponding to `pad`,
or `None` if there is an error. or `None` if there is an error.
<!-- trait TimelineExt::fn get_tracks --> <!-- trait TimelineExt::fn tracks -->
Get the list of `Track`-s used by the timeline. Get the list of `Track`-s used by the timeline.
# Returns # Returns
@ -3137,13 +3137,13 @@ This is an Abstract Base Class, you cannot instantiate it.
# Implements # Implements
[`TimelineElementExt`](trait.TimelineElementExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ExtractableExt`](trait.ExtractableExt.html), [`TimelineElementExtManual`](prelude/trait.TimelineElementExtManual.html) [`TimelineElementExt`](trait@crate::TimelineElementExt), [`trait@glib::object::ObjectExt`], [`ExtractableExt`](trait@crate::ExtractableExt), [`TimelineElementExtManual`](trait@crate::TimelineElementExtManual)
<!-- trait TimelineElementExt --> <!-- trait TimelineElementExt -->
Trait containing all `TimelineElement` methods. Trait containing all `TimelineElement` methods.
# Implementors # Implementors
[`Container`](struct.Container.html), [`TimelineElement`](struct.TimelineElement.html), [`TrackElement`](struct.TrackElement.html) [`Container`](struct@crate::Container), [`TimelineElement`](struct@crate::TimelineElement), [`TrackElement`](struct@crate::TrackElement)
<!-- trait TimelineElementExt::fn add_child_property --> <!-- trait TimelineElementExt::fn add_child_property -->
Register a property of a child of the element to allow it to be Register a property of a child of the element to allow it to be
written with `TimelineElementExt::set_child_property` and read with written with `TimelineElementExt::set_child_property` and read with
@ -3293,19 +3293,19 @@ The name of the first child property to get
## `var_args` ## `var_args`
The return location for the first property, followed The return location for the first property, followed
optionally by more name/return location pairs, followed by `None` optionally by more name/return location pairs, followed by `None`
<!-- trait TimelineElementExt::fn get_duration --> <!-- trait TimelineElementExt::fn duration -->
Gets the `TimelineElement:duration` for the element. Gets the `TimelineElement:duration` for the element.
# Returns # Returns
The duration of `self` (in nanoseconds). The duration of `self` (in nanoseconds).
<!-- trait TimelineElementExt::fn get_inpoint --> <!-- trait TimelineElementExt::fn inpoint -->
Gets the `TimelineElement:in-point` for the element. Gets the `TimelineElement:in-point` for the element.
# Returns # Returns
The in-point of `self` (in nanoseconds). The in-point of `self` (in nanoseconds).
<!-- trait TimelineElementExt::fn get_layer_priority --> <!-- trait TimelineElementExt::fn layer_priority -->
Gets the priority of the layer the element is in. A `Group` may span Gets the priority of the layer the element is in. A `Group` may span
several layers, so this would return the highest priority (numerically, several layers, so this would return the highest priority (numerically,
the smallest) amongst them. the smallest) amongst them.
@ -3318,19 +3318,19 @@ Feature: `v1_16`
The priority of the layer `self` is in, or The priority of the layer `self` is in, or
`GES_TIMELINE_ELEMENT_NO_LAYER_PRIORITY` if `self` does not exist in a `GES_TIMELINE_ELEMENT_NO_LAYER_PRIORITY` if `self` does not exist in a
layer. layer.
<!-- trait TimelineElementExt::fn get_max_duration --> <!-- trait TimelineElementExt::fn max_duration -->
Gets the `TimelineElement:max-duration` for the element. Gets the `TimelineElement:max-duration` for the element.
# Returns # Returns
The max-duration of `self` (in nanoseconds). The max-duration of `self` (in nanoseconds).
<!-- trait TimelineElementExt::fn get_name --> <!-- trait TimelineElementExt::fn name -->
Gets the `TimelineElement:name` for the element. Gets the `TimelineElement:name` for the element.
# Returns # Returns
The name of `self`. The name of `self`.
<!-- trait TimelineElementExt::fn get_natural_framerate --> <!-- trait TimelineElementExt::fn natural_framerate -->
Get the "natural" framerate of `self`. This is to say, for example Get the "natural" framerate of `self`. This is to say, for example
for a `VideoUriSource` the framerate of the source. for a `VideoUriSource` the framerate of the source.
@ -3353,39 +3353,39 @@ The framerate denominator
Whether `self` has a natural framerate or not, `framerate_n` Whether `self` has a natural framerate or not, `framerate_n`
and `framerate_d` will be set to, respectively, 0 and -1 if it is and `framerate_d` will be set to, respectively, 0 and -1 if it is
not the case. not the case.
<!-- trait TimelineElementExt::fn get_parent --> <!-- trait TimelineElementExt::fn parent -->
Gets the `TimelineElement:parent` for the element. Gets the `TimelineElement:parent` for the element.
# Returns # Returns
The parent of `self`, or `None` if The parent of `self`, or `None` if
`self` has no parent. `self` has no parent.
<!-- trait TimelineElementExt::fn get_priority --> <!-- trait TimelineElementExt::fn priority -->
Gets the `TimelineElement:priority` for the element. Gets the `TimelineElement:priority` for the element.
# Returns # Returns
The priority of `self`. The priority of `self`.
<!-- trait TimelineElementExt::fn get_start --> <!-- trait TimelineElementExt::fn start -->
Gets the `TimelineElement:start` for the element. Gets the `TimelineElement:start` for the element.
# Returns # Returns
The start of `self` (in nanoseconds). The start of `self` (in nanoseconds).
<!-- trait TimelineElementExt::fn get_timeline --> <!-- trait TimelineElementExt::fn timeline -->
Gets the `TimelineElement:timeline` for the element. Gets the `TimelineElement:timeline` for the element.
# Returns # Returns
The timeline of `self`, or `None` The timeline of `self`, or `None`
if `self` has no timeline. if `self` has no timeline.
<!-- trait TimelineElementExt::fn get_toplevel_parent --> <!-- trait TimelineElementExt::fn toplevel_parent -->
Gets the toplevel `TimelineElement:parent` of the element. Gets the toplevel `TimelineElement:parent` of the element.
# Returns # Returns
The toplevel parent of `self`. The toplevel parent of `self`.
<!-- trait TimelineElementExt::fn get_track_types --> <!-- trait TimelineElementExt::fn track_types -->
Gets the track types that the element can interact with, i.e. the type Gets the track types that the element can interact with, i.e. the type
of `Track` it can exist in, or will create `TrackElement`-s for. of `Track` it can exist in, or will create `TrackElement`-s for.
@ -3880,13 +3880,13 @@ updating them.
# Implements # Implements
[`GESTrackExt`](trait.GESTrackExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`GESTrackExt`](trait@crate::GESTrackExt), [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- trait GESTrackExt --> <!-- trait GESTrackExt -->
Trait containing all `Track` methods. Trait containing all `Track` methods.
# Implementors # Implementors
[`Track`](struct.Track.html) [`Track`](struct@crate::Track)
<!-- impl Track::fn new --> <!-- impl Track::fn new -->
Creates a new track with the given track-type and caps. Creates a new track with the given track-type and caps.
@ -3958,13 +3958,13 @@ tracks, so you are unlikely to need to use this directly.
`true` if pending changes were committed, or `false` if nothing `true` if pending changes were committed, or `false` if nothing
needed to be committed. needed to be committed.
<!-- trait GESTrackExt::fn get_caps --> <!-- trait GESTrackExt::fn caps -->
Get the `Track:caps` of the track. Get the `Track:caps` of the track.
# Returns # Returns
The caps of `self`. The caps of `self`.
<!-- trait GESTrackExt::fn get_elements --> <!-- trait GESTrackExt::fn elements -->
Gets the track elements contained in the track. The returned list is Gets the track elements contained in the track. The returned list is
sorted by the element's `TimelineElement:priority` and sorted by the element's `TimelineElement:priority` and
`TimelineElement:start`. `TimelineElement:start`.
@ -3973,13 +3973,13 @@ sorted by the element's `TimelineElement:priority` and
A list of A list of
all the `TrackElement`-s in `self`. all the `TrackElement`-s in `self`.
<!-- trait GESTrackExt::fn get_mixing --> <!-- trait GESTrackExt::fn is_mixing -->
Gets the `Track:mixing` of the track. Gets the `Track:mixing` of the track.
# Returns # Returns
Whether `self` is mixing. Whether `self` is mixing.
<!-- trait GESTrackExt::fn get_restriction_caps --> <!-- trait GESTrackExt::fn restriction_caps -->
Gets the `Track:restriction-caps` of the track. Gets the `Track:restriction-caps` of the track.
Feature: `v1_18` Feature: `v1_18`
@ -3988,7 +3988,7 @@ Feature: `v1_18`
# Returns # Returns
The restriction-caps of `self`. The restriction-caps of `self`.
<!-- trait GESTrackExt::fn get_timeline --> <!-- trait GESTrackExt::fn timeline -->
Get the timeline this track belongs to. Get the timeline this track belongs to.
# Returns # Returns
@ -4206,13 +4206,13 @@ This is an Abstract Base Class, you cannot instantiate it.
# Implements # Implements
[`TrackElementExt`](trait.TrackElementExt.html), [`TimelineElementExt`](trait.TimelineElementExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ExtractableExt`](trait.ExtractableExt.html), [`TimelineElementExtManual`](prelude/trait.TimelineElementExtManual.html) [`TrackElementExt`](trait@crate::TrackElementExt), [`TimelineElementExt`](trait@crate::TimelineElementExt), [`trait@glib::object::ObjectExt`], [`ExtractableExt`](trait@crate::ExtractableExt), [`TimelineElementExtManual`](trait@crate::TimelineElementExtManual)
<!-- trait TrackElementExt --> <!-- trait TrackElementExt -->
Trait containing all `TrackElement` methods. Trait containing all `TrackElement` methods.
# Implementors # Implementors
[`TrackElement`](struct.TrackElement.html) [`TrackElement`](struct@crate::TrackElement)
<!-- trait TrackElementExt::fn add_children_props --> <!-- trait TrackElementExt::fn add_children_props -->
Adds all the properties of a `gst::Element` that match the criteria as Adds all the properties of a `gst::Element` that match the criteria as
children properties of the track element. If the name of `element`'s children properties of the track element. If the name of `element`'s
@ -4277,7 +4277,7 @@ The edit position: a new location for the edge of `self`
# Returns # Returns
`true` if the edit of `self` completed, `false` on failure. `true` if the edit of `self` completed, `false` on failure.
<!-- trait TrackElementExt::fn get_all_control_bindings --> <!-- trait TrackElementExt::fn all_control_bindings -->
Get all the control bindings that have been created for the children Get all the control bindings that have been created for the children
properties of the track element using properties of the track element using
`TrackElementExt::set_control_source`. The keys used in the returned `TrackElementExt::set_control_source`. The keys used in the returned
@ -4290,7 +4290,7 @@ corresponding created `gst::ControlBinding`.
A A
hash table containing all child-property-name/control-binding pairs hash table containing all child-property-name/control-binding pairs
for `self`. for `self`.
<!-- trait TrackElementExt::fn get_auto_clamp_control_sources --> <!-- trait TrackElementExt::fn is_auto_clamp_control_sources -->
Gets `TrackElement:auto-clamp-control-sources`. Gets `TrackElement:auto-clamp-control-sources`.
Feature: `v1_18` Feature: `v1_18`
@ -4370,7 +4370,7 @@ binding of
The control binding that was The control binding that was
created for the specified child property of `self`, or `None` if created for the specified child property of `self`, or `None` if
`property_name` does not correspond to any control binding. `property_name` does not correspond to any control binding.
<!-- trait TrackElementExt::fn get_element --> <!-- trait TrackElementExt::fn element -->
Get the `gst::Element` that the track element's underlying nleobject Get the `gst::Element` that the track element's underlying nleobject
controls. controls.
@ -4378,7 +4378,7 @@ controls.
The `gst::Element` being controlled by the The `gst::Element` being controlled by the
nleobject that `self` wraps. nleobject that `self` wraps.
<!-- trait TrackElementExt::fn get_gnlobject --> <!-- trait TrackElementExt::fn gnlobject -->
Get the GNonLin object this object is controlling. Get the GNonLin object this object is controlling.
# Deprecated # Deprecated
@ -4388,20 +4388,20 @@ use `TrackElementExt::get_nleobject` instead.
# Returns # Returns
The GNonLin object this object is controlling. The GNonLin object this object is controlling.
<!-- trait TrackElementExt::fn get_nleobject --> <!-- trait TrackElementExt::fn nleobject -->
Get the nleobject that this element wraps. Get the nleobject that this element wraps.
# Returns # Returns
The nleobject that `self` wraps. The nleobject that `self` wraps.
<!-- trait TrackElementExt::fn get_track --> <!-- trait TrackElementExt::fn track -->
Get the `TrackElement:track` for the element. Get the `TrackElement:track` for the element.
# Returns # Returns
The track that `self` belongs to, The track that `self` belongs to,
or `None` if it does not belong to a track. or `None` if it does not belong to a track.
<!-- trait TrackElementExt::fn get_track_type --> <!-- trait TrackElementExt::fn track_type -->
Gets the `TrackElement:track-type` for the element. Gets the `TrackElement:track-type` for the element.
# Returns # Returns
@ -4776,13 +4776,13 @@ will be updated when needed.
# Implements # Implements
[`TransitionClipExt`](trait.TransitionClipExt.html), [`BaseTransitionClipExt`](trait.BaseTransitionClipExt.html), [`OperationClipExt`](trait.OperationClipExt.html), [`ClipExt`](trait.ClipExt.html), [`GESContainerExt`](trait.GESContainerExt.html), [`TimelineElementExt`](trait.TimelineElementExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ExtractableExt`](trait.ExtractableExt.html), [`TimelineElementExtManual`](prelude/trait.TimelineElementExtManual.html) [`TransitionClipExt`](trait@crate::TransitionClipExt), [`BaseTransitionClipExt`](trait@crate::BaseTransitionClipExt), [`OperationClipExt`](trait@crate::OperationClipExt), [`ClipExt`](trait@crate::ClipExt), [`GESContainerExt`](trait@crate::GESContainerExt), [`TimelineElementExt`](trait@crate::TimelineElementExt), [`trait@glib::object::ObjectExt`], [`ExtractableExt`](trait@crate::ExtractableExt), [`TimelineElementExtManual`](trait@crate::TimelineElementExtManual)
<!-- trait TransitionClipExt --> <!-- trait TransitionClipExt -->
Trait containing all `TransitionClip` methods. Trait containing all `TransitionClip` methods.
# Implementors # Implementors
[`TransitionClip`](struct.TransitionClip.html) [`TransitionClip`](struct@crate::TransitionClip)
<!-- impl TransitionClip::fn new --> <!-- impl TransitionClip::fn new -->
Creates a new `TransitionClip`. Creates a new `TransitionClip`.
## `vtype` ## `vtype`
@ -4792,7 +4792,7 @@ the type of transition to create
a newly created `TransitionClip`, a newly created `TransitionClip`,
or `None` if something went wrong. or `None` if something went wrong.
<!-- impl TransitionClip::fn new_for_nick --> <!-- impl TransitionClip::fn for_nick -->
Creates a new `TransitionClip` for the provided `nick`. Creates a new `TransitionClip` for the provided `nick`.
## `nick` ## `nick`
a string representing the type of transition to create a string representing the type of transition to create
@ -4811,13 +4811,13 @@ the URI points to a file of some type.
# Implements # Implements
[`UriClipExt`](trait.UriClipExt.html), [`ClipExt`](trait.ClipExt.html), [`GESContainerExt`](trait.GESContainerExt.html), [`TimelineElementExt`](trait.TimelineElementExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`ExtractableExt`](trait.ExtractableExt.html), [`TimelineElementExtManual`](prelude/trait.TimelineElementExtManual.html) [`UriClipExt`](trait@crate::UriClipExt), [`ClipExt`](trait@crate::ClipExt), [`GESContainerExt`](trait@crate::GESContainerExt), [`TimelineElementExt`](trait@crate::TimelineElementExt), [`trait@glib::object::ObjectExt`], [`ExtractableExt`](trait@crate::ExtractableExt), [`TimelineElementExtManual`](trait@crate::TimelineElementExtManual)
<!-- trait UriClipExt --> <!-- trait UriClipExt -->
Trait containing all `UriClip` methods. Trait containing all `UriClip` methods.
# Implementors # Implementors
[`UriClip`](struct.UriClip.html) [`UriClip`](struct@crate::UriClip)
<!-- impl UriClip::fn new --> <!-- impl UriClip::fn new -->
Creates a new `UriClip` for the provided `uri`. Creates a new `UriClip` for the provided `uri`.
@ -4832,7 +4832,7 @@ the URI the source should control
The newly created `UriClip`, or The newly created `UriClip`, or
`None` if there was an error. `None` if there was an error.
<!-- trait UriClipExt::fn get_uri --> <!-- trait UriClipExt::fn uri -->
Get the location of the resource. Get the location of the resource.
# Returns # Returns
@ -4877,13 +4877,13 @@ The location of the file/resource to use.
# Implements # Implements
[`UriClipAssetExt`](trait.UriClipAssetExt.html), [`AssetExt`](trait.AssetExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`UriClipAssetExt`](trait@crate::UriClipAssetExt), [`AssetExt`](trait@crate::AssetExt), [`trait@glib::object::ObjectExt`]
<!-- trait UriClipAssetExt --> <!-- trait UriClipAssetExt -->
Trait containing all `UriClipAsset` methods. Trait containing all `UriClipAsset` methods.
# Implementors # Implementors
[`UriClipAsset`](struct.UriClipAsset.html) [`UriClipAsset`](struct@crate::UriClipAsset)
<!-- impl UriClipAsset::fn finish --> <!-- impl UriClipAsset::fn finish -->
Finalize the request of an async `UriClipAsset` Finalize the request of an async `UriClipAsset`
@ -4944,19 +4944,19 @@ You can also use multi file uris for `MultiFileSource`.
A reference to the requested asset or `None` if A reference to the requested asset or `None` if
an error happened an error happened
<!-- trait UriClipAssetExt::fn get_duration --> <!-- trait UriClipAssetExt::fn duration -->
Gets duration of the file represented by `self` Gets duration of the file represented by `self`
# Returns # Returns
The duration of `self` The duration of `self`
<!-- trait UriClipAssetExt::fn get_info --> <!-- trait UriClipAssetExt::fn info -->
Gets `gst_pbutils::DiscovererInfo` about the file Gets `gst_pbutils::DiscovererInfo` about the file
# Returns # Returns
`gst_pbutils::DiscovererInfo` of specified asset `gst_pbutils::DiscovererInfo` of specified asset
<!-- trait UriClipAssetExt::fn get_max_duration --> <!-- trait UriClipAssetExt::fn max_duration -->
Gets maximum duration of the file represented by `self`, Gets maximum duration of the file represented by `self`,
it is usually the same as GESUriClipAsset::duration, it is usually the same as GESUriClipAsset::duration,
but in the case of nested timelines, for example, they but in the case of nested timelines, for example, they
@ -4968,7 +4968,7 @@ Feature: `v1_18`
# Returns # Returns
The maximum duration of `self` The maximum duration of `self`
<!-- trait UriClipAssetExt::fn get_stream_assets --> <!-- trait UriClipAssetExt::fn stream_assets -->
Get the GESUriSourceAsset `self` containes Get the GESUriSourceAsset `self` containes
# Returns # Returns
@ -5001,20 +5001,20 @@ by `UriClipAsset`-s.
# Implements # Implements
[`UriSourceAssetExt`](trait.UriSourceAssetExt.html), [`AssetExt`](trait.AssetExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`UriSourceAssetExt`](trait@crate::UriSourceAssetExt), [`AssetExt`](trait@crate::AssetExt), [`trait@glib::object::ObjectExt`]
<!-- trait UriSourceAssetExt --> <!-- trait UriSourceAssetExt -->
Trait containing all `UriSourceAsset` methods. Trait containing all `UriSourceAsset` methods.
# Implementors # Implementors
[`UriSourceAsset`](struct.UriSourceAsset.html) [`UriSourceAsset`](struct@crate::UriSourceAsset)
<!-- trait UriSourceAssetExt::fn get_filesource_asset --> <!-- trait UriSourceAssetExt::fn filesource_asset -->
Get the `UriClipAsset` `self_` is contained in Get the `UriClipAsset` `self_` is contained in
# Returns # Returns
a `UriClipAsset` a `UriClipAsset`
<!-- trait UriSourceAssetExt::fn get_stream_info --> <!-- trait UriSourceAssetExt::fn stream_info -->
Get the `gst_pbutils::DiscovererStreamInfo` user by `self` Get the `gst_pbutils::DiscovererStreamInfo` user by `self`
# Returns # Returns

View file

@ -67,13 +67,13 @@ context is available and current in the calling thread.
# Implements # Implements
[`GLBaseFilterExt`](trait.GLBaseFilterExt.html), [`gst_base::BaseTransformExt`](../gst_base/trait.BaseTransformExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`GLBaseFilterExt`](trait@crate::GLBaseFilterExt), [`trait@gst_base::BaseTransformExt`], [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- trait GLBaseFilterExt --> <!-- trait GLBaseFilterExt -->
Trait containing all `GLBaseFilter` methods. Trait containing all `GLBaseFilter` methods.
# Implementors # Implementors
[`GLBaseFilter`](struct.GLBaseFilter.html), [`GLFilter`](struct.GLFilter.html) [`GLBaseFilter`](struct@crate::GLBaseFilter), [`GLFilter`](struct@crate::GLFilter)
<!-- trait GLBaseFilterExt::fn find_gl_context --> <!-- trait GLBaseFilterExt::fn find_gl_context -->
Feature: `v1_16` Feature: `v1_16`
@ -82,7 +82,7 @@ Feature: `v1_16`
# Returns # Returns
Whether an OpenGL context could be retrieved or created successfully Whether an OpenGL context could be retrieved or created successfully
<!-- trait GLBaseFilterExt::fn get_gl_context --> <!-- trait GLBaseFilterExt::fn gl_context -->
Feature: `v1_18` Feature: `v1_18`
@ -149,7 +149,15 @@ This is an Abstract Base Class, you cannot instantiate it.
# Implements # Implements
[`gst::AllocatorExt`](../gst/trait.AllocatorExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`trait@gst::AllocatorExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- struct GLBuffer -->
GstGLBuffer is a `gst::Memory` subclass providing support for the mapping of
GL buffers.
Data is uploaded or downloaded from the GPU as is necessary.
<!-- impl GLBuffer::fn init_once -->
Initializes the GL Buffer allocator. It is safe to call this function
multiple times. This must be called before any other `GLBuffer` operation.
<!-- struct GLColorConvert --> <!-- struct GLColorConvert -->
`GLColorConvert` is an object that converts between color spaces and/or `GLColorConvert` is an object that converts between color spaces and/or
formats using OpenGL Shaders. formats using OpenGL Shaders.
@ -163,7 +171,7 @@ The glcolorconvertelement provides a GStreamer element that uses
# Implements # Implements
[`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- impl GLColorConvert::fn new --> <!-- impl GLColorConvert::fn new -->
## `context` ## `context`
a `GLContext` a `GLContext`
@ -231,13 +239,13 @@ This is an Abstract Base Class, you cannot instantiate it.
# Implements # Implements
[`GLContextExt`](trait.GLContextExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`GLContextExtManual`](prelude/trait.GLContextExtManual.html) [`GLContextExt`](trait@crate::GLContextExt), [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`], [`GLContextExtManual`](trait@crate::GLContextExtManual)
<!-- trait GLContextExt --> <!-- trait GLContextExt -->
Trait containing all `GLContext` methods. Trait containing all `GLContext` methods.
# Implementors # Implementors
[`GLContext`](struct.GLContext.html) [`GLContext`](struct@crate::GLContext)
<!-- impl GLContext::fn new --> <!-- impl GLContext::fn new -->
Create a new `GLContext` with the specified `display` Create a new `GLContext` with the specified `display`
## `display` ## `display`
@ -405,12 +413,12 @@ called for this context.
Fills `self`'s info (version, extensions, vtable, etc) from the GL Fills `self`'s info (version, extensions, vtable, etc) from the GL
context in the current thread. Typically used with wrapped contexts to context in the current thread. Typically used with wrapped contexts to
allow wrapped contexts to be used as regular `GLContext`'s. allow wrapped contexts to be used as regular `GLContext`'s.
<!-- trait GLContextExt::fn get_display --> <!-- trait GLContextExt::fn display -->
# Returns # Returns
the `GLDisplay` associated with this `self` the `GLDisplay` associated with this `self`
<!-- trait GLContextExt::fn get_gl_api --> <!-- trait GLContextExt::fn gl_api -->
Get the currently enabled OpenGL api. Get the currently enabled OpenGL api.
The currently available API may be limited by the `GLDisplay` in use and/or The currently available API may be limited by the `GLDisplay` in use and/or
@ -419,26 +427,26 @@ the `GLWindow` chosen.
# Returns # Returns
the available OpenGL api the available OpenGL api
<!-- trait GLContextExt::fn get_gl_context --> <!-- trait GLContextExt::fn gl_context -->
Gets the backing OpenGL context used by `self`. Gets the backing OpenGL context used by `self`.
# Returns # Returns
The platform specific backing OpenGL context The platform specific backing OpenGL context
<!-- trait GLContextExt::fn get_gl_platform --> <!-- trait GLContextExt::fn gl_platform -->
Gets the OpenGL platform that used by `self`. Gets the OpenGL platform that used by `self`.
# Returns # Returns
The platform specific backing OpenGL context The platform specific backing OpenGL context
<!-- trait GLContextExt::fn get_gl_platform_version --> <!-- trait GLContextExt::fn gl_platform_version -->
Get the version of the OpenGL platform (GLX, EGL, etc) used. Only valid Get the version of the OpenGL platform (GLX, EGL, etc) used. Only valid
after a call to `GLContextExt::create`. after a call to `GLContextExt::create`.
## `major` ## `major`
return for the major version return for the major version
## `minor` ## `minor`
return for the minor version return for the minor version
<!-- trait GLContextExt::fn get_gl_version --> <!-- trait GLContextExt::fn gl_version -->
Returns the OpenGL version implemented by `self`. See Returns the OpenGL version implemented by `self`. See
`GLContextExt::get_gl_api` for retrieving the OpenGL api implemented by `GLContextExt::get_gl_api` for retrieving the OpenGL api implemented by
`self`. `self`.
@ -478,7 +486,7 @@ a function pointer or `None`
# Returns # Returns
The `glib::Thread`, `self` is current in or NULL The `glib::Thread`, `self` is current in or NULL
<!-- trait GLContextExt::fn get_window --> <!-- trait GLContextExt::fn window -->
# Returns # Returns
@ -584,13 +592,13 @@ platform and window system specific functionality.
# Implements # Implements
[`GLDisplayExt`](trait.GLDisplayExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`GLDisplayExt`](trait@crate::GLDisplayExt), [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- trait GLDisplayExt --> <!-- trait GLDisplayExt -->
Trait containing all `GLDisplay` methods. Trait containing all `GLDisplay` methods.
# Implementors # Implementors
[`GLDisplay`](struct.GLDisplay.html) [`GLDisplay`](struct@crate::GLDisplay)
<!-- impl GLDisplay::fn new --> <!-- impl GLDisplay::fn new -->
# Returns # Returns
@ -643,7 +651,7 @@ a comparison function to run
The first `GLWindow` that causes a match The first `GLWindow` that causes a match
from `compare_func` from `compare_func`
<!-- trait GLDisplayExt::fn get_gl_api --> <!-- trait GLDisplayExt::fn gl_api -->
see `GLDisplayExt::filter_gl_api` for what the returned value represents see `GLDisplayExt::filter_gl_api` for what the returned value represents
# Returns # Returns
@ -663,7 +671,7 @@ Must be called with the object lock held.
# Returns # Returns
the native handle for the display the native handle for the display
<!-- trait GLDisplayExt::fn get_handle_type --> <!-- trait GLDisplayExt::fn handle_type -->
# Returns # Returns
@ -737,13 +745,13 @@ single input and producing a single output with a `GLFramebuffer`
# Implements # Implements
[`GLFilterExt`](trait.GLFilterExt.html), [`GLBaseFilterExt`](trait.GLBaseFilterExt.html), [`gst_base::BaseTransformExt`](../gst_base/trait.BaseTransformExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`GLFilterExt`](trait@crate::GLFilterExt), [`GLBaseFilterExt`](trait@crate::GLBaseFilterExt), [`trait@gst_base::BaseTransformExt`], [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- trait GLFilterExt --> <!-- trait GLFilterExt -->
Trait containing all `GLFilter` methods. Trait containing all `GLFilter` methods.
# Implementors # Implementors
[`GLFilter`](struct.GLFilter.html) [`GLFilter`](struct@crate::GLFilter)
<!-- trait GLFilterExt::fn draw_fullscreen_quad --> <!-- trait GLFilterExt::fn draw_fullscreen_quad -->
Render a fullscreen quad using the current GL state. The only GL state this Render a fullscreen quad using the current GL state. The only GL state this
modifies is the necessary vertex/index buffers and, if necessary, a modifies is the necessary vertex/index buffers and, if necessary, a
@ -842,13 +850,13 @@ between multiple OpenGL contexts.
# Implements # Implements
[`GLFramebufferExt`](trait.GLFramebufferExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`GLFramebufferExt`](trait@crate::GLFramebufferExt), [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- trait GLFramebufferExt --> <!-- trait GLFramebufferExt -->
Trait containing all `GLFramebuffer` methods. Trait containing all `GLFramebuffer` methods.
# Implementors # Implementors
[`GLFramebuffer`](struct.GLFramebuffer.html) [`GLFramebuffer`](struct@crate::GLFramebuffer)
<!-- impl GLFramebuffer::fn new --> <!-- impl GLFramebuffer::fn new -->
## `context` ## `context`
a `GLContext` a `GLContext`
@ -856,7 +864,7 @@ a `GLContext`
# Returns # Returns
a new `GLFramebuffer` a new `GLFramebuffer`
<!-- impl GLFramebuffer::fn new_with_default_depth --> <!-- impl GLFramebuffer::fn with_default_depth -->
## `context` ## `context`
a `GLContext` a `GLContext`
## `width` ## `width`
@ -888,24 +896,162 @@ data to pass to `func`
# Returns # Returns
the result of executing `func` the result of executing `func`
<!-- trait GLFramebufferExt::fn get_effective_dimensions --> <!-- trait GLFramebufferExt::fn effective_dimensions -->
Retrieve the effective dimensions from the current attachments attached to Retrieve the effective dimensions from the current attachments attached to
`self`. `self`.
## `width` ## `width`
output width output width
## `height` ## `height`
output height output height
<!-- trait GLFramebufferExt::fn get_id --> <!-- trait GLFramebufferExt::fn id -->
# Returns # Returns
the OpenGL id for `self` the OpenGL id for `self`
<!-- struct GLMemory -->
GstGLMemory is a `GLBaseMemory` subclass providing support for the mapping of
OpenGL textures.
`GLMemory` is created or wrapped through `GLBaseMemory::alloc`
with `GLVideoAllocationParams`.
Data is uploaded or downloaded from the GPU as is necessary.
The `gst::Caps` that is used for `GLMemory` based buffers should contain
the `GST_CAPS_FEATURE_MEMORY_GL_MEMORY` as a `gst::CapsFeatures` and should
contain a 'texture-target' field with one of the `GLTextureTarget` values
as a string, i.e. some combination of 'texture-target=(string){2D,
rectangle, external-oes}'.
<!-- impl GLMemory::fn copy_into -->
Copies `self` into the texture specified by `tex_id`. The format of `tex_id`
is specified by `tex_format`, `width` and `height`.
## `tex_id`
OpenGL texture id
## `target`
the `GLTextureTarget`
## `tex_format`
the `GLFormat`
## `width`
width of `tex_id`
## `height`
height of `tex_id`
# Returns
Whether the copy succeeded
<!-- impl GLMemory::fn copy_teximage -->
Copies the texture in `GLMemory` into the texture specified by `tex_id`,
`out_target`, `out_tex_format`, `out_width` and `out_height`.
## `tex_id`
the destination texture id
## `out_target`
the destination `GLTextureTarget`
## `out_tex_format`
the destination `GLFormat`
## `out_width`
the destination width
## `out_height`
the destination height
# Returns
whether the copy succeeded.
<!-- impl GLMemory::fn get_texture_format -->
# Returns
the `GLFormat` of `self`
<!-- impl GLMemory::fn get_texture_height -->
# Returns
the texture height of `self`
<!-- impl GLMemory::fn get_texture_id -->
# Returns
the OpenGL texture handle of `self`
<!-- impl GLMemory::fn get_texture_target -->
# Returns
the `GLTextureTarget` of `self`
<!-- impl GLMemory::fn get_texture_width -->
# Returns
the texture width of `self`
<!-- impl GLMemory::fn init -->
Initializes `self` with the required parameters. `info` is assumed to have
already have been modified with `gst_video::VideoInfo::align`.
## `allocator`
the `gst::Allocator` to initialize with
## `parent`
the parent `gst::Memory` to initialize with
## `context`
the `GLContext` to initialize with
## `target`
the `GLTextureTarget` for this `GLMemory`
## `tex_format`
the `GLFormat` for this `GLMemory`
## `params`
the [`crate::gst::AllocationParams`] (XXX: @-reference does not belong to GLMemory!) to initialize with
## `info`
the `gst_video::VideoInfo` for this `GLMemory`
## `plane`
the plane number (starting from 0) for this `GLMemory`
## `valign`
optional `gst_video::VideoAlignment` parameters
## `user_data`
user data to call `notify` with
## `notify`
a `GDestroyNotify`
<!-- impl GLMemory::fn read_pixels -->
Reads the texture in `GLMemory` into `write_pointer` if no buffer is bound
to `GL_PIXEL_PACK_BUFFER`. Otherwise `write_pointer` is the byte offset into
the currently bound `GL_PIXEL_PACK_BUFFER` buffer to store the result of
glReadPixels. See the OpenGL specification for glReadPixels for more
details.
## `write_pointer`
the data pointer to pass to glReadPixels
# Returns
whether theread operation succeeded
<!-- impl GLMemory::fn texsubimage -->
Reads the texture in `read_pointer` into `self`.
See `GLMemory::read_pixels` for what `read_pointer` signifies.
## `read_pointer`
the data pointer to pass to glTexSubImage
<!-- impl GLMemory::fn init_once -->
Initializes the GL Base Texture allocator. It is safe to call this function
multiple times. This must be called before any other GstGLMemory operation.
<!-- impl GLMemory::fn setup_buffer -->
## `allocator`
the [`crate::GLMemoryAllocator`] (XXX: @-reference does not belong to GLMemory!) to allocate from
## `buffer`
a `gst::Buffer` to setup
## `params`
the `GLVideoAllocationParams` to allocate with
## `tex_formats`
a list of `GLFormat`'s to allocate with.
## `wrapped_data`
a list of wrapped data pointers
## `n_wrapped_pointers`
the number of elements in `tex_formats` and `wrapped_data`
# Returns
whether the buffer was correctly setup
<!-- struct GLMemoryAllocator --> <!-- struct GLMemoryAllocator -->
Opaque `GLMemoryAllocator` struct Opaque `GLMemoryAllocator` struct
# Implements # Implements
[`GLBaseMemoryAllocatorExt`](trait.GLBaseMemoryAllocatorExt.html), [`gst::AllocatorExt`](../gst/trait.AllocatorExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`GLBaseMemoryAllocatorExt`](trait@crate::GLBaseMemoryAllocatorExt), [`trait@gst::AllocatorExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- impl GLMemoryAllocator::fn get_default --> <!-- impl GLMemoryAllocator::fn get_default -->
## `context` ## `context`
a `GLContext` a `GLContext`
@ -919,7 +1065,7 @@ Opaque `GLOverlayCompositor` object
# Implements # Implements
[`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- struct GLPlatform --> <!-- struct GLPlatform -->
<!-- struct GLPlatform::const NONE --> <!-- struct GLPlatform::const NONE -->
no platform no platform
@ -936,6 +1082,54 @@ the CGL platform used primarily on OS X
the EAGL platform used primarily on iOS the EAGL platform used primarily on iOS
<!-- struct GLPlatform::const ANY --> <!-- struct GLPlatform::const ANY -->
any OpenGL platform any OpenGL platform
<!-- struct GLQuery -->
A `GLQuery` represents and holds an OpenGL query object. Various types of
queries can be run or counters retrieved.
<!-- impl GLQuery::fn counter -->
Record the result of a counter
<!-- impl GLQuery::fn end -->
End counting the query
<!-- impl GLQuery::fn free -->
Frees a `GLQuery`
<!-- impl GLQuery::fn init -->
## `context`
a `GLContext`
## `query_type`
the `GLQueryType`
<!-- impl GLQuery::fn result -->
# Returns
the result of the query
<!-- impl GLQuery::fn start -->
Start counting the query
<!-- impl GLQuery::fn unset -->
Free any dynamically allocated resources
<!-- impl GLQuery::fn local_gl_context -->
Performs a GST_QUERY_CONTEXT query of type "gst.gl.local_context" on all
`GstPads` in `element` of `direction` for the local OpenGL context used by
GStreamer elements.
## `element`
a `gst::Element` to query from
## `direction`
the `gst::PadDirection` to query
## `context_ptr`
location containing the current and/or resulting
`GLContext`
# Returns
whether `context_ptr` contains a `GLContext`
<!-- impl GLQuery::fn new -->
Free with `GLQuery::free`
## `context`
a `GLContext`
## `query_type`
the `GLQueryType` to create
# Returns
a new `GLQuery`
<!-- enum GLQueryType --> <!-- enum GLQueryType -->
<!-- enum GLQueryType::variant None --> <!-- enum GLQueryType::variant None -->
no query no query
@ -968,7 +1162,7 @@ any OpenGL/OpenGL|ES profile
# Implements # Implements
[`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- impl GLSLStage::fn new --> <!-- impl GLSLStage::fn new -->
## `context` ## `context`
a `GLContext` a `GLContext`
@ -978,7 +1172,7 @@ the GL enum shader stage type
# Returns # Returns
a new `GLSLStage` of the specified `type_` a new `GLSLStage` of the specified `type_`
<!-- impl GLSLStage::fn new_with_string --> <!-- impl GLSLStage::fn with_string -->
## `context` ## `context`
a `GLContext` a `GLContext`
## `type_` ## `type_`
@ -993,7 +1187,7 @@ a shader string
# Returns # Returns
a new `GLSLStage` of the specified `type_` a new `GLSLStage` of the specified `type_`
<!-- impl GLSLStage::fn new_with_strings --> <!-- impl GLSLStage::fn with_strings -->
## `context` ## `context`
a `GLContext` a `GLContext`
## `type_` ## `type_`
@ -1016,22 +1210,22 @@ a new `GLSLStage` of the specified `type_`
# Returns # Returns
whether the compilation succeeded whether the compilation succeeded
<!-- impl GLSLStage::fn get_handle --> <!-- impl GLSLStage::fn handle -->
# Returns # Returns
The GL handle for this shader stage The GL handle for this shader stage
<!-- impl GLSLStage::fn get_profile --> <!-- impl GLSLStage::fn profile -->
# Returns # Returns
The GLSL profile for the current shader stage The GLSL profile for the current shader stage
<!-- impl GLSLStage::fn get_shader_type --> <!-- impl GLSLStage::fn shader_type -->
# Returns # Returns
The GL shader type for this shader stage The GL shader type for this shader stage
<!-- impl GLSLStage::fn get_version --> <!-- impl GLSLStage::fn version -->
# Returns # Returns
@ -1087,7 +1281,7 @@ version 450 (valid for compatibility/core desktop GL)
# Implements # Implements
[`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- impl GLShader::fn new --> <!-- impl GLShader::fn new -->
Note: must be called in the GL thread Note: must be called in the GL thread
## `context` ## `context`
@ -1118,7 +1312,7 @@ a `glib::Error`
# Returns # Returns
a new `shader` with the specified stages. a new `shader` with the specified stages.
<!-- impl GLShader::fn new_with_stages --> <!-- impl GLShader::fn with_stages -->
Each stage will attempt to be compiled and attached to `shader`. On error, Each stage will attempt to be compiled and attached to `shader`. On error,
`None` will be returned and `error` will contain the details of the error. `None` will be returned and `error` will contain the details of the error.
@ -1250,7 +1444,7 @@ name of the attribute
# Returns # Returns
the attribute index for `name` in `self` or -1 on failure the attribute index for `name` in `self` or -1 on failure
<!-- impl GLShader::fn get_program_handle --> <!-- impl GLShader::fn program_handle -->
# Returns # Returns
@ -1538,7 +1732,7 @@ A `GLUpload` can be created with `GLUpload::new`
# Implements # Implements
[`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- impl GLUpload::fn new --> <!-- impl GLUpload::fn new -->
## `context` ## `context`
a `GLContext` a `GLContext`
@ -1546,7 +1740,7 @@ a `GLContext`
# Returns # Returns
a new `GLUpload` object a new `GLUpload` object
<!-- impl GLUpload::fn get_caps --> <!-- impl GLUpload::fn caps -->
## `in_caps` ## `in_caps`
the input `gst::Caps` the input `gst::Caps`
## `out_caps` ## `out_caps`
@ -1736,7 +1930,7 @@ Convert stereoscopic/multiview video using fragment shaders.
# Implements # Implements
[`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- impl GLViewConvert::fn new --> <!-- impl GLViewConvert::fn new -->
# Returns # Returns
@ -1814,13 +2008,13 @@ This is an Abstract Base Class, you cannot instantiate it.
# Implements # Implements
[`GLWindowExt`](trait.GLWindowExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`GLWindowExt`](trait@crate::GLWindowExt), [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- trait GLWindowExt --> <!-- trait GLWindowExt -->
Trait containing all `GLWindow` methods. Trait containing all `GLWindow` methods.
# Implementors # Implementors
[`GLWindow`](struct.GLWindow.html) [`GLWindow`](struct@crate::GLWindow)
<!-- impl GLWindow::fn new --> <!-- impl GLWindow::fn new -->
## `display` ## `display`
a `GLDisplay` a `GLDisplay`
@ -1839,7 +2033,7 @@ Feature: `v1_16`
`true` if `self` controls the GL viewport, otherwise `false` `true` if `self` controls the GL viewport, otherwise `false`
<!-- trait GLWindowExt::fn draw --> <!-- trait GLWindowExt::fn draw -->
Redraw the window contents. Implementations should invoke the draw callback. Redraw the window contents. Implementations should invoke the draw callback.
<!-- trait GLWindowExt::fn get_context --> <!-- trait GLWindowExt::fn context -->
# Returns # Returns
@ -1849,7 +2043,7 @@ the `GLContext` associated with this `self`
# Returns # Returns
the windowing system display handle for this `self` the windowing system display handle for this `self`
<!-- trait GLWindowExt::fn get_surface_dimensions --> <!-- trait GLWindowExt::fn surface_dimensions -->
## `width` ## `width`
resulting surface width resulting surface width
## `height` ## `height`

View file

@ -5,7 +5,7 @@ through the provided API
# Implements # Implements
[`gst_gl::GLDisplayExt`](../gst_gl/trait.GLDisplayExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`trait@gst_gl::GLDisplayExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- impl GLDisplayEGL::fn new --> <!-- impl GLDisplayEGL::fn new -->
Create a new `GLDisplayEGL` using the default EGL_DEFAULT_DISPLAY. Create a new `GLDisplayEGL` using the default EGL_DEFAULT_DISPLAY.

View file

@ -5,7 +5,7 @@ through the provided API
# Implements # Implements
[`gst_gl::GLDisplayExt`](../gst_gl/trait.GLDisplayExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`trait@gst_gl::GLDisplayExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- impl GLDisplayWayland::fn new --> <!-- impl GLDisplayWayland::fn new -->
Create a new `GLDisplayWayland` from the wayland display name. See `wl_display_connect`() Create a new `GLDisplayWayland` from the wayland display name. See `wl_display_connect`()
for details on what is a valid name. for details on what is a valid name.
@ -15,7 +15,7 @@ a display name
# Returns # Returns
a new `GLDisplayWayland` or `None` a new `GLDisplayWayland` or `None`
<!-- impl GLDisplayWayland::fn new_with_display --> <!-- impl GLDisplayWayland::fn with_display -->
Creates a new display connection from a wl_display Display. Creates a new display connection from a wl_display Display.
## `display` ## `display`
an existing, wayland display an existing, wayland display

View file

@ -5,7 +5,7 @@ through the provided API
# Implements # Implements
[`gst_gl::GLDisplayExt`](../gst_gl/trait.GLDisplayExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`trait@gst_gl::GLDisplayExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- impl GLDisplayX11::fn new --> <!-- impl GLDisplayX11::fn new -->
Create a new `GLDisplayX11` from the x11 display name. See `XOpenDisplay`() Create a new `GLDisplayX11` from the x11 display name. See `XOpenDisplay`()
for details on what is a valid name. for details on what is a valid name.
@ -15,7 +15,7 @@ a display name
# Returns # Returns
a new `GLDisplayX11` or `None` a new `GLDisplayX11` or `None`
<!-- impl GLDisplayX11::fn new_with_display --> <!-- impl GLDisplayX11::fn with_display -->
Creates a new display connection from a X11 Display. Creates a new display connection from a X11 Display.
## `display` ## `display`
an existing, x11 display an existing, x11 display

View file

@ -25,7 +25,7 @@ statistics about clock accuracy and network traffic.
# Implements # Implements
[`gst::ClockExt`](../gst/trait.ClockExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`trait@gst::ClockExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- impl NetClientClock::fn new --> <!-- impl NetClientClock::fn new -->
Create a new `NetClientClock` that will report the time Create a new `NetClientClock` that will report the time
provided by the `NetTimeProvider` on `remote_address` and provided by the `NetTimeProvider` on `remote_address` and
@ -56,7 +56,7 @@ The `NetTimeProvider` typically wraps the clock used by a `gst::Pipeline`.
# Implements # Implements
[`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- impl NetTimeProvider::fn new --> <!-- impl NetTimeProvider::fn new -->
Allows network clients to get the current time of `clock`. Allows network clients to get the current time of `clock`.
## `clock` ## `clock`
@ -75,7 +75,7 @@ the new `NetTimeProvider`, or NULL on error
# Implements # Implements
[`NetClientClockExt`](trait.NetClientClockExt.html), [`gst::ClockExt`](../gst/trait.ClockExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`NetClientClockExt`](trait@crate::NetClientClockExt), [`trait@gst::ClockExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- impl NtpClock::fn new --> <!-- impl NtpClock::fn new -->
Create a new `NtpClock` that will report the time provided by Create a new `NtpClock` that will report the time provided by
the NTPv4 server on `remote_address` and `remote_port`. the NTPv4 server on `remote_address` and `remote_port`.
@ -117,7 +117,7 @@ synchronization.
# Implements # Implements
[`gst::ClockExt`](../gst/trait.ClockExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`trait@gst::ClockExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- impl PtpClock::fn new --> <!-- impl PtpClock::fn new -->
Creates a new PTP clock instance that exports the PTP time of the master Creates a new PTP clock instance that exports the PTP time of the master
clock in `domain`. This clock can be slaved to other clocks as needed. clock in `domain`. This clock can be slaved to other clocks as needed.

View file

@ -19,7 +19,7 @@ All the information is returned in a `DiscovererInfo` structure.
# Implements # Implements
[`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`trait@glib::object::ObjectExt`]
<!-- impl Discoverer::fn new --> <!-- impl Discoverer::fn new -->
Creates a new `Discoverer` with the provided timeout. Creates a new `Discoverer` with the provided timeout.
## `timeout` ## `timeout`
@ -110,13 +110,13 @@ set on the result flags.
# Implements # Implements
[`DiscovererStreamInfoExt`](trait.DiscovererStreamInfoExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`DiscovererStreamInfoExt`](trait@crate::DiscovererStreamInfoExt), [`trait@glib::object::ObjectExt`]
<!-- impl DiscovererAudioInfo::fn get_bitrate --> <!-- impl DiscovererAudioInfo::fn bitrate -->
# Returns # Returns
the average or nominal bitrate of the stream in bits/second. the average or nominal bitrate of the stream in bits/second.
<!-- impl DiscovererAudioInfo::fn get_channel_mask --> <!-- impl DiscovererAudioInfo::fn channel_mask -->
Feature: `v1_14` Feature: `v1_14`
@ -126,27 +126,27 @@ Feature: `v1_14`
the channel-mask of the stream, refer to the channel-mask of the stream, refer to
`gst_audio_channel_positions_from_mask` for more `gst_audio_channel_positions_from_mask` for more
information. information.
<!-- impl DiscovererAudioInfo::fn get_channels --> <!-- impl DiscovererAudioInfo::fn channels -->
# Returns # Returns
the number of channels in the stream. the number of channels in the stream.
<!-- impl DiscovererAudioInfo::fn get_depth --> <!-- impl DiscovererAudioInfo::fn depth -->
# Returns # Returns
the number of bits used per sample in each channel. the number of bits used per sample in each channel.
<!-- impl DiscovererAudioInfo::fn get_language --> <!-- impl DiscovererAudioInfo::fn language -->
# Returns # Returns
the language of the stream, or NULL if unknown. the language of the stream, or NULL if unknown.
<!-- impl DiscovererAudioInfo::fn get_max_bitrate --> <!-- impl DiscovererAudioInfo::fn max_bitrate -->
# Returns # Returns
the maximum bitrate of the stream in bits/second. the maximum bitrate of the stream in bits/second.
<!-- impl DiscovererAudioInfo::fn get_sample_rate --> <!-- impl DiscovererAudioInfo::fn sample_rate -->
# Returns # Returns
@ -156,8 +156,8 @@ the sample rate of the stream in Hertz.
# Implements # Implements
[`DiscovererStreamInfoExt`](trait.DiscovererStreamInfoExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`DiscovererStreamInfoExt`](trait@crate::DiscovererStreamInfoExt), [`trait@glib::object::ObjectExt`]
<!-- impl DiscovererContainerInfo::fn get_streams --> <!-- impl DiscovererContainerInfo::fn streams -->
# Returns # Returns
@ -169,7 +169,7 @@ Structure containing the information of a URI analyzed by `Discoverer`.
# Implements # Implements
[`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`trait@glib::object::ObjectExt`]
<!-- impl DiscovererInfo::fn from_variant --> <!-- impl DiscovererInfo::fn from_variant -->
Parses a `glib::Variant` as produced by `DiscovererInfo::to_variant` Parses a `glib::Variant` as produced by `DiscovererInfo::to_variant`
back to a `DiscovererInfo`. back to a `DiscovererInfo`.
@ -184,7 +184,7 @@ A newly-allocated `DiscovererInfo`.
# Returns # Returns
A copy of the `DiscovererInfo` A copy of the `DiscovererInfo`
<!-- impl DiscovererInfo::fn get_audio_streams --> <!-- impl DiscovererInfo::fn audio_streams -->
Finds all the `DiscovererAudioInfo` contained in `self` Finds all the `DiscovererAudioInfo` contained in `self`
# Returns # Returns
@ -192,7 +192,7 @@ Finds all the `DiscovererAudioInfo` contained in `self`
A `glib::List` of A `glib::List` of
matching `DiscovererStreamInfo`. The caller should free it with matching `DiscovererStreamInfo`. The caller should free it with
`DiscovererStreamInfo::list_free`. `DiscovererStreamInfo::list_free`.
<!-- impl DiscovererInfo::fn get_container_streams --> <!-- impl DiscovererInfo::fn container_streams -->
Finds all the `DiscovererContainerInfo` contained in `self` Finds all the `DiscovererContainerInfo` contained in `self`
# Returns # Returns
@ -200,12 +200,12 @@ Finds all the `DiscovererContainerInfo` contained in `self`
A `glib::List` of A `glib::List` of
matching `DiscovererStreamInfo`. The caller should free it with matching `DiscovererStreamInfo`. The caller should free it with
`DiscovererStreamInfo::list_free`. `DiscovererStreamInfo::list_free`.
<!-- impl DiscovererInfo::fn get_duration --> <!-- impl DiscovererInfo::fn duration -->
# Returns # Returns
the duration of the URI in `gst::ClockTime` (nanoseconds). the duration of the URI in `gst::ClockTime` (nanoseconds).
<!-- impl DiscovererInfo::fn get_live --> <!-- impl DiscovererInfo::fn is_live -->
Feature: `v1_14` Feature: `v1_14`
@ -213,7 +213,7 @@ Feature: `v1_14`
# Returns # Returns
whether the URI is live. whether the URI is live.
<!-- impl DiscovererInfo::fn get_misc --> <!-- impl DiscovererInfo::fn misc -->
# Deprecated # Deprecated
@ -225,7 +225,7 @@ This functions is deprecated since version 1.4, use
Miscellaneous information stored as a `gst::Structure` Miscellaneous information stored as a `gst::Structure`
(for example: information about missing plugins). If you wish to use the (for example: information about missing plugins). If you wish to use the
`gst::Structure` after the life-time of `self`, you will need to copy it. `gst::Structure` after the life-time of `self`, you will need to copy it.
<!-- impl DiscovererInfo::fn get_missing_elements_installer_details --> <!-- impl DiscovererInfo::fn missing_elements_installer_details -->
Get the installer details for missing elements Get the installer details for missing elements
# Returns # Returns
@ -234,17 +234,17 @@ An array of strings
containing information about how to install the various missing elements containing information about how to install the various missing elements
for `self` to be usable. If you wish to use the strings after the life-time for `self` to be usable. If you wish to use the strings after the life-time
of `self`, you will need to copy them. of `self`, you will need to copy them.
<!-- impl DiscovererInfo::fn get_result --> <!-- impl DiscovererInfo::fn result -->
# Returns # Returns
the result of the discovery as a `DiscovererResult`. the result of the discovery as a `DiscovererResult`.
<!-- impl DiscovererInfo::fn get_seekable --> <!-- impl DiscovererInfo::fn is_seekable -->
# Returns # Returns
the whether the URI is seekable. the whether the URI is seekable.
<!-- impl DiscovererInfo::fn get_stream_info --> <!-- impl DiscovererInfo::fn stream_info -->
# Returns # Returns
@ -252,7 +252,7 @@ the structure (or topology) of the URI as a
`DiscovererStreamInfo`. `DiscovererStreamInfo`.
This structure can be traversed to see the original hierarchy. Unref with This structure can be traversed to see the original hierarchy. Unref with
`gst_discoverer_stream_info_unref` after usage. `gst_discoverer_stream_info_unref` after usage.
<!-- impl DiscovererInfo::fn get_stream_list --> <!-- impl DiscovererInfo::fn stream_list -->
# Returns # Returns
@ -270,7 +270,7 @@ a `glib::Type` derived from `DiscovererStreamInfo`
A `glib::List` of A `glib::List` of
matching `DiscovererStreamInfo`. The caller should free it with matching `DiscovererStreamInfo`. The caller should free it with
`DiscovererStreamInfo::list_free`. `DiscovererStreamInfo::list_free`.
<!-- impl DiscovererInfo::fn get_subtitle_streams --> <!-- impl DiscovererInfo::fn subtitle_streams -->
Finds all the `DiscovererSubtitleInfo` contained in `self` Finds all the `DiscovererSubtitleInfo` contained in `self`
# Returns # Returns
@ -278,25 +278,25 @@ Finds all the `DiscovererSubtitleInfo` contained in `self`
A `glib::List` of A `glib::List` of
matching `DiscovererStreamInfo`. The caller should free it with matching `DiscovererStreamInfo`. The caller should free it with
`DiscovererStreamInfo::list_free`. `DiscovererStreamInfo::list_free`.
<!-- impl DiscovererInfo::fn get_tags --> <!-- impl DiscovererInfo::fn tags -->
# Returns # Returns
all tags contained in the URI. If you wish to use all tags contained in the URI. If you wish to use
the tags after the life-time of `self`, you will need to copy them. the tags after the life-time of `self`, you will need to copy them.
<!-- impl DiscovererInfo::fn get_toc --> <!-- impl DiscovererInfo::fn toc -->
# Returns # Returns
TOC contained in the URI. If you wish to use TOC contained in the URI. If you wish to use
the TOC after the life-time of `self`, you will need to copy it. the TOC after the life-time of `self`, you will need to copy it.
<!-- impl DiscovererInfo::fn get_uri --> <!-- impl DiscovererInfo::fn uri -->
# Returns # Returns
the URI to which this information corresponds to. the URI to which this information corresponds to.
Copy it if you wish to use it after the life-time of `self`. Copy it if you wish to use it after the life-time of `self`.
<!-- impl DiscovererInfo::fn get_video_streams --> <!-- impl DiscovererInfo::fn video_streams -->
Finds all the `DiscovererVideoInfo` contained in `self` Finds all the `DiscovererVideoInfo` contained in `self`
# Returns # Returns
@ -365,25 +365,25 @@ for the audio and video streams respectively.
# Implements # Implements
[`DiscovererStreamInfoExt`](trait.DiscovererStreamInfoExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`DiscovererStreamInfoExt`](trait@crate::DiscovererStreamInfoExt), [`trait@glib::object::ObjectExt`]
<!-- trait DiscovererStreamInfoExt --> <!-- trait DiscovererStreamInfoExt -->
Trait containing all `DiscovererStreamInfo` methods. Trait containing all `DiscovererStreamInfo` methods.
# Implementors # Implementors
[`DiscovererAudioInfo`](struct.DiscovererAudioInfo.html), [`DiscovererContainerInfo`](struct.DiscovererContainerInfo.html), [`DiscovererStreamInfo`](struct.DiscovererStreamInfo.html), [`DiscovererSubtitleInfo`](struct.DiscovererSubtitleInfo.html), [`DiscovererVideoInfo`](struct.DiscovererVideoInfo.html) [`DiscovererAudioInfo`](struct@crate::DiscovererAudioInfo), [`DiscovererContainerInfo`](struct@crate::DiscovererContainerInfo), [`DiscovererStreamInfo`](struct@crate::DiscovererStreamInfo), [`DiscovererSubtitleInfo`](struct@crate::DiscovererSubtitleInfo), [`DiscovererVideoInfo`](struct@crate::DiscovererVideoInfo)
<!-- impl DiscovererStreamInfo::fn list_free --> <!-- impl DiscovererStreamInfo::fn list_free -->
Decrements the reference count of all contained `DiscovererStreamInfo` Decrements the reference count of all contained `DiscovererStreamInfo`
and fress the `glib::List`. and fress the `glib::List`.
## `infos` ## `infos`
a `glib::List` of `DiscovererStreamInfo` a `glib::List` of `DiscovererStreamInfo`
<!-- trait DiscovererStreamInfoExt::fn get_caps --> <!-- trait DiscovererStreamInfoExt::fn caps -->
# Returns # Returns
the `gst::Caps` of the stream. Unref with the `gst::Caps` of the stream. Unref with
`gst_caps_unref` after usage. `gst_caps_unref` after usage.
<!-- trait DiscovererStreamInfoExt::fn get_misc --> <!-- trait DiscovererStreamInfoExt::fn misc -->
# Deprecated # Deprecated
@ -395,39 +395,39 @@ This functions is deprecated since version 1.4, use
additional information regarding the stream (for additional information regarding the stream (for
example codec version, profile, etc..). If you wish to use the `gst::Structure` example codec version, profile, etc..). If you wish to use the `gst::Structure`
after the life-time of `self` you will need to copy it. after the life-time of `self` you will need to copy it.
<!-- trait DiscovererStreamInfoExt::fn get_next --> <!-- trait DiscovererStreamInfoExt::fn next -->
# Returns # Returns
the next `DiscovererStreamInfo` in a chain. `None` the next `DiscovererStreamInfo` in a chain. `None`
for final streams. for final streams.
Unref with `gst_discoverer_stream_info_unref` after usage. Unref with `gst_discoverer_stream_info_unref` after usage.
<!-- trait DiscovererStreamInfoExt::fn get_previous --> <!-- trait DiscovererStreamInfoExt::fn previous -->
# Returns # Returns
the previous `DiscovererStreamInfo` in a chain. the previous `DiscovererStreamInfo` in a chain.
`None` for starting points. Unref with `gst_discoverer_stream_info_unref` `None` for starting points. Unref with `gst_discoverer_stream_info_unref`
after usage. after usage.
<!-- trait DiscovererStreamInfoExt::fn get_stream_id --> <!-- trait DiscovererStreamInfoExt::fn stream_id -->
# Returns # Returns
the stream ID of this stream. If you wish to the stream ID of this stream. If you wish to
use the stream ID after the life-time of `self` you will need to copy it. use the stream ID after the life-time of `self` you will need to copy it.
<!-- trait DiscovererStreamInfoExt::fn get_stream_type_nick --> <!-- trait DiscovererStreamInfoExt::fn stream_type_nick -->
# Returns # Returns
a human readable name for the stream type of the given `self` (ex : "audio", a human readable name for the stream type of the given `self` (ex : "audio",
"container",...). "container",...).
<!-- trait DiscovererStreamInfoExt::fn get_tags --> <!-- trait DiscovererStreamInfoExt::fn tags -->
# Returns # Returns
the tags contained in this stream. If you wish to the tags contained in this stream. If you wish to
use the tags after the life-time of `self` you will need to copy them. use the tags after the life-time of `self` you will need to copy them.
<!-- trait DiscovererStreamInfoExt::fn get_toc --> <!-- trait DiscovererStreamInfoExt::fn toc -->
# Returns # Returns
@ -439,8 +439,8 @@ image based ones).
# Implements # Implements
[`DiscovererStreamInfoExt`](trait.DiscovererStreamInfoExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`DiscovererStreamInfoExt`](trait@crate::DiscovererStreamInfoExt), [`trait@glib::object::ObjectExt`]
<!-- impl DiscovererSubtitleInfo::fn get_language --> <!-- impl DiscovererSubtitleInfo::fn language -->
# Returns # Returns
@ -450,48 +450,48 @@ the language of the stream, or NULL if unknown.
# Implements # Implements
[`DiscovererStreamInfoExt`](trait.DiscovererStreamInfoExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`DiscovererStreamInfoExt`](trait@crate::DiscovererStreamInfoExt), [`trait@glib::object::ObjectExt`]
<!-- impl DiscovererVideoInfo::fn get_bitrate --> <!-- impl DiscovererVideoInfo::fn bitrate -->
# Returns # Returns
the average or nominal bitrate of the video stream in bits/second. the average or nominal bitrate of the video stream in bits/second.
<!-- impl DiscovererVideoInfo::fn get_depth --> <!-- impl DiscovererVideoInfo::fn depth -->
# Returns # Returns
the depth in bits of the video stream. the depth in bits of the video stream.
<!-- impl DiscovererVideoInfo::fn get_framerate_denom --> <!-- impl DiscovererVideoInfo::fn framerate_denom -->
# Returns # Returns
the framerate of the video stream (denominator). the framerate of the video stream (denominator).
<!-- impl DiscovererVideoInfo::fn get_framerate_num --> <!-- impl DiscovererVideoInfo::fn framerate_num -->
# Returns # Returns
the framerate of the video stream (numerator). the framerate of the video stream (numerator).
<!-- impl DiscovererVideoInfo::fn get_height --> <!-- impl DiscovererVideoInfo::fn height -->
# Returns # Returns
the height of the video stream in pixels. the height of the video stream in pixels.
<!-- impl DiscovererVideoInfo::fn get_max_bitrate --> <!-- impl DiscovererVideoInfo::fn max_bitrate -->
# Returns # Returns
the maximum bitrate of the video stream in bits/second. the maximum bitrate of the video stream in bits/second.
<!-- impl DiscovererVideoInfo::fn get_par_denom --> <!-- impl DiscovererVideoInfo::fn par_denom -->
# Returns # Returns
the Pixel Aspect Ratio (PAR) of the video stream (denominator). the Pixel Aspect Ratio (PAR) of the video stream (denominator).
<!-- impl DiscovererVideoInfo::fn get_par_num --> <!-- impl DiscovererVideoInfo::fn par_num -->
# Returns # Returns
the Pixel Aspect Ratio (PAR) of the video stream (numerator). the Pixel Aspect Ratio (PAR) of the video stream (numerator).
<!-- impl DiscovererVideoInfo::fn get_width --> <!-- impl DiscovererVideoInfo::fn width -->
# Returns # Returns
@ -512,7 +512,7 @@ Variant of `EncodingProfile` for audio streams.
# Implements # Implements
[`EncodingProfileExt`](trait.EncodingProfileExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`EncodingProfileExt`](trait@crate::EncodingProfileExt), [`trait@glib::object::ObjectExt`]
<!-- impl EncodingAudioProfile::fn new --> <!-- impl EncodingAudioProfile::fn new -->
Creates a new `EncodingAudioProfile` Creates a new `EncodingAudioProfile`
@ -537,7 +537,7 @@ Encoding profiles for containers. Keeps track of a list of `EncodingProfile`
# Implements # Implements
[`EncodingProfileExt`](trait.EncodingProfileExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`EncodingProfileExt`](trait@crate::EncodingProfileExt), [`trait@glib::object::ObjectExt`]
<!-- impl EncodingContainerProfile::fn new --> <!-- impl EncodingContainerProfile::fn new -->
Creates a new `EncodingContainerProfile`. Creates a new `EncodingContainerProfile`.
## `name` ## `name`
@ -574,7 +574,7 @@ a `EncodingProfile`
`true` if `self` contains a `EncodingProfile` identical `true` if `self` contains a `EncodingProfile` identical
to `profile`, else `false`. to `profile`, else `false`.
<!-- impl EncodingContainerProfile::fn get_profiles --> <!-- impl EncodingContainerProfile::fn profiles -->
# Returns # Returns
@ -586,13 +586,13 @@ information like name, description, format and preset.
# Implements # Implements
[`EncodingProfileExt`](trait.EncodingProfileExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`EncodingProfileExt`](trait@crate::EncodingProfileExt), [`trait@glib::object::ObjectExt`]
<!-- trait EncodingProfileExt --> <!-- trait EncodingProfileExt -->
Trait containing all `EncodingProfile` methods. Trait containing all `EncodingProfile` methods.
# Implementors # Implementors
[`EncodingAudioProfile`](struct.EncodingAudioProfile.html), [`EncodingContainerProfile`](struct.EncodingContainerProfile.html), [`EncodingProfile`](struct.EncodingProfile.html), [`EncodingVideoProfile`](struct.EncodingVideoProfile.html) [`EncodingAudioProfile`](struct@crate::EncodingAudioProfile), [`EncodingContainerProfile`](struct@crate::EncodingContainerProfile), [`EncodingProfile`](struct@crate::EncodingProfile), [`EncodingVideoProfile`](struct@crate::EncodingVideoProfile)
<!-- impl EncodingProfile::fn find --> <!-- impl EncodingProfile::fn find -->
Find the `EncodingProfile` with the specified name and category. Find the `EncodingProfile` with the specified name and category.
## `targetname` ## `targetname`
@ -625,55 +625,55 @@ Feature: `v1_12`
# Returns # Returns
The copy of `self` The copy of `self`
<!-- trait EncodingProfileExt::fn get_allow_dynamic_output --> <!-- trait EncodingProfileExt::fn allows_dynamic_output -->
Get whether the format that has been negotiated in at some point can be renegotiated Get whether the format that has been negotiated in at some point can be renegotiated
later during the encoding. later during the encoding.
<!-- trait EncodingProfileExt::fn get_description --> <!-- trait EncodingProfileExt::fn description -->
# Returns # Returns
the description of the profile, can be `None`. the description of the profile, can be `None`.
<!-- trait EncodingProfileExt::fn get_file_extension --> <!-- trait EncodingProfileExt::fn file_extension -->
# Returns # Returns
a suitable file extension for `self`, or NULL. a suitable file extension for `self`, or NULL.
<!-- trait EncodingProfileExt::fn get_format --> <!-- trait EncodingProfileExt::fn format -->
# Returns # Returns
the `gst::Caps` corresponding to the media format used the `gst::Caps` corresponding to the media format used
in the profile. Unref after usage. in the profile. Unref after usage.
<!-- trait EncodingProfileExt::fn get_input_caps --> <!-- trait EncodingProfileExt::fn input_caps -->
Computes the full output caps that this `self` will be able to consume. Computes the full output caps that this `self` will be able to consume.
# Returns # Returns
The full caps the given `self` can consume. Call The full caps the given `self` can consume. Call
`gst_caps_unref` when you are done with the caps. `gst_caps_unref` when you are done with the caps.
<!-- trait EncodingProfileExt::fn get_name --> <!-- trait EncodingProfileExt::fn name -->
# Returns # Returns
the name of the profile, can be `None`. the name of the profile, can be `None`.
<!-- trait EncodingProfileExt::fn get_presence --> <!-- trait EncodingProfileExt::fn presence -->
# Returns # Returns
The number of times the profile is used in its parent The number of times the profile is used in its parent
container profile. If 0, it is not a mandatory stream. container profile. If 0, it is not a mandatory stream.
<!-- trait EncodingProfileExt::fn get_preset --> <!-- trait EncodingProfileExt::fn preset -->
# Returns # Returns
the name of the `gst::Preset` to be used in the profile. the name of the `gst::Preset` to be used in the profile.
This is the name that has been set when saving the preset. This is the name that has been set when saving the preset.
<!-- trait EncodingProfileExt::fn get_preset_name --> <!-- trait EncodingProfileExt::fn preset_name -->
# Returns # Returns
the name of the `gst::Preset` factory to be used in the profile. the name of the `gst::Preset` factory to be used in the profile.
<!-- trait EncodingProfileExt::fn get_restriction --> <!-- trait EncodingProfileExt::fn restriction -->
# Returns # Returns
@ -683,7 +683,7 @@ properties of the raw stream (that is before encoding), such as height and
width for video and depth and sampling rate for audio. Does not apply to width for video and depth and sampling rate for audio. Does not apply to
`EncodingContainerProfile` (since there is no corresponding raw stream). `EncodingContainerProfile` (since there is no corresponding raw stream).
Can be `None`. Unref after usage. Can be `None`. Unref after usage.
<!-- trait EncodingProfileExt::fn get_single_segment --> <!-- trait EncodingProfileExt::fn is_single_segment -->
Feature: `v1_18` Feature: `v1_18`
@ -693,7 +693,7 @@ Feature: `v1_18`
`true` if the stream represented by `self` should use a single `true` if the stream represented by `self` should use a single
segment before the encoder, `false` otherwise. This means that buffers will be retimestamped segment before the encoder, `false` otherwise. This means that buffers will be retimestamped
and segments will be eat so as to appear as one segment. and segments will be eat so as to appear as one segment.
<!-- trait EncodingProfileExt::fn get_type_nick --> <!-- trait EncodingProfileExt::fn type_nick -->
# Returns # Returns
@ -771,7 +771,7 @@ When being stored/loaded, targets come from a specific category, like
# Implements # Implements
[`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`trait@glib::object::ObjectExt`]
<!-- impl EncodingTarget::fn new --> <!-- impl EncodingTarget::fn new -->
Creates a new `EncodingTarget`. Creates a new `EncodingTarget`.
@ -838,23 +838,23 @@ the `EncodingProfile` to add
# Returns # Returns
`true` if the profile was added, else `false`. `true` if the profile was added, else `false`.
<!-- impl EncodingTarget::fn get_category --> <!-- impl EncodingTarget::fn category -->
# Returns # Returns
The category of the `self`. For example: The category of the `self`. For example:
`GST_ENCODING_CATEGORY_DEVICE`. `GST_ENCODING_CATEGORY_DEVICE`.
<!-- impl EncodingTarget::fn get_description --> <!-- impl EncodingTarget::fn description -->
# Returns # Returns
The description of the `self`. The description of the `self`.
<!-- impl EncodingTarget::fn get_name --> <!-- impl EncodingTarget::fn name -->
# Returns # Returns
The name of the `self`. The name of the `self`.
<!-- impl EncodingTarget::fn get_path --> <!-- impl EncodingTarget::fn path -->
Feature: `v1_18` Feature: `v1_18`
@ -869,7 +869,7 @@ the name of the profile to retrieve
# Returns # Returns
The matching `EncodingProfile`, or `None`. The matching `EncodingProfile`, or `None`.
<!-- impl EncodingTarget::fn get_profiles --> <!-- impl EncodingTarget::fn profiles -->
# Returns # Returns
@ -894,7 +894,7 @@ Variant of `EncodingProfile` for video streams, allows specifying the `pass`.
# Implements # Implements
[`EncodingProfileExt`](trait.EncodingProfileExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`EncodingProfileExt`](trait@crate::EncodingProfileExt), [`trait@glib::object::ObjectExt`]
<!-- impl EncodingVideoProfile::fn new --> <!-- impl EncodingVideoProfile::fn new -->
Creates a new `EncodingVideoProfile` Creates a new `EncodingVideoProfile`
@ -920,14 +920,14 @@ the number of time this stream must be used. 0 means any number of
# Returns # Returns
the newly created `EncodingVideoProfile`. the newly created `EncodingVideoProfile`.
<!-- impl EncodingVideoProfile::fn get_pass --> <!-- impl EncodingVideoProfile::fn pass -->
Get the pass number if this is part of a multi-pass profile. Get the pass number if this is part of a multi-pass profile.
# Returns # Returns
The pass number. Starts at 1 for multi-pass. 0 if this is The pass number. Starts at 1 for multi-pass. 0 if this is
not a multi-pass profile not a multi-pass profile
<!-- impl EncodingVideoProfile::fn get_variableframerate --> <!-- impl EncodingVideoProfile::fn is_variableframerate -->
> *NOTE*: Fixed framerate won't be enforced when `encodebin:avoid-reencoding` > *NOTE*: Fixed framerate won't be enforced when `encodebin:avoid-reencoding`
> is set. > is set.

View file

@ -4,7 +4,7 @@
# Implements # Implements
[`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- impl Player::fn new --> <!-- impl Player::fn new -->
Creates a new `Player` instance that uses `signal_dispatcher` to dispatch Creates a new `Player` instance that uses `signal_dispatcher` to dispatch
signals to some event loop system, or emits signals directly if NULL is signals to some event loop system, or emits signals directly if NULL is
@ -109,7 +109,7 @@ a `None` terminated array of `PlayerVisualization` to free
a `None` terminated array containing all available a `None` terminated array containing all available
visualizations. Use `Player::visualizations_free` after visualizations. Use `Player::visualizations_free` after
usage. usage.
<!-- impl Player::fn get_audio_video_offset --> <!-- impl Player::fn audio_video_offset -->
Retrieve the current value of audio-video-offset property Retrieve the current value of audio-video-offset property
# Returns # Returns
@ -124,7 +124,7 @@ Retrieve the current value of the indicated `type_`.
The current value of `type_`, between [0,1]. In case of The current value of `type_`, between [0,1]. In case of
error -1 is returned. error -1 is returned.
<!-- impl Player::fn get_config --> <!-- impl Player::fn config -->
Get a copy of the current configuration of the player. This configuration Get a copy of the current configuration of the player. This configuration
can either be modified and used for the `Player::set_config` call can either be modified and used for the `Player::set_config` call
or it must be freed after usage. or it must be freed after usage.
@ -133,7 +133,7 @@ or it must be freed after usage.
a copy of the current configuration of `self`. Use a copy of the current configuration of `self`. Use
`gst::Structure::free` after usage or `Player::set_config`. `gst::Structure::free` after usage or `Player::set_config`.
<!-- impl Player::fn get_current_audio_track --> <!-- impl Player::fn current_audio_track -->
A Function to get current audio `PlayerAudioInfo` instance. A Function to get current audio `PlayerAudioInfo` instance.
# Returns # Returns
@ -141,7 +141,7 @@ A Function to get current audio `PlayerAudioInfo` instance.
current audio track. current audio track.
The caller should free it with `glib::object::ObjectExt::unref` The caller should free it with `glib::object::ObjectExt::unref`
<!-- impl Player::fn get_current_subtitle_track --> <!-- impl Player::fn current_subtitle_track -->
A Function to get current subtitle `PlayerSubtitleInfo` instance. A Function to get current subtitle `PlayerSubtitleInfo` instance.
# Returns # Returns
@ -149,7 +149,7 @@ A Function to get current subtitle `PlayerSubtitleInfo` instance.
current subtitle track. current subtitle track.
The caller should free it with `glib::object::ObjectExt::unref` The caller should free it with `glib::object::ObjectExt::unref`
<!-- impl Player::fn get_current_video_track --> <!-- impl Player::fn current_video_track -->
A Function to get current video `PlayerVideoInfo` instance. A Function to get current video `PlayerVideoInfo` instance.
# Returns # Returns
@ -157,20 +157,20 @@ A Function to get current video `PlayerVideoInfo` instance.
current video track. current video track.
The caller should free it with `glib::object::ObjectExt::unref` The caller should free it with `glib::object::ObjectExt::unref`
<!-- impl Player::fn get_current_visualization --> <!-- impl Player::fn current_visualization -->
# Returns # Returns
Name of the currently enabled visualization. Name of the currently enabled visualization.
`g_free` after usage. `g_free` after usage.
<!-- impl Player::fn get_duration --> <!-- impl Player::fn duration -->
Retrieves the duration of the media stream that self represents. Retrieves the duration of the media stream that self represents.
# Returns # Returns
the duration of the currently-playing media stream, in the duration of the currently-playing media stream, in
nanoseconds. nanoseconds.
<!-- impl Player::fn get_media_info --> <!-- impl Player::fn media_info -->
A Function to get the current media info `PlayerMediaInfo` instance. A Function to get the current media info `PlayerMediaInfo` instance.
# Returns # Returns
@ -178,47 +178,47 @@ A Function to get the current media info `PlayerMediaInfo` instance.
media info instance. media info instance.
The caller should free it with `glib::object::ObjectExt::unref` The caller should free it with `glib::object::ObjectExt::unref`
<!-- impl Player::fn get_multiview_flags --> <!-- impl Player::fn multiview_flags -->
Retrieve the current value of the indicated `type_`. Retrieve the current value of the indicated `type_`.
# Returns # Returns
The current value of `type_`, Default: 0x00000000 "none The current value of `type_`, Default: 0x00000000 "none
<!-- impl Player::fn get_multiview_mode --> <!-- impl Player::fn multiview_mode -->
Retrieve the current value of the indicated `type_`. Retrieve the current value of the indicated `type_`.
# Returns # Returns
The current value of `type_`, Default: -1 "none" The current value of `type_`, Default: -1 "none"
<!-- impl Player::fn get_mute --> <!-- impl Player::fn is_muted -->
# Returns # Returns
`true` if the currently-playing stream is muted. `true` if the currently-playing stream is muted.
<!-- impl Player::fn get_pipeline --> <!-- impl Player::fn pipeline -->
# Returns # Returns
The internal playbin instance The internal playbin instance
<!-- impl Player::fn get_position --> <!-- impl Player::fn position -->
# Returns # Returns
the absolute position time, in nanoseconds, of the the absolute position time, in nanoseconds, of the
currently-playing stream. currently-playing stream.
<!-- impl Player::fn get_rate --> <!-- impl Player::fn rate -->
# Returns # Returns
current playback rate current playback rate
<!-- impl Player::fn get_subtitle_uri --> <!-- impl Player::fn subtitle_uri -->
current subtitle URI current subtitle URI
# Returns # Returns
URI of the current external subtitle. URI of the current external subtitle.
`g_free` after usage. `g_free` after usage.
<!-- impl Player::fn get_subtitle_video_offset --> <!-- impl Player::fn subtitle_video_offset -->
Retrieve the current value of subtitle-video-offset property Retrieve the current value of subtitle-video-offset property
Feature: `v1_16` Feature: `v1_16`
@ -227,7 +227,7 @@ Feature: `v1_16`
# Returns # Returns
The current value of subtitle-video-offset in nanoseconds The current value of subtitle-video-offset in nanoseconds
<!-- impl Player::fn get_uri --> <!-- impl Player::fn uri -->
Gets the URI of the currently-playing stream. Gets the URI of the currently-playing stream.
# Returns # Returns
@ -249,7 +249,7 @@ Additional configuration
# Returns # Returns
Current video snapshot sample or `None` on failure Current video snapshot sample or `None` on failure
<!-- impl Player::fn get_volume --> <!-- impl Player::fn volume -->
Returns the current volume level, as a percentage between 0 and 1. Returns the current volume level, as a percentage between 0 and 1.
# Returns # Returns
@ -397,28 +397,28 @@ in the stream.
# Implements # Implements
[`PlayerStreamInfoExt`](trait.PlayerStreamInfoExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`PlayerStreamInfoExt`](trait@crate::PlayerStreamInfoExt), [`trait@glib::object::ObjectExt`]
<!-- impl PlayerAudioInfo::fn get_bitrate --> <!-- impl PlayerAudioInfo::fn bitrate -->
# Returns # Returns
the audio bitrate in `PlayerAudioInfo`. the audio bitrate in `PlayerAudioInfo`.
<!-- impl PlayerAudioInfo::fn get_channels --> <!-- impl PlayerAudioInfo::fn channels -->
# Returns # Returns
the number of audio channels in `PlayerAudioInfo`. the number of audio channels in `PlayerAudioInfo`.
<!-- impl PlayerAudioInfo::fn get_language --> <!-- impl PlayerAudioInfo::fn language -->
# Returns # Returns
the language of the stream, or NULL if unknown. the language of the stream, or NULL if unknown.
<!-- impl PlayerAudioInfo::fn get_max_bitrate --> <!-- impl PlayerAudioInfo::fn max_bitrate -->
# Returns # Returns
the audio maximum bitrate in `PlayerAudioInfo`. the audio maximum bitrate in `PlayerAudioInfo`.
<!-- impl PlayerAudioInfo::fn get_sample_rate --> <!-- impl PlayerAudioInfo::fn sample_rate -->
# Returns # Returns
@ -441,7 +441,7 @@ generic error.
# Implements # Implements
[`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`PlayerSignalDispatcherExt`](trait.PlayerSignalDispatcherExt.html) [`trait@glib::object::ObjectExt`], [`PlayerSignalDispatcherExt`](trait@crate::PlayerSignalDispatcherExt)
<!-- impl PlayerGMainContextSignalDispatcher::fn new --> <!-- impl PlayerGMainContextSignalDispatcher::fn new -->
Creates a new GstPlayerSignalDispatcher that uses `application_context`, Creates a new GstPlayerSignalDispatcher that uses `application_context`,
or the thread default one if `None` is used. See `Player::new`. or the thread default one if `None` is used. See `Player::new`.
@ -456,78 +456,78 @@ Structure containing the media information of a URI.
# Implements # Implements
[`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`trait@glib::object::ObjectExt`]
<!-- impl PlayerMediaInfo::fn get_audio_streams --> <!-- impl PlayerMediaInfo::fn audio_streams -->
# Returns # Returns
A `glib::List` of A `glib::List` of
matching `PlayerAudioInfo`. matching `PlayerAudioInfo`.
<!-- impl PlayerMediaInfo::fn get_container_format --> <!-- impl PlayerMediaInfo::fn container_format -->
# Returns # Returns
the container format. the container format.
<!-- impl PlayerMediaInfo::fn get_duration --> <!-- impl PlayerMediaInfo::fn duration -->
# Returns # Returns
duration of the media. duration of the media.
<!-- impl PlayerMediaInfo::fn get_image_sample --> <!-- impl PlayerMediaInfo::fn image_sample -->
Function to get the image (or preview-image) stored in taglist. Function to get the image (or preview-image) stored in taglist.
Application can use `gst_sample_*_()` API's to get caps, buffer etc. Application can use `gst_sample_*_()` API's to get caps, buffer etc.
# Returns # Returns
GstSample or NULL. GstSample or NULL.
<!-- impl PlayerMediaInfo::fn get_number_of_audio_streams --> <!-- impl PlayerMediaInfo::fn number_of_audio_streams -->
# Returns # Returns
number of audio streams. number of audio streams.
<!-- impl PlayerMediaInfo::fn get_number_of_streams --> <!-- impl PlayerMediaInfo::fn number_of_streams -->
# Returns # Returns
number of total streams. number of total streams.
<!-- impl PlayerMediaInfo::fn get_number_of_subtitle_streams --> <!-- impl PlayerMediaInfo::fn number_of_subtitle_streams -->
# Returns # Returns
number of subtitle streams. number of subtitle streams.
<!-- impl PlayerMediaInfo::fn get_number_of_video_streams --> <!-- impl PlayerMediaInfo::fn number_of_video_streams -->
# Returns # Returns
number of video streams. number of video streams.
<!-- impl PlayerMediaInfo::fn get_stream_list --> <!-- impl PlayerMediaInfo::fn stream_list -->
# Returns # Returns
A `glib::List` of A `glib::List` of
matching `PlayerStreamInfo`. matching `PlayerStreamInfo`.
<!-- impl PlayerMediaInfo::fn get_subtitle_streams --> <!-- impl PlayerMediaInfo::fn subtitle_streams -->
# Returns # Returns
A `glib::List` of A `glib::List` of
matching `PlayerSubtitleInfo`. matching `PlayerSubtitleInfo`.
<!-- impl PlayerMediaInfo::fn get_tags --> <!-- impl PlayerMediaInfo::fn tags -->
# Returns # Returns
the tags contained in media info. the tags contained in media info.
<!-- impl PlayerMediaInfo::fn get_title --> <!-- impl PlayerMediaInfo::fn title -->
# Returns # Returns
the media title. the media title.
<!-- impl PlayerMediaInfo::fn get_uri --> <!-- impl PlayerMediaInfo::fn uri -->
# Returns # Returns
the URI associated with `PlayerMediaInfo`. the URI associated with `PlayerMediaInfo`.
<!-- impl PlayerMediaInfo::fn get_video_streams --> <!-- impl PlayerMediaInfo::fn video_streams -->
# Returns # Returns
@ -548,13 +548,13 @@ matching `PlayerVideoInfo`.
# Implements # Implements
[`PlayerSignalDispatcherExt`](trait.PlayerSignalDispatcherExt.html) [`PlayerSignalDispatcherExt`](trait@crate::PlayerSignalDispatcherExt)
<!-- trait PlayerSignalDispatcherExt --> <!-- trait PlayerSignalDispatcherExt -->
Trait containing all `PlayerSignalDispatcher` methods. Trait containing all `PlayerSignalDispatcher` methods.
# Implementors # Implementors
[`PlayerGMainContextSignalDispatcher`](struct.PlayerGMainContextSignalDispatcher.html), [`PlayerSignalDispatcher`](struct.PlayerSignalDispatcher.html) [`PlayerGMainContextSignalDispatcher`](struct@crate::PlayerGMainContextSignalDispatcher), [`PlayerSignalDispatcher`](struct@crate::PlayerSignalDispatcher)
<!-- enum PlayerSnapshotFormat --> <!-- enum PlayerSnapshotFormat -->
<!-- enum PlayerState --> <!-- enum PlayerState -->
<!-- enum PlayerState::variant Stopped --> <!-- enum PlayerState::variant Stopped -->
@ -575,38 +575,38 @@ This is an Abstract Base Class, you cannot instantiate it.
# Implements # Implements
[`PlayerStreamInfoExt`](trait.PlayerStreamInfoExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`PlayerStreamInfoExt`](trait@crate::PlayerStreamInfoExt), [`trait@glib::object::ObjectExt`]
<!-- trait PlayerStreamInfoExt --> <!-- trait PlayerStreamInfoExt -->
Trait containing all `PlayerStreamInfo` methods. Trait containing all `PlayerStreamInfo` methods.
# Implementors # Implementors
[`PlayerAudioInfo`](struct.PlayerAudioInfo.html), [`PlayerStreamInfo`](struct.PlayerStreamInfo.html), [`PlayerSubtitleInfo`](struct.PlayerSubtitleInfo.html), [`PlayerVideoInfo`](struct.PlayerVideoInfo.html) [`PlayerAudioInfo`](struct@crate::PlayerAudioInfo), [`PlayerStreamInfo`](struct@crate::PlayerStreamInfo), [`PlayerSubtitleInfo`](struct@crate::PlayerSubtitleInfo), [`PlayerVideoInfo`](struct@crate::PlayerVideoInfo)
<!-- trait PlayerStreamInfoExt::fn get_caps --> <!-- trait PlayerStreamInfoExt::fn caps -->
# Returns # Returns
the `gst::Caps` of the stream. the `gst::Caps` of the stream.
<!-- trait PlayerStreamInfoExt::fn get_codec --> <!-- trait PlayerStreamInfoExt::fn codec -->
A string describing codec used in `PlayerStreamInfo`. A string describing codec used in `PlayerStreamInfo`.
# Returns # Returns
codec string or NULL on unknown. codec string or NULL on unknown.
<!-- trait PlayerStreamInfoExt::fn get_index --> <!-- trait PlayerStreamInfoExt::fn index -->
Function to get stream index from `PlayerStreamInfo` instance. Function to get stream index from `PlayerStreamInfo` instance.
# Returns # Returns
the stream index of this stream. the stream index of this stream.
<!-- trait PlayerStreamInfoExt::fn get_stream_type --> <!-- trait PlayerStreamInfoExt::fn stream_type -->
Function to return human readable name for the stream type Function to return human readable name for the stream type
of the given `self` (ex: "audio", "video", "subtitle") of the given `self` (ex: "audio", "video", "subtitle")
# Returns # Returns
a human readable name a human readable name
<!-- trait PlayerStreamInfoExt::fn get_tags --> <!-- trait PlayerStreamInfoExt::fn tags -->
# Returns # Returns
@ -616,8 +616,8 @@ the tags contained in this stream.
# Implements # Implements
[`PlayerStreamInfoExt`](trait.PlayerStreamInfoExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`PlayerStreamInfoExt`](trait@crate::PlayerStreamInfoExt), [`trait@glib::object::ObjectExt`]
<!-- impl PlayerSubtitleInfo::fn get_language --> <!-- impl PlayerSubtitleInfo::fn language -->
# Returns # Returns
@ -627,34 +627,34 @@ the language of the stream, or NULL if unknown.
# Implements # Implements
[`PlayerStreamInfoExt`](trait.PlayerStreamInfoExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`PlayerStreamInfoExt`](trait@crate::PlayerStreamInfoExt), [`trait@glib::object::ObjectExt`]
<!-- impl PlayerVideoInfo::fn get_bitrate --> <!-- impl PlayerVideoInfo::fn bitrate -->
# Returns # Returns
the current bitrate of video in `PlayerVideoInfo`. the current bitrate of video in `PlayerVideoInfo`.
<!-- impl PlayerVideoInfo::fn get_framerate --> <!-- impl PlayerVideoInfo::fn framerate -->
## `fps_n` ## `fps_n`
Numerator of frame rate Numerator of frame rate
## `fps_d` ## `fps_d`
Denominator of frame rate Denominator of frame rate
<!-- impl PlayerVideoInfo::fn get_height --> <!-- impl PlayerVideoInfo::fn height -->
# Returns # Returns
the height of video in `PlayerVideoInfo`. the height of video in `PlayerVideoInfo`.
<!-- impl PlayerVideoInfo::fn get_max_bitrate --> <!-- impl PlayerVideoInfo::fn max_bitrate -->
# Returns # Returns
the maximum bitrate of video in `PlayerVideoInfo`. the maximum bitrate of video in `PlayerVideoInfo`.
<!-- impl PlayerVideoInfo::fn get_pixel_aspect_ratio --> <!-- impl PlayerVideoInfo::fn pixel_aspect_ratio -->
Returns the pixel aspect ratio in `par_n` and `par_d` Returns the pixel aspect ratio in `par_n` and `par_d`
## `par_n` ## `par_n`
numerator numerator
## `par_d` ## `par_d`
denominator denominator
<!-- impl PlayerVideoInfo::fn get_width --> <!-- impl PlayerVideoInfo::fn width -->
# Returns # Returns
@ -664,7 +664,7 @@ the width of video in `PlayerVideoInfo`.
# Implements # Implements
[`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`PlayerVideoRendererExt`](trait.PlayerVideoRendererExt.html) [`trait@glib::object::ObjectExt`], [`PlayerVideoRendererExt`](trait@crate::PlayerVideoRendererExt)
<!-- impl PlayerVideoOverlayVideoRenderer::fn new --> <!-- impl PlayerVideoOverlayVideoRenderer::fn new -->
## `window_handle` ## `window_handle`
Window handle to use or `None` Window handle to use or `None`
@ -676,7 +676,7 @@ the custom video_sink element to be set for the video renderer
<!-- impl PlayerVideoOverlayVideoRenderer::fn expose --> <!-- impl PlayerVideoOverlayVideoRenderer::fn expose -->
Tell an overlay that it has been exposed. This will redraw the current frame Tell an overlay that it has been exposed. This will redraw the current frame
in the drawable even if the pipeline is PAUSED. in the drawable even if the pipeline is PAUSED.
<!-- impl PlayerVideoOverlayVideoRenderer::fn get_render_rectangle --> <!-- impl PlayerVideoOverlayVideoRenderer::fn render_rectangle -->
Return the currently configured render rectangle. See `PlayerVideoOverlayVideoRenderer::set_render_rectangle` Return the currently configured render rectangle. See `PlayerVideoOverlayVideoRenderer::set_render_rectangle`
for details. for details.
## `x` ## `x`
@ -687,7 +687,7 @@ the vertical offset of the render area inside the window
the width of the render area inside the window the width of the render area inside the window
## `height` ## `height`
the height of the render area inside the window the height of the render area inside the window
<!-- impl PlayerVideoOverlayVideoRenderer::fn get_window_handle --> <!-- impl PlayerVideoOverlayVideoRenderer::fn window_handle -->
# Returns # Returns
@ -722,13 +722,13 @@ handle referencing to the platform specific window
# Implements # Implements
[`PlayerVideoRendererExt`](trait.PlayerVideoRendererExt.html) [`PlayerVideoRendererExt`](trait@crate::PlayerVideoRendererExt)
<!-- trait PlayerVideoRendererExt --> <!-- trait PlayerVideoRendererExt -->
Trait containing all `PlayerVideoRenderer` methods. Trait containing all `PlayerVideoRenderer` methods.
# Implementors # Implementors
[`PlayerVideoOverlayVideoRenderer`](struct.PlayerVideoOverlayVideoRenderer.html), [`PlayerVideoRenderer`](struct.PlayerVideoRenderer.html) [`PlayerVideoOverlayVideoRenderer`](struct@crate::PlayerVideoOverlayVideoRenderer), [`PlayerVideoRenderer`](struct@crate::PlayerVideoRenderer)
<!-- struct PlayerVisualization --> <!-- struct PlayerVisualization -->
A `PlayerVisualization` descriptor. A `PlayerVisualization` descriptor.
<!-- impl PlayerVisualization::fn copy --> <!-- impl PlayerVisualization::fn copy -->

View file

@ -29,13 +29,13 @@ An address pool, all member are private
# Implements # Implements
[`RTSPAddressPoolExt`](trait.RTSPAddressPoolExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`RTSPAddressPoolExtManual`](prelude/trait.RTSPAddressPoolExtManual.html) [`RTSPAddressPoolExt`](trait@crate::RTSPAddressPoolExt), [`trait@glib::object::ObjectExt`], [`RTSPAddressPoolExtManual`](trait@crate::RTSPAddressPoolExtManual)
<!-- trait RTSPAddressPoolExt --> <!-- trait RTSPAddressPoolExt -->
Trait containing all `RTSPAddressPool` methods. Trait containing all `RTSPAddressPool` methods.
# Implementors # Implementors
[`RTSPAddressPool`](struct.RTSPAddressPool.html) [`RTSPAddressPool`](struct@crate::RTSPAddressPool)
<!-- impl RTSPAddressPool::fn new --> <!-- impl RTSPAddressPool::fn new -->
Make a new `RTSPAddressPool`. Make a new `RTSPAddressPool`.
@ -132,13 +132,13 @@ The authentication structure.
# Implements # Implements
[`RTSPAuthExt`](trait.RTSPAuthExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`RTSPAuthExtManual`](prelude/trait.RTSPAuthExtManual.html) [`RTSPAuthExt`](trait@crate::RTSPAuthExt), [`trait@glib::object::ObjectExt`], [`RTSPAuthExtManual`](trait@crate::RTSPAuthExtManual)
<!-- trait RTSPAuthExt --> <!-- trait RTSPAuthExt -->
Trait containing all `RTSPAuth` methods. Trait containing all `RTSPAuth` methods.
# Implementors # Implementors
[`RTSPAuth`](struct.RTSPAuth.html) [`RTSPAuth`](struct@crate::RTSPAuth)
<!-- impl RTSPAuth::fn new --> <!-- impl RTSPAuth::fn new -->
Create a new `RTSPAuth` instance. Create a new `RTSPAuth` instance.
@ -183,7 +183,7 @@ the digest user name
the digest password the digest password
## `token` ## `token`
authorisation token authorisation token
<!-- trait RTSPAuthExt::fn get_default_token --> <!-- trait RTSPAuthExt::fn default_token -->
Get the default token for `self`. This token will be used for unauthenticated Get the default token for `self`. This token will be used for unauthenticated
users. users.
@ -191,7 +191,7 @@ users.
the `RTSPToken` of `self`. `gst_rtsp_token_unref` after the `RTSPToken` of `self`. `gst_rtsp_token_unref` after
usage. usage.
<!-- trait RTSPAuthExt::fn get_realm --> <!-- trait RTSPAuthExt::fn realm -->
Feature: `v1_16` Feature: `v1_16`
@ -199,7 +199,7 @@ Feature: `v1_16`
# Returns # Returns
the `realm` of `self` the `realm` of `self`
<!-- trait RTSPAuthExt::fn get_supported_methods --> <!-- trait RTSPAuthExt::fn supported_methods -->
Gets the supported authentication methods of `self`. Gets the supported authentication methods of `self`.
Feature: `v1_12` Feature: `v1_12`
@ -208,20 +208,20 @@ Feature: `v1_12`
# Returns # Returns
The supported authentication methods The supported authentication methods
<!-- trait RTSPAuthExt::fn get_tls_authentication_mode --> <!-- trait RTSPAuthExt::fn tls_authentication_mode -->
Get the `gio::TlsAuthenticationMode`. Get the `gio::TlsAuthenticationMode`.
# Returns # Returns
the `gio::TlsAuthenticationMode`. the `gio::TlsAuthenticationMode`.
<!-- trait RTSPAuthExt::fn get_tls_certificate --> <!-- trait RTSPAuthExt::fn tls_certificate -->
Get the `gio::TlsCertificate` used for negotiating TLS `self`. Get the `gio::TlsCertificate` used for negotiating TLS `self`.
# Returns # Returns
the `gio::TlsCertificate` of `self`. `glib::object::ObjectExt::unref` after the `gio::TlsCertificate` of `self`. `glib::object::ObjectExt::unref` after
usage. usage.
<!-- trait RTSPAuthExt::fn get_tls_database --> <!-- trait RTSPAuthExt::fn tls_database -->
Get the `gio::TlsDatabase` used for verifying client certificate. Get the `gio::TlsDatabase` used for verifying client certificate.
# Returns # Returns
@ -312,13 +312,13 @@ The client object represents the connection and its state with a client.
# Implements # Implements
[`RTSPClientExt`](trait.RTSPClientExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`RTSPClientExtManual`](prelude/trait.RTSPClientExtManual.html) [`RTSPClientExt`](trait@crate::RTSPClientExt), [`trait@glib::object::ObjectExt`], [`RTSPClientExtManual`](trait@crate::RTSPClientExtManual)
<!-- trait RTSPClientExt --> <!-- trait RTSPClientExt -->
Trait containing all `RTSPClient` methods. Trait containing all `RTSPClient` methods.
# Implementors # Implementors
[`RTSPClient`](struct.RTSPClient.html) [`RTSPClient`](struct@crate::RTSPClient)
<!-- impl RTSPClient::fn new --> <!-- impl RTSPClient::fn new -->
Create a new `RTSPClient` instance. Create a new `RTSPClient` instance.
@ -340,21 +340,21 @@ a `glib::MainContext`
the ID (greater than 0) for the source within the GMainContext. the ID (greater than 0) for the source within the GMainContext.
<!-- trait RTSPClientExt::fn close --> <!-- trait RTSPClientExt::fn close -->
Close the connection of `self` and remove all media it was managing. Close the connection of `self` and remove all media it was managing.
<!-- trait RTSPClientExt::fn get_auth --> <!-- trait RTSPClientExt::fn auth -->
Get the `RTSPAuth` used as the authentication manager of `self`. Get the `RTSPAuth` used as the authentication manager of `self`.
# Returns # Returns
the `RTSPAuth` of `self`. the `RTSPAuth` of `self`.
`glib::object::ObjectExt::unref` after usage. `glib::object::ObjectExt::unref` after usage.
<!-- trait RTSPClientExt::fn get_connection --> <!-- trait RTSPClientExt::fn connection -->
Get the `gst_rtsp::RTSPConnection` of `self`. Get the `gst_rtsp::RTSPConnection` of `self`.
# Returns # Returns
the `gst_rtsp::RTSPConnection` of `self`. the `gst_rtsp::RTSPConnection` of `self`.
The connection object returned remains valid until the client is freed. The connection object returned remains valid until the client is freed.
<!-- trait RTSPClientExt::fn get_content_length_limit --> <!-- trait RTSPClientExt::fn content_length_limit -->
Get the Content-Length limit of `self`. Get the Content-Length limit of `self`.
Feature: `v1_18` Feature: `v1_18`
@ -363,13 +363,13 @@ Feature: `v1_18`
# Returns # Returns
the Content-Length limit. the Content-Length limit.
<!-- trait RTSPClientExt::fn get_mount_points --> <!-- trait RTSPClientExt::fn mount_points -->
Get the `RTSPMountPoints` object that `self` uses to manage its sessions. Get the `RTSPMountPoints` object that `self` uses to manage its sessions.
# Returns # Returns
a `RTSPMountPoints`, unref after usage. a `RTSPMountPoints`, unref after usage.
<!-- trait RTSPClientExt::fn get_session_pool --> <!-- trait RTSPClientExt::fn session_pool -->
Get the `RTSPSessionPool` object that `self` uses to manage its sessions. Get the `RTSPSessionPool` object that `self` uses to manage its sessions.
# Returns # Returns
@ -388,7 +388,7 @@ Feature: `v1_18`
# Returns # Returns
the `RTSPStreamTransport` associated with `channel`. the `RTSPStreamTransport` associated with `channel`.
<!-- trait RTSPClientExt::fn get_thread_pool --> <!-- trait RTSPClientExt::fn thread_pool -->
Get the `RTSPThreadPool` used as the thread pool of `self`. Get the `RTSPThreadPool` used as the thread pool of `self`.
# Returns # Returns
@ -668,6 +668,21 @@ a `RTSPContext`
a `RTSPContext` a `RTSPContext`
<!-- trait RTSPClientExt::fn connect_teardown_request --> <!-- trait RTSPClientExt::fn connect_teardown_request -->
## `ctx` ## `ctx`
a `RTSPContext`
<!-- struct RTSPContext -->
Information passed around containing the context of a request.
<!-- impl RTSPContext::fn pop_current -->
Pops `self` off the context stack (verifying that `self`
is on the top of the stack).
<!-- impl RTSPContext::fn push_current -->
Pushes `self` onto the context stack. The current
context can then be received using `RTSPContext::get_current`.
<!-- impl RTSPContext::fn get_current -->
Get the current `RTSPContext`. This object is retrieved from the
current thread that is handling the request for a client.
# Returns
a `RTSPContext` a `RTSPContext`
<!-- enum RTSPFilterResult --> <!-- enum RTSPFilterResult -->
Possible return values for `RTSPSessionPoolExt::filter`. Possible return values for `RTSPSessionPoolExt::filter`.
@ -685,13 +700,13 @@ This object is usually created from a `RTSPMediaFactory`.
# Implements # Implements
[`RTSPMediaExt`](trait.RTSPMediaExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`RTSPMediaExtManual`](prelude/trait.RTSPMediaExtManual.html) [`RTSPMediaExt`](trait@crate::RTSPMediaExt), [`trait@glib::object::ObjectExt`], [`RTSPMediaExtManual`](trait@crate::RTSPMediaExtManual)
<!-- trait RTSPMediaExt --> <!-- trait RTSPMediaExt -->
Trait containing all `RTSPMedia` methods. Trait containing all `RTSPMedia` methods.
# Implementors # Implementors
[`RTSPMedia`](struct.RTSPMedia.html) [`RTSPMedia`](struct@crate::RTSPMedia)
<!-- impl RTSPMedia::fn new --> <!-- impl RTSPMedia::fn new -->
Create a new `RTSPMedia` instance. `element` is the bin element that Create a new `RTSPMedia` instance. `element` is the bin element that
provides the different streams. The `RTSPMedia` object contains the provides the different streams. The `RTSPMedia` object contains the
@ -748,14 +763,14 @@ the control of the stream
the `RTSPStream` with the `RTSPStream` with
control uri `control` or `None` when a stream with that control did control uri `control` or `None` when a stream with that control did
not exist. not exist.
<!-- trait RTSPMediaExt::fn get_address_pool --> <!-- trait RTSPMediaExt::fn address_pool -->
Get the `RTSPAddressPool` used as the address pool of `self`. Get the `RTSPAddressPool` used as the address pool of `self`.
# Returns # Returns
the `RTSPAddressPool` of `self`. the `RTSPAddressPool` of `self`.
`glib::object::ObjectExt::unref` after usage. `glib::object::ObjectExt::unref` after usage.
<!-- trait RTSPMediaExt::fn get_base_time --> <!-- trait RTSPMediaExt::fn base_time -->
Get the base_time that is used by the pipeline in `self`. Get the base_time that is used by the pipeline in `self`.
`self` must be prepared before this method returns a valid base_time. `self` must be prepared before this method returns a valid base_time.
@ -763,13 +778,13 @@ Get the base_time that is used by the pipeline in `self`.
# Returns # Returns
the base_time used by `self`. the base_time used by `self`.
<!-- trait RTSPMediaExt::fn get_buffer_size --> <!-- trait RTSPMediaExt::fn buffer_size -->
Get the kernel UDP buffer size. Get the kernel UDP buffer size.
# Returns # Returns
the kernel UDP buffer size. the kernel UDP buffer size.
<!-- trait RTSPMediaExt::fn get_clock --> <!-- trait RTSPMediaExt::fn clock -->
Get the clock that is used by the pipeline in `self`. Get the clock that is used by the pipeline in `self`.
`self` must be prepared before this method returns a valid clock object. `self` must be prepared before this method returns a valid clock object.
@ -777,7 +792,7 @@ Get the clock that is used by the pipeline in `self`.
# Returns # Returns
the `gst::Clock` used by `self`. unref after usage. the `gst::Clock` used by `self`. unref after usage.
<!-- trait RTSPMediaExt::fn get_do_retransmission --> <!-- trait RTSPMediaExt::fn does_retransmission -->
Feature: `v1_16` Feature: `v1_16`
@ -785,7 +800,7 @@ Feature: `v1_16`
# Returns # Returns
Whether retransmission requests will be sent Whether retransmission requests will be sent
<!-- trait RTSPMediaExt::fn get_dscp_qos --> <!-- trait RTSPMediaExt::fn dscp_qos -->
Get the configured DSCP QoS of attached media. Get the configured DSCP QoS of attached media.
Feature: `v1_18` Feature: `v1_18`
@ -794,19 +809,19 @@ Feature: `v1_18`
# Returns # Returns
the DSCP QoS value of attached streams or -1 if disabled. the DSCP QoS value of attached streams or -1 if disabled.
<!-- trait RTSPMediaExt::fn get_element --> <!-- trait RTSPMediaExt::fn element -->
Get the element that was used when constructing `self`. Get the element that was used when constructing `self`.
# Returns # Returns
a `gst::Element`. Unref after usage. a `gst::Element`. Unref after usage.
<!-- trait RTSPMediaExt::fn get_latency --> <!-- trait RTSPMediaExt::fn latency -->
Get the latency that is used for receiving media. Get the latency that is used for receiving media.
# Returns # Returns
latency in milliseconds latency in milliseconds
<!-- trait RTSPMediaExt::fn get_max_mcast_ttl --> <!-- trait RTSPMediaExt::fn max_mcast_ttl -->
Get the the maximum time-to-live value of outgoing multicast packets. Get the the maximum time-to-live value of outgoing multicast packets.
Feature: `v1_16` Feature: `v1_16`
@ -815,32 +830,32 @@ Feature: `v1_16`
# Returns # Returns
the maximum time-to-live value of outgoing multicast packets. the maximum time-to-live value of outgoing multicast packets.
<!-- trait RTSPMediaExt::fn get_multicast_iface --> <!-- trait RTSPMediaExt::fn multicast_iface -->
Get the multicast interface used for `self`. Get the multicast interface used for `self`.
# Returns # Returns
the multicast interface for `self`. the multicast interface for `self`.
`g_free` after usage. `g_free` after usage.
<!-- trait RTSPMediaExt::fn get_permissions --> <!-- trait RTSPMediaExt::fn permissions -->
Get the permissions object from `self`. Get the permissions object from `self`.
# Returns # Returns
a `RTSPPermissions` object, unref after usage. a `RTSPPermissions` object, unref after usage.
<!-- trait RTSPMediaExt::fn get_profiles --> <!-- trait RTSPMediaExt::fn profiles -->
Get the allowed profiles of `self`. Get the allowed profiles of `self`.
# Returns # Returns
a `gst_rtsp::RTSPProfile` a `gst_rtsp::RTSPProfile`
<!-- trait RTSPMediaExt::fn get_protocols --> <!-- trait RTSPMediaExt::fn protocols -->
Get the allowed protocols of `self`. Get the allowed protocols of `self`.
# Returns # Returns
a `gst_rtsp::RTSPLowerTrans` a `gst_rtsp::RTSPLowerTrans`
<!-- trait RTSPMediaExt::fn get_publish_clock_mode --> <!-- trait RTSPMediaExt::fn publish_clock_mode -->
Gets if and how the media clock should be published according to RFC7273. Gets if and how the media clock should be published according to RFC7273.
# Returns # Returns
@ -857,7 +872,7 @@ the unit to use for the string
# Returns # Returns
The range as a string, `g_free` after usage. The range as a string, `g_free` after usage.
<!-- trait RTSPMediaExt::fn get_rate_control --> <!-- trait RTSPMediaExt::fn is_rate_control -->
Feature: `v1_18` Feature: `v1_18`
@ -866,7 +881,7 @@ Feature: `v1_18`
whether `self` will follow the Rate-Control=no behaviour as specified whether `self` will follow the Rate-Control=no behaviour as specified
in the ONVIF replay spec. in the ONVIF replay spec.
<!-- trait RTSPMediaExt::fn get_rates --> <!-- trait RTSPMediaExt::fn rates -->
Get the rate and applied_rate of the current segment. Get the rate and applied_rate of the current segment.
Feature: `v1_18` Feature: `v1_18`
@ -881,13 +896,13 @@ the applied_rate of the current segment
`false` if looking up the rate and applied rate failed. Otherwise `false` if looking up the rate and applied rate failed. Otherwise
`true` is returned and `rate` and `applied_rate` are set to the rate and `true` is returned and `rate` and `applied_rate` are set to the rate and
applied_rate of the current segment. applied_rate of the current segment.
<!-- trait RTSPMediaExt::fn get_retransmission_time --> <!-- trait RTSPMediaExt::fn retransmission_time -->
Get the amount of time to store retransmission data. 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 RTSPMediaExt::fn get_status --> <!-- trait RTSPMediaExt::fn status -->
Get the status of `self`. When `self` is busy preparing, this function waits Get the status of `self`. When `self` is busy preparing, this function waits
until `self` is prepared or in error. until `self` is prepared or in error.
@ -903,7 +918,7 @@ the stream index
the `RTSPStream` at index the `RTSPStream` at index
`idx` or `None` when a stream with that index did not exist. `idx` or `None` when a stream with that index did not exist.
<!-- trait RTSPMediaExt::fn get_suspend_mode --> <!-- trait RTSPMediaExt::fn suspend_mode -->
Get how `self` will be suspended. Get how `self` will be suspended.
# Returns # Returns
@ -920,7 +935,7 @@ a port or 0
# Returns # Returns
the `gst_net::NetTimeProvider` of `self`. the `gst_net::NetTimeProvider` of `self`.
<!-- trait RTSPMediaExt::fn get_transport_mode --> <!-- trait RTSPMediaExt::fn transport_mode -->
Check if the pipeline for `self` can be used for PLAY or RECORD methods. Check if the pipeline for `self` can be used for PLAY or RECORD methods.
# Returns # Returns
@ -1266,13 +1281,13 @@ can contain multiple streams like audio and video.
# Implements # Implements
[`RTSPMediaFactoryExt`](trait.RTSPMediaFactoryExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`RTSPMediaFactoryExtManual`](prelude/trait.RTSPMediaFactoryExtManual.html) [`RTSPMediaFactoryExt`](trait@crate::RTSPMediaFactoryExt), [`trait@glib::object::ObjectExt`], [`RTSPMediaFactoryExtManual`](trait@crate::RTSPMediaFactoryExtManual)
<!-- trait RTSPMediaFactoryExt --> <!-- trait RTSPMediaFactoryExt -->
Trait containing all `RTSPMediaFactory` methods. Trait containing all `RTSPMediaFactory` methods.
# Implementors # Implementors
[`RTSPMediaFactoryURI`](struct.RTSPMediaFactoryURI.html), [`RTSPMediaFactory`](struct.RTSPMediaFactory.html) [`RTSPMediaFactoryURI`](struct@crate::RTSPMediaFactoryURI), [`RTSPMediaFactory`](struct@crate::RTSPMediaFactory)
<!-- impl RTSPMediaFactory::fn new --> <!-- impl RTSPMediaFactory::fn new -->
Create a new `RTSPMediaFactory` instance. Create a new `RTSPMediaFactory` instance.
@ -1323,27 +1338,27 @@ the url used
# Returns # Returns
a new `gst::Element`. a new `gst::Element`.
<!-- trait RTSPMediaFactoryExt::fn get_address_pool --> <!-- trait RTSPMediaFactoryExt::fn address_pool -->
Get the `RTSPAddressPool` used as the address pool of `self`. Get the `RTSPAddressPool` used as the address pool of `self`.
# Returns # Returns
the `RTSPAddressPool` of `self`. `glib::object::ObjectExt::unref` after the `RTSPAddressPool` of `self`. `glib::object::ObjectExt::unref` after
usage. usage.
<!-- trait RTSPMediaFactoryExt::fn get_buffer_size --> <!-- trait RTSPMediaFactoryExt::fn buffer_size -->
Get the kernel UDP buffer size. Get the kernel UDP buffer size.
# Returns # Returns
the kernel UDP buffer size. the kernel UDP buffer size.
<!-- trait RTSPMediaFactoryExt::fn get_clock --> <!-- trait RTSPMediaFactoryExt::fn clock -->
Returns the clock that is going to be used by the pipelines Returns the clock that is going to be used by the pipelines
of all medias created from this factory. of all medias created from this factory.
# Returns # Returns
The GstClock The GstClock
<!-- trait RTSPMediaFactoryExt::fn get_do_retransmission --> <!-- trait RTSPMediaFactoryExt::fn does_retransmission -->
Feature: `v1_16` Feature: `v1_16`
@ -1351,7 +1366,7 @@ Feature: `v1_16`
# Returns # Returns
Whether retransmission requests will be sent for receiving media Whether retransmission requests will be sent for receiving media
<!-- trait RTSPMediaFactoryExt::fn get_dscp_qos --> <!-- trait RTSPMediaFactoryExt::fn dscp_qos -->
Get the configured media DSCP QoS. Get the configured media DSCP QoS.
Feature: `v1_18` Feature: `v1_18`
@ -1360,13 +1375,13 @@ Feature: `v1_18`
# Returns # Returns
the media DSCP QoS value or -1 if disabled. the media DSCP QoS value or -1 if disabled.
<!-- trait RTSPMediaFactoryExt::fn get_latency --> <!-- trait RTSPMediaFactoryExt::fn latency -->
Get the latency that is used for receiving media Get the latency that is used for receiving media
# Returns # Returns
latency in milliseconds latency in milliseconds
<!-- trait RTSPMediaFactoryExt::fn get_launch --> <!-- trait RTSPMediaFactoryExt::fn launch -->
Get the `gst_parse_launch` pipeline description that will be used in the Get the `gst_parse_launch` pipeline description that will be used in the
default prepare vmethod. default prepare vmethod.
@ -1374,7 +1389,7 @@ default prepare vmethod.
the configured launch description. `g_free` after the configured launch description. `g_free` after
usage. usage.
<!-- trait RTSPMediaFactoryExt::fn get_max_mcast_ttl --> <!-- trait RTSPMediaFactoryExt::fn max_mcast_ttl -->
Get the the maximum time-to-live value of outgoing multicast packets. Get the the maximum time-to-live value of outgoing multicast packets.
Feature: `v1_16` Feature: `v1_16`
@ -1383,53 +1398,53 @@ Feature: `v1_16`
# Returns # Returns
the maximum time-to-live value of outgoing multicast packets. the maximum time-to-live value of outgoing multicast packets.
<!-- trait RTSPMediaFactoryExt::fn get_media_gtype --> <!-- trait RTSPMediaFactoryExt::fn media_gtype -->
Return the GType of the GstRTSPMedia subclass this Return the GType of the GstRTSPMedia subclass this
factory will create. factory will create.
<!-- trait RTSPMediaFactoryExt::fn get_multicast_iface --> <!-- trait RTSPMediaFactoryExt::fn multicast_iface -->
Get the multicast interface used for `self`. Get the multicast interface used for `self`.
# Returns # Returns
the multicast interface for `self`. `g_free` after the multicast interface for `self`. `g_free` after
usage. usage.
<!-- trait RTSPMediaFactoryExt::fn get_permissions --> <!-- trait RTSPMediaFactoryExt::fn permissions -->
Get the permissions object from `self`. Get the permissions object from `self`.
# Returns # Returns
a `RTSPPermissions` object, unref after usage. a `RTSPPermissions` object, unref after usage.
<!-- trait RTSPMediaFactoryExt::fn get_profiles --> <!-- trait RTSPMediaFactoryExt::fn profiles -->
Get the allowed profiles of `self`. Get the allowed profiles of `self`.
# Returns # Returns
a `gst_rtsp::RTSPProfile` a `gst_rtsp::RTSPProfile`
<!-- trait RTSPMediaFactoryExt::fn get_protocols --> <!-- trait RTSPMediaFactoryExt::fn protocols -->
Get the allowed protocols of `self`. Get the allowed protocols of `self`.
# Returns # Returns
a `gst_rtsp::RTSPLowerTrans` a `gst_rtsp::RTSPLowerTrans`
<!-- trait RTSPMediaFactoryExt::fn get_publish_clock_mode --> <!-- trait RTSPMediaFactoryExt::fn publish_clock_mode -->
Gets if and how the media clock should be published according to RFC7273. Gets if and how the media clock should be published according to RFC7273.
# Returns # Returns
The GstRTSPPublishClockMode The GstRTSPPublishClockMode
<!-- trait RTSPMediaFactoryExt::fn get_retransmission_time --> <!-- trait RTSPMediaFactoryExt::fn retransmission_time -->
Get the time that is stored for retransmission purposes Get the time that is stored for retransmission purposes
# Returns # Returns
a `gst::ClockTime` a `gst::ClockTime`
<!-- trait RTSPMediaFactoryExt::fn get_suspend_mode --> <!-- trait RTSPMediaFactoryExt::fn suspend_mode -->
Get how media created from this factory will be suspended. Get how media created from this factory will be suspended.
# Returns # Returns
a `RTSPSuspendMode`. a `RTSPSuspendMode`.
<!-- trait RTSPMediaFactoryExt::fn get_transport_mode --> <!-- trait RTSPMediaFactoryExt::fn transport_mode -->
Get if media created from this factory can be used for PLAY or RECORD Get if media created from this factory can be used for PLAY or RECORD
methods. methods.
@ -1576,20 +1591,20 @@ A media factory that creates a pipeline to play any uri.
# Implements # Implements
[`RTSPMediaFactoryURIExt`](trait.RTSPMediaFactoryURIExt.html), [`RTSPMediaFactoryExt`](trait.RTSPMediaFactoryExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`RTSPMediaFactoryExtManual`](prelude/trait.RTSPMediaFactoryExtManual.html) [`RTSPMediaFactoryURIExt`](trait@crate::RTSPMediaFactoryURIExt), [`RTSPMediaFactoryExt`](trait@crate::RTSPMediaFactoryExt), [`trait@glib::object::ObjectExt`], [`RTSPMediaFactoryExtManual`](trait@crate::RTSPMediaFactoryExtManual)
<!-- trait RTSPMediaFactoryURIExt --> <!-- trait RTSPMediaFactoryURIExt -->
Trait containing all `RTSPMediaFactoryURI` methods. Trait containing all `RTSPMediaFactoryURI` methods.
# Implementors # Implementors
[`RTSPMediaFactoryURI`](struct.RTSPMediaFactoryURI.html) [`RTSPMediaFactoryURI`](struct@crate::RTSPMediaFactoryURI)
<!-- impl RTSPMediaFactoryURI::fn new --> <!-- impl RTSPMediaFactoryURI::fn new -->
Create a new `RTSPMediaFactoryURI` instance. Create a new `RTSPMediaFactoryURI` instance.
# Returns # Returns
a new `RTSPMediaFactoryURI` object. a new `RTSPMediaFactoryURI` object.
<!-- trait RTSPMediaFactoryURIExt::fn get_uri --> <!-- trait RTSPMediaFactoryURIExt::fn uri -->
Get the URI that will provide media for this factory. Get the URI that will provide media for this factory.
# Returns # Returns
@ -1619,13 +1634,13 @@ Creates a `RTSPMediaFactory` object for a given url.
# Implements # Implements
[`RTSPMountPointsExt`](trait.RTSPMountPointsExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`RTSPMountPointsExt`](trait@crate::RTSPMountPointsExt), [`trait@glib::object::ObjectExt`]
<!-- trait RTSPMountPointsExt --> <!-- trait RTSPMountPointsExt -->
Trait containing all `RTSPMountPoints` methods. Trait containing all `RTSPMountPoints` methods.
# Implementors # Implementors
[`RTSPMountPoints`](struct.RTSPMountPoints.html) [`RTSPMountPoints`](struct@crate::RTSPMountPoints)
<!-- impl RTSPMountPoints::fn new --> <!-- impl RTSPMountPoints::fn new -->
Make a new mount points object. Make a new mount points object.
@ -1683,13 +1698,13 @@ it.
# Implements # Implements
[`RTSPServerExt`](trait.RTSPServerExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`RTSPServerExtManual`](prelude/trait.RTSPServerExtManual.html) [`RTSPServerExt`](trait@crate::RTSPServerExt), [`trait@glib::object::ObjectExt`], [`RTSPServerExtManual`](trait@crate::RTSPServerExtManual)
<!-- trait RTSPServerExt --> <!-- trait RTSPServerExt -->
Trait containing all `RTSPServer` methods. Trait containing all `RTSPServer` methods.
# Implementors # Implementors
[`RTSPServer`](struct.RTSPServer.html) [`RTSPServer`](struct@crate::RTSPServer)
<!-- impl RTSPServer::fn new --> <!-- impl RTSPServer::fn new -->
Create a new `RTSPServer` instance. Create a new `RTSPServer` instance.
@ -1780,32 +1795,32 @@ a `gio::Cancellable` or `None`.
the `glib::Source` for `self` or `None` when an error the `glib::Source` for `self` or `None` when an error
occurred. Free with g_source_unref () occurred. Free with g_source_unref ()
<!-- trait RTSPServerExt::fn get_address --> <!-- trait RTSPServerExt::fn address -->
Get the address on which the server will accept connections. Get the address on which the server will accept connections.
# Returns # Returns
the server address. `g_free` after usage. the server address. `g_free` after usage.
<!-- trait RTSPServerExt::fn get_auth --> <!-- trait RTSPServerExt::fn auth -->
Get the `RTSPAuth` used as the authentication manager of `self`. Get the `RTSPAuth` used as the authentication manager of `self`.
# Returns # Returns
the `RTSPAuth` of `self`. `glib::object::ObjectExt::unref` after the `RTSPAuth` of `self`. `glib::object::ObjectExt::unref` after
usage. usage.
<!-- trait RTSPServerExt::fn get_backlog --> <!-- trait RTSPServerExt::fn backlog -->
The maximum amount of queued requests for the server. The maximum amount of queued requests for the server.
# Returns # Returns
the server backlog. the server backlog.
<!-- trait RTSPServerExt::fn get_bound_port --> <!-- trait RTSPServerExt::fn bound_port -->
Get the port number where the server was bound to. Get the port number where the server was bound to.
# Returns # Returns
the port number the port number
<!-- trait RTSPServerExt::fn get_content_length_limit --> <!-- trait RTSPServerExt::fn content_length_limit -->
Get the Content-Length limit of `self`. Get the Content-Length limit of `self`.
Feature: `v1_18` Feature: `v1_18`
@ -1814,27 +1829,27 @@ Feature: `v1_18`
# Returns # Returns
the Content-Length limit. the Content-Length limit.
<!-- trait RTSPServerExt::fn get_mount_points --> <!-- trait RTSPServerExt::fn mount_points -->
Get the `RTSPMountPoints` used as the mount points of `self`. Get the `RTSPMountPoints` used as the mount points of `self`.
# Returns # Returns
the `RTSPMountPoints` of `self`. `glib::object::ObjectExt::unref` after the `RTSPMountPoints` of `self`. `glib::object::ObjectExt::unref` after
usage. usage.
<!-- trait RTSPServerExt::fn get_service --> <!-- trait RTSPServerExt::fn service -->
Get the service on which the server will accept connections. Get the service on which the server will accept connections.
# Returns # Returns
the service. use `g_free` after usage. the service. use `g_free` after usage.
<!-- trait RTSPServerExt::fn get_session_pool --> <!-- trait RTSPServerExt::fn session_pool -->
Get the `RTSPSessionPool` used as the session pool of `self`. Get the `RTSPSessionPool` used as the session pool of `self`.
# Returns # Returns
the `RTSPSessionPool` used for sessions. `glib::object::ObjectExt::unref` after the `RTSPSessionPool` used for sessions. `glib::object::ObjectExt::unref` after
usage. usage.
<!-- trait RTSPServerExt::fn get_thread_pool --> <!-- trait RTSPServerExt::fn thread_pool -->
Get the `RTSPThreadPool` used as the thread pool of `self`. Get the `RTSPThreadPool` used as the thread pool of `self`.
# Returns # Returns
@ -1912,13 +1927,13 @@ identified with the url of a media.
# Implements # Implements
[`RTSPSessionExt`](trait.RTSPSessionExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`RTSPSessionExt`](trait@crate::RTSPSessionExt), [`trait@glib::object::ObjectExt`]
<!-- trait RTSPSessionExt --> <!-- trait RTSPSessionExt -->
Trait containing all `RTSPSession` methods. Trait containing all `RTSPSession` methods.
# Implementors # Implementors
[`RTSPSession`](struct.RTSPSession.html) [`RTSPSession`](struct@crate::RTSPSession)
<!-- impl RTSPSession::fn new --> <!-- impl RTSPSession::fn new -->
Create a new `RTSPSession` instance with `sessionid`. Create a new `RTSPSession` instance with `sessionid`.
## `sessionid` ## `sessionid`
@ -1955,7 +1970,7 @@ user data passed to `func`
a GList with all a GList with all
media for which `func` returned `RTSPFilterResult::Ref`. After usage, each media for which `func` returned `RTSPFilterResult::Ref`. After usage, each
element in the `glib::List` should be unreffed before the list is freed. element in the `glib::List` should be unreffed before the list is freed.
<!-- trait RTSPSessionExt::fn get_header --> <!-- trait RTSPSessionExt::fn header -->
Get the string that can be placed in the Session header field. Get the string that can be placed in the Session header field.
# Returns # Returns
@ -1973,14 +1988,14 @@ the amount of matched characters
# Returns # Returns
the configuration for `path` in `self`. the configuration for `path` in `self`.
<!-- trait RTSPSessionExt::fn get_sessionid --> <!-- trait RTSPSessionExt::fn sessionid -->
Get the sessionid of `self`. Get the sessionid of `self`.
# Returns # Returns
the sessionid of `self`. the sessionid of `self`.
The value remains valid as long as `self` is alive. The value remains valid as long as `self` is alive.
<!-- trait RTSPSessionExt::fn get_timeout --> <!-- trait RTSPSessionExt::fn timeout -->
Get the timeout value of `self`. Get the timeout value of `self`.
# Returns # Returns
@ -2061,13 +2076,13 @@ State of a client session regarding a specific media identified by path.
# Implements # Implements
[`RTSPSessionMediaExt`](trait.RTSPSessionMediaExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`RTSPSessionMediaExt`](trait@crate::RTSPSessionMediaExt), [`trait@glib::object::ObjectExt`]
<!-- trait RTSPSessionMediaExt --> <!-- trait RTSPSessionMediaExt -->
Trait containing all `RTSPSessionMedia` methods. Trait containing all `RTSPSessionMedia` methods.
# Implementors # Implementors
[`RTSPSessionMedia`](struct.RTSPSessionMedia.html) [`RTSPSessionMedia`](struct@crate::RTSPSessionMedia)
<!-- impl RTSPSessionMedia::fn new --> <!-- impl RTSPSessionMedia::fn new -->
Create a new `RTSPSessionMedia` that manages the streams Create a new `RTSPSessionMedia` that manages the streams
in `media` for `path`. `media` should be prepared. in `media` for `path`. `media` should be prepared.
@ -2090,20 +2105,20 @@ a `gst_rtsp::RTSPRange`
# Returns # Returns
`true` on success. `true` on success.
<!-- trait RTSPSessionMediaExt::fn get_base_time --> <!-- trait RTSPSessionMediaExt::fn base_time -->
Get the base_time of the `RTSPMedia` in `self` Get the base_time of the `RTSPMedia` in `self`
# Returns # Returns
the base_time of the media. the base_time of the media.
<!-- trait RTSPSessionMediaExt::fn get_media --> <!-- trait RTSPSessionMediaExt::fn media -->
Get the `RTSPMedia` that was used when constructing `self` Get the `RTSPMedia` that was used when constructing `self`
# Returns # Returns
the `RTSPMedia` of `self`. the `RTSPMedia` of `self`.
Remains valid as long as `self` is valid. Remains valid as long as `self` is valid.
<!-- trait RTSPSessionMediaExt::fn get_rtpinfo --> <!-- trait RTSPSessionMediaExt::fn rtpinfo -->
Retrieve the RTP-Info header string for all streams in `self` Retrieve the RTP-Info header string for all streams in `self`
with configured transports. with configured transports.
@ -2111,7 +2126,7 @@ with configured transports.
The RTP-Info as a string or The RTP-Info as a string or
`None` when no RTP-Info could be generated, `g_free` after usage. `None` when no RTP-Info could be generated, `g_free` after usage.
<!-- trait RTSPSessionMediaExt::fn get_rtsp_state --> <!-- trait RTSPSessionMediaExt::fn rtsp_state -->
Get the current RTSP state of `self`. Get the current RTSP state of `self`.
# Returns # Returns
@ -2126,7 +2141,7 @@ the stream index
a `RTSPStreamTransport` that is a `RTSPStreamTransport` that is
valid until the session of `self` is unreffed. valid until the session of `self` is unreffed.
<!-- trait RTSPSessionMediaExt::fn get_transports --> <!-- trait RTSPSessionMediaExt::fn transports -->
Get a list of all available `RTSPStreamTransport` in this session. Get a list of all available `RTSPStreamTransport` in this session.
Feature: `v1_14` Feature: `v1_14`
@ -2175,13 +2190,13 @@ attached to a `RTSPServer` object to manage the sessions in that server.
# Implements # Implements
[`RTSPSessionPoolExt`](trait.RTSPSessionPoolExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`RTSPSessionPoolExtManual`](prelude/trait.RTSPSessionPoolExtManual.html) [`RTSPSessionPoolExt`](trait@crate::RTSPSessionPoolExt), [`trait@glib::object::ObjectExt`], [`RTSPSessionPoolExtManual`](trait@crate::RTSPSessionPoolExtManual)
<!-- trait RTSPSessionPoolExt --> <!-- trait RTSPSessionPoolExt -->
Trait containing all `RTSPSessionPool` methods. Trait containing all `RTSPSessionPool` methods.
# Implementors # Implementors
[`RTSPSessionPool`](struct.RTSPSessionPool.html) [`RTSPSessionPool`](struct@crate::RTSPSessionPool)
<!-- impl RTSPSessionPool::fn new --> <!-- impl RTSPSessionPool::fn new -->
Create a new `RTSPSessionPool` instance. Create a new `RTSPSessionPool` instance.
@ -2244,14 +2259,14 @@ the session id
the `RTSPSession` with `sessionid` the `RTSPSession` with `sessionid`
or `None` when the session did not exist. `glib::object::ObjectExt::unref` after usage. or `None` when the session did not exist. `glib::object::ObjectExt::unref` after usage.
<!-- trait RTSPSessionPoolExt::fn get_max_sessions --> <!-- trait RTSPSessionPoolExt::fn max_sessions -->
Get the maximum allowed number of sessions in `self`. 0 means an unlimited Get the maximum allowed number of sessions in `self`. 0 means an unlimited
amount of sessions. amount of sessions.
# Returns # Returns
the maximum allowed number of sessions. the maximum allowed number of sessions.
<!-- trait RTSPSessionPoolExt::fn get_n_sessions --> <!-- trait RTSPSessionPoolExt::fn n_sessions -->
Get the amount of active sessions in `self`. Get the amount of active sessions in `self`.
# Returns # Returns
@ -2275,13 +2290,13 @@ The definition of a media stream.
# Implements # Implements
[`RTSPStreamExt`](trait.RTSPStreamExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`RTSPStreamExtManual`](prelude/trait.RTSPStreamExtManual.html) [`RTSPStreamExt`](trait@crate::RTSPStreamExt), [`trait@glib::object::ObjectExt`], [`RTSPStreamExtManual`](trait@crate::RTSPStreamExtManual)
<!-- trait RTSPStreamExt --> <!-- trait RTSPStreamExt -->
Trait containing all `RTSPStream` methods. Trait containing all `RTSPStream` methods.
# Implementors # Implementors
[`RTSPStream`](struct.RTSPStream.html) [`RTSPStream`](struct@crate::RTSPStream)
<!-- impl RTSPStream::fn new --> <!-- impl RTSPStream::fn new -->
Create a new media stream with index `idx` that handles RTP data on Create a new media stream with index `idx` that handles RTP data on
`pad` and has a payloader element `payloader` if `pad` is a source pad `pad` and has a payloader element `payloader` if `pad` is a source pad
@ -2353,51 +2368,51 @@ a `gst_rtsp::RTSPTransport`
# Returns # Returns
`true` if the stream has been sucessfully updated. `true` if the stream has been sucessfully updated.
<!-- trait RTSPStreamExt::fn get_address_pool --> <!-- trait RTSPStreamExt::fn address_pool -->
Get the `RTSPAddressPool` used as the address pool of `self`. Get the `RTSPAddressPool` used as the address pool of `self`.
# Returns # Returns
the `RTSPAddressPool` of `self`. the `RTSPAddressPool` of `self`.
`glib::object::ObjectExt::unref` after usage. `glib::object::ObjectExt::unref` after usage.
<!-- trait RTSPStreamExt::fn get_buffer_size --> <!-- trait RTSPStreamExt::fn buffer_size -->
Get the size of the UDP transmission buffer (in bytes) Get the size of the UDP transmission buffer (in bytes)
# Returns # Returns
the size of the UDP TX buffer the size of the UDP TX buffer
<!-- trait RTSPStreamExt::fn get_caps --> <!-- trait RTSPStreamExt::fn caps -->
Retrieve the current caps of `self`. Retrieve the current caps of `self`.
# Returns # Returns
the `gst::Caps` of `self`. the `gst::Caps` of `self`.
use `gst_caps_unref` after usage. use `gst_caps_unref` after usage.
<!-- trait RTSPStreamExt::fn get_control --> <!-- trait RTSPStreamExt::fn control -->
Get the control string to identify this stream. Get the control string to identify this stream.
# Returns # Returns
the control string. `g_free` after usage. the control string. `g_free` after usage.
<!-- trait RTSPStreamExt::fn get_dscp_qos --> <!-- trait RTSPStreamExt::fn dscp_qos -->
Get the configured DSCP QoS in of the outgoing sockets. Get the configured DSCP QoS in of the outgoing sockets.
# Returns # Returns
the DSCP QoS value of the outgoing sockets, or -1 if disbled. the DSCP QoS value of the outgoing sockets, or -1 if disbled.
<!-- trait RTSPStreamExt::fn get_index --> <!-- trait RTSPStreamExt::fn index -->
Get the stream index. Get the stream index.
# Returns # Returns
the stream index. the stream index.
<!-- trait RTSPStreamExt::fn get_joined_bin --> <!-- trait RTSPStreamExt::fn joined_bin -->
Get the previous joined bin with `RTSPStreamExt::join_bin` or NULL. Get the previous joined bin with `RTSPStreamExt::join_bin` or NULL.
# Returns # Returns
the joined bin or NULL. the joined bin or NULL.
<!-- trait RTSPStreamExt::fn get_max_mcast_ttl --> <!-- trait RTSPStreamExt::fn max_mcast_ttl -->
Get the the maximum time-to-live value of outgoing multicast packets. Get the the maximum time-to-live value of outgoing multicast packets.
Feature: `v1_16` Feature: `v1_16`
@ -2406,7 +2421,7 @@ Feature: `v1_16`
# Returns # Returns
the maximum time-to-live value of outgoing multicast packets. the maximum time-to-live value of outgoing multicast packets.
<!-- trait RTSPStreamExt::fn get_mtu --> <!-- trait RTSPStreamExt::fn mtu -->
Get the configured MTU in the payloader of `self`. Get the configured MTU in the payloader of `self`.
# Returns # Returns
@ -2424,7 +2439,7 @@ the `gio::SocketFamily`
the `RTSPAddress` of `self` the `RTSPAddress` of `self`
or `None` when no address could be allocated. `RTSPAddress::free` or `None` when no address could be allocated. `RTSPAddress::free`
after usage. after usage.
<!-- trait RTSPStreamExt::fn get_multicast_client_addresses --> <!-- trait RTSPStreamExt::fn multicast_client_addresses -->
Get all multicast client addresses that RTP data will be sent to Get all multicast client addresses that RTP data will be sent to
Feature: `v1_16` Feature: `v1_16`
@ -2433,38 +2448,38 @@ Feature: `v1_16`
# Returns # Returns
A comma separated list of host:port pairs with destinations A comma separated list of host:port pairs with destinations
<!-- trait RTSPStreamExt::fn get_multicast_iface --> <!-- trait RTSPStreamExt::fn multicast_iface -->
Get the multicast interface used for `self`. Get the multicast interface used for `self`.
# Returns # Returns
the multicast interface for `self`. the multicast interface for `self`.
`g_free` after usage. `g_free` after usage.
<!-- trait RTSPStreamExt::fn get_profiles --> <!-- trait RTSPStreamExt::fn profiles -->
Get the allowed profiles of `self`. Get the allowed profiles of `self`.
# Returns # Returns
a `gst_rtsp::RTSPProfile` a `gst_rtsp::RTSPProfile`
<!-- trait RTSPStreamExt::fn get_protocols --> <!-- trait RTSPStreamExt::fn protocols -->
Get the allowed protocols of `self`. Get the allowed protocols of `self`.
# Returns # Returns
a `gst_rtsp::RTSPLowerTrans` a `gst_rtsp::RTSPLowerTrans`
<!-- trait RTSPStreamExt::fn get_pt --> <!-- trait RTSPStreamExt::fn pt -->
Get the stream payload type. Get the stream payload type.
# Returns # Returns
the stream payload type. the stream payload type.
<!-- trait RTSPStreamExt::fn get_publish_clock_mode --> <!-- trait RTSPStreamExt::fn publish_clock_mode -->
Gets if and how the stream clock should be published according to RFC7273. Gets if and how the stream clock should be published according to RFC7273.
# Returns # Returns
The GstRTSPPublishClockMode The GstRTSPPublishClockMode
<!-- trait RTSPStreamExt::fn get_rate_control --> <!-- trait RTSPStreamExt::fn is_rate_control -->
Feature: `v1_18` Feature: `v1_18`
@ -2473,7 +2488,7 @@ Feature: `v1_18`
whether `self` will follow the Rate-Control=no behaviour as specified whether `self` will follow the Rate-Control=no behaviour as specified
in the ONVIF replay spec. in the ONVIF replay spec.
<!-- trait RTSPStreamExt::fn get_rates --> <!-- trait RTSPStreamExt::fn rates -->
Retrieve the current rate and/or applied_rate. Retrieve the current rate and/or applied_rate.
Feature: `v1_18` Feature: `v1_18`
@ -2486,13 +2501,13 @@ the configured applied_rate
# Returns # Returns
`true` if rate and/or applied_rate could be determined. `true` if rate and/or applied_rate could be determined.
<!-- trait RTSPStreamExt::fn get_retransmission_pt --> <!-- trait RTSPStreamExt::fn retransmission_pt -->
Get the payload-type used for retransmission of this stream Get the payload-type used for retransmission of this stream
# Returns # Returns
The retransmission PT. The retransmission PT.
<!-- trait RTSPStreamExt::fn get_retransmission_time --> <!-- trait RTSPStreamExt::fn retransmission_time -->
Get the amount of time to store retransmission data. Get the amount of time to store retransmission data.
# Returns # Returns
@ -2542,7 +2557,7 @@ the socket family
the RTP socket or `None` if no the 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_rtpinfo --> <!-- trait RTSPStreamExt::fn rtpinfo -->
Retrieve the current rtptime, seq and running-time. This is used to Retrieve the current rtptime, seq and running-time. This is used to
construct a RTPInfo reply header. construct a RTPInfo reply header.
## `rtptime` ## `rtptime`
@ -2557,7 +2572,7 @@ result running-time
# Returns # Returns
`true` when rtptime, seq and running-time could be determined. `true` when rtptime, seq and running-time could be determined.
<!-- trait RTSPStreamExt::fn get_rtpsession --> <!-- trait RTSPStreamExt::fn rtpsession -->
Get the RTP session of this stream. Get the RTP session of this stream.
# Returns # Returns
@ -2570,30 +2585,30 @@ only be called when `self` has been joined.
result server port result server port
## `family` ## `family`
the port family to get the port family to get
<!-- trait RTSPStreamExt::fn get_sinkpad --> <!-- trait RTSPStreamExt::fn sinkpad -->
Get the sinkpad associated with `self`. Get the sinkpad associated with `self`.
# Returns # Returns
the sinkpad. Unref after usage. the sinkpad. Unref after usage.
<!-- trait RTSPStreamExt::fn get_srcpad --> <!-- trait RTSPStreamExt::fn srcpad -->
Get the srcpad associated with `self`. Get the srcpad associated with `self`.
# Returns # Returns
the srcpad. Unref after usage. the srcpad. Unref after usage.
<!-- trait RTSPStreamExt::fn get_srtp_encoder --> <!-- trait RTSPStreamExt::fn srtp_encoder -->
Get the SRTP encoder for this stream. Get the SRTP encoder for this stream.
# Returns # Returns
The SRTP encoder for this stream. Unref after usage. The SRTP encoder for this stream. Unref after usage.
<!-- trait RTSPStreamExt::fn get_ssrc --> <!-- trait RTSPStreamExt::fn ssrc -->
Get the SSRC used by the RTP session of this stream. This function can only Get the SSRC used by the RTP session of this stream. This function can only
be called when `self` has been joined. be called when `self` has been joined.
## `ssrc` ## `ssrc`
result ssrc result ssrc
<!-- trait RTSPStreamExt::fn get_ulpfec_percentage --> <!-- trait RTSPStreamExt::fn ulpfec_percentage -->
Feature: `v1_16` Feature: `v1_16`
@ -2602,7 +2617,7 @@ Feature: `v1_16`
the amount of redundancy applied when creating ULPFEC the amount of redundancy applied when creating ULPFEC
protection packets. protection packets.
<!-- trait RTSPStreamExt::fn get_ulpfec_pt --> <!-- trait RTSPStreamExt::fn ulpfec_pt -->
Feature: `v1_16` Feature: `v1_16`
@ -2983,13 +2998,13 @@ A Transport description for a stream
# Implements # Implements
[`RTSPStreamTransportExt`](trait.RTSPStreamTransportExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`RTSPStreamTransportExtManual`](prelude/trait.RTSPStreamTransportExtManual.html) [`RTSPStreamTransportExt`](trait@crate::RTSPStreamTransportExt), [`trait@glib::object::ObjectExt`], [`RTSPStreamTransportExtManual`](trait@crate::RTSPStreamTransportExtManual)
<!-- trait RTSPStreamTransportExt --> <!-- trait RTSPStreamTransportExt -->
Trait containing all `RTSPStreamTransport` methods. Trait containing all `RTSPStreamTransport` methods.
# Implementors # Implementors
[`RTSPStreamTransport`](struct.RTSPStreamTransport.html) [`RTSPStreamTransport`](struct@crate::RTSPStreamTransport)
<!-- impl RTSPStreamTransport::fn new --> <!-- impl RTSPStreamTransport::fn new -->
Create a new `RTSPStreamTransport` that can be used to manage Create a new `RTSPStreamTransport` that can be used to manage
`stream` with transport `tr`. `stream` with transport `tr`.
@ -3011,20 +3026,20 @@ a star time
the RTPInfo string for `self` the RTPInfo string for `self`
and `start_time` or `None` when the RTP-Info could not be and `start_time` or `None` when the RTP-Info could not be
determined. `g_free` after usage. determined. `g_free` after usage.
<!-- trait RTSPStreamTransportExt::fn get_stream --> <!-- trait RTSPStreamTransportExt::fn stream -->
Get the `RTSPStream` used when constructing `self`. Get the `RTSPStream` used when constructing `self`.
# Returns # Returns
the stream used when constructing `self`. the stream used when constructing `self`.
<!-- trait RTSPStreamTransportExt::fn get_transport --> <!-- trait RTSPStreamTransportExt::fn transport -->
Get the transport configured in `self`. Get the transport configured in `self`.
# Returns # Returns
the transport configured in `self`. It remains the transport configured in `self`. It remains
valid for as long as `self` is valid. valid for as long as `self` is valid.
<!-- trait RTSPStreamTransportExt::fn get_url --> <!-- trait RTSPStreamTransportExt::fn url -->
Get the url configured in `self`. Get the url configured in `self`.
# Returns # Returns
@ -3200,13 +3215,13 @@ The thread pool structure.
# Implements # Implements
[`RTSPThreadPoolExt`](trait.RTSPThreadPoolExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`RTSPThreadPoolExt`](trait@crate::RTSPThreadPoolExt), [`trait@glib::object::ObjectExt`]
<!-- trait RTSPThreadPoolExt --> <!-- trait RTSPThreadPoolExt -->
Trait containing all `RTSPThreadPool` methods. Trait containing all `RTSPThreadPool` methods.
# Implementors # Implementors
[`RTSPThreadPool`](struct.RTSPThreadPool.html) [`RTSPThreadPool`](struct@crate::RTSPThreadPool)
<!-- impl RTSPThreadPool::fn new --> <!-- impl RTSPThreadPool::fn new -->
Create a new `RTSPThreadPool` instance. Create a new `RTSPThreadPool` instance.
@ -3217,7 +3232,7 @@ a new `RTSPThreadPool`
Wait for all tasks to be stopped and free all allocated resources. This is Wait for all tasks to be stopped and free all allocated resources. This is
mainly used in test suites to ensure proper cleanup of internal data mainly used in test suites to ensure proper cleanup of internal data
structures. structures.
<!-- trait RTSPThreadPoolExt::fn get_max_threads --> <!-- trait RTSPThreadPoolExt::fn max_threads -->
Get the maximum number of threads used for client connections. Get the maximum number of threads used for client connections.
See `RTSPThreadPoolExt::set_max_threads`. See `RTSPThreadPoolExt::set_max_threads`.

View file

@ -158,7 +158,7 @@ Offset to define more flags
# Implements # Implements
[`gst::BufferPoolExt`](../gst/trait.BufferPoolExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`trait@gst::BufferPoolExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- impl VideoBufferPool::fn new --> <!-- impl VideoBufferPool::fn new -->
Create a new bufferpool that can allocate video frames. This bufferpool Create a new bufferpool that can allocate video frames. This bufferpool
supports all the video bufferpool options. supports all the video bufferpool options.
@ -353,6 +353,42 @@ unknown range
<!-- enum VideoColorRange::variant 16235 --> <!-- enum VideoColorRange::variant 16235 -->
[16..235] for 8 bit components. Chroma has [16..235] for 8 bit components. Chroma has
[16..240] range. [16..240] range.
<!-- struct VideoColorimetry -->
Structure describing the color info.
<!-- impl VideoColorimetry::fn from_string -->
Parse the colorimetry string and update `self` with the parsed
values.
## `color`
a colorimetry string
# Returns
`true` if `color` points to valid colorimetry info.
<!-- impl VideoColorimetry::fn is_equal -->
Compare the 2 colorimetry sets for equality
## `other`
another `VideoColorimetry`
# Returns
`true` if `self` and `other` are equal.
<!-- impl VideoColorimetry::fn matches -->
Check if the colorimetry information in `info` matches that of the
string `color`.
## `color`
a colorimetry string
# Returns
`true` if `color` conveys the same colorimetry info as the color
information in `info`.
<!-- impl VideoColorimetry::fn to_string -->
Make a string representation of `self`.
# Returns
a string representation of `self`
or `None` if all the entries of `self` are unknown values.
<!-- struct VideoDecoder --> <!-- struct VideoDecoder -->
This base class is for video decoders turning encoded data into raw video This base class is for video decoders turning encoded data into raw video
frames. frames.
@ -462,13 +498,13 @@ This is an Abstract Base Class, you cannot instantiate it.
# Implements # Implements
[`VideoDecoderExt`](trait.VideoDecoderExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`VideoDecoderExtManual`](prelude/trait.VideoDecoderExtManual.html) [`VideoDecoderExt`](trait@crate::VideoDecoderExt), [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`], [`VideoDecoderExtManual`](trait@crate::VideoDecoderExtManual)
<!-- trait VideoDecoderExt --> <!-- trait VideoDecoderExt -->
Trait containing all `VideoDecoder` methods. Trait containing all `VideoDecoder` methods.
# Implementors # Implementors
[`VideoDecoder`](struct.VideoDecoder.html) [`VideoDecoder`](struct@crate::VideoDecoder)
<!-- trait VideoDecoderExt::fn add_to_frame --> <!-- trait VideoDecoderExt::fn add_to_frame -->
Removes next `n_bytes` of input data and adds it to currently parsed frame. Removes next `n_bytes` of input data and adds it to currently parsed frame.
## `n_bytes` ## `n_bytes`
@ -536,7 +572,7 @@ a decoded `VideoCodecFrame`
# Returns # Returns
a `gst::FlowReturn` resulting from sending data downstream a `gst::FlowReturn` resulting from sending data downstream
<!-- trait VideoDecoderExt::fn get_allocator --> <!-- trait VideoDecoderExt::fn allocator -->
Lets `VideoDecoder` sub-classes to know the memory `allocator` Lets `VideoDecoder` sub-classes to know the memory `allocator`
used by the base class and its `params`. used by the base class and its `params`.
@ -547,13 +583,13 @@ used
## `params` ## `params`
the the
`gst::AllocationParams` of `allocator` `gst::AllocationParams` of `allocator`
<!-- trait VideoDecoderExt::fn get_buffer_pool --> <!-- trait VideoDecoderExt::fn buffer_pool -->
# Returns # Returns
the instance of the `gst::BufferPool` used the instance of the `gst::BufferPool` used
by the decoder; free it after use it by the decoder; free it after use it
<!-- trait VideoDecoderExt::fn get_estimate_rate --> <!-- trait VideoDecoderExt::fn estimate_rate -->
# Returns # Returns
@ -566,13 +602,13 @@ system_frame_number of a frame
# Returns # Returns
pending unfinished `VideoCodecFrame` identified by `frame_number`. pending unfinished `VideoCodecFrame` identified by `frame_number`.
<!-- trait VideoDecoderExt::fn get_frames --> <!-- trait VideoDecoderExt::fn frames -->
Get all pending unfinished `VideoCodecFrame` Get all pending unfinished `VideoCodecFrame`
# Returns # Returns
pending unfinished `VideoCodecFrame`. pending unfinished `VideoCodecFrame`.
<!-- trait VideoDecoderExt::fn get_latency --> <!-- trait VideoDecoderExt::fn latency -->
Query the configured decoder latency. Results will be returned via Query the configured decoder latency. Results will be returned via
`min_latency` and `max_latency`. `min_latency` and `max_latency`.
## `min_latency` ## `min_latency`
@ -592,44 +628,44 @@ a `VideoCodecFrame`
# Returns # Returns
max decoding time. max decoding time.
<!-- trait VideoDecoderExt::fn get_max_errors --> <!-- trait VideoDecoderExt::fn max_errors -->
# Returns # Returns
currently configured decoder tolerated error count. currently configured decoder tolerated error count.
<!-- trait VideoDecoderExt::fn get_needs_format --> <!-- trait VideoDecoderExt::fn needs_format -->
Queries decoder required format handling. Queries decoder required format handling.
# Returns # Returns
`true` if required format handling is enabled. `true` if required format handling is enabled.
<!-- trait VideoDecoderExt::fn get_oldest_frame --> <!-- trait VideoDecoderExt::fn oldest_frame -->
Get the oldest pending unfinished `VideoCodecFrame` Get the oldest pending unfinished `VideoCodecFrame`
# Returns # Returns
oldest pending unfinished `VideoCodecFrame`. oldest pending unfinished `VideoCodecFrame`.
<!-- trait VideoDecoderExt::fn get_output_state --> <!-- trait VideoDecoderExt::fn output_state -->
Get the `VideoCodecState` currently describing the output stream. Get the `VideoCodecState` currently describing the output stream.
# Returns # Returns
`VideoCodecState` describing format of video data. `VideoCodecState` describing format of video data.
<!-- trait VideoDecoderExt::fn get_packetized --> <!-- trait VideoDecoderExt::fn is_packetized -->
Queries whether input data is considered packetized or not by the Queries whether input data is considered packetized or not by the
base class. base class.
# Returns # Returns
TRUE if input data is considered packetized. TRUE if input data is considered packetized.
<!-- trait VideoDecoderExt::fn get_pending_frame_size --> <!-- trait VideoDecoderExt::fn pending_frame_size -->
Returns the number of bytes previously added to the current frame Returns the number of bytes previously added to the current frame
by calling `VideoDecoderExt::add_to_frame`. by calling `VideoDecoderExt::add_to_frame`.
# Returns # Returns
The number of bytes pending for the current frame The number of bytes pending for the current frame
<!-- trait VideoDecoderExt::fn get_qos_proportion --> <!-- trait VideoDecoderExt::fn qos_proportion -->
# Returns # Returns
@ -876,13 +912,13 @@ This is an Abstract Base Class, you cannot instantiate it.
# Implements # Implements
[`VideoEncoderExt`](trait.VideoEncoderExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html), [`VideoEncoderExtManual`](prelude/trait.VideoEncoderExtManual.html) [`VideoEncoderExt`](trait@crate::VideoEncoderExt), [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`], [`VideoEncoderExtManual`](trait@crate::VideoEncoderExtManual)
<!-- trait VideoEncoderExt --> <!-- trait VideoEncoderExt -->
Trait containing all `VideoEncoder` methods. Trait containing all `VideoEncoder` methods.
# Implementors # Implementors
[`VideoEncoder`](struct.VideoEncoder.html) [`VideoEncoder`](struct@crate::VideoEncoder)
<!-- trait VideoEncoderExt::fn allocate_output_buffer --> <!-- trait VideoEncoderExt::fn allocate_output_buffer -->
Helper function that allocates a buffer to hold an encoded video frame Helper function that allocates a buffer to hold an encoded video frame
for `self`'s current `VideoCodecState`. for `self`'s current `VideoCodecState`.
@ -942,7 +978,7 @@ a `VideoCodecFrame` being encoded
# Returns # Returns
a `gst::FlowReturn` resulting from pushing the buffer downstream. a `gst::FlowReturn` resulting from pushing the buffer downstream.
<!-- trait VideoEncoderExt::fn get_allocator --> <!-- trait VideoEncoderExt::fn allocator -->
Lets `VideoEncoder` sub-classes to know the memory `allocator` Lets `VideoEncoder` sub-classes to know the memory `allocator`
used by the base class and its `params`. used by the base class and its `params`.
@ -961,13 +997,13 @@ system_frame_number of a frame
# Returns # Returns
pending unfinished `VideoCodecFrame` identified by `frame_number`. pending unfinished `VideoCodecFrame` identified by `frame_number`.
<!-- trait VideoEncoderExt::fn get_frames --> <!-- trait VideoEncoderExt::fn frames -->
Get all pending unfinished `VideoCodecFrame` Get all pending unfinished `VideoCodecFrame`
# Returns # Returns
pending unfinished `VideoCodecFrame`. pending unfinished `VideoCodecFrame`.
<!-- trait VideoEncoderExt::fn get_latency --> <!-- trait VideoEncoderExt::fn latency -->
Query the configured encoding latency. Results will be returned via Query the configured encoding latency. Results will be returned via
`min_latency` and `max_latency`. `min_latency` and `max_latency`.
## `min_latency` ## `min_latency`
@ -993,7 +1029,7 @@ a `VideoCodecFrame`
# Returns # Returns
max decoding time. max decoding time.
<!-- trait VideoEncoderExt::fn get_min_force_key_unit_interval --> <!-- trait VideoEncoderExt::fn min_force_key_unit_interval -->
Returns the minimum force-keyunit interval, see `VideoEncoderExt::set_min_force_key_unit_interval` Returns the minimum force-keyunit interval, see `VideoEncoderExt::set_min_force_key_unit_interval`
for more details. for more details.
@ -1003,13 +1039,13 @@ Feature: `v1_18`
# Returns # Returns
the minimum force-keyunit interval the minimum force-keyunit interval
<!-- trait VideoEncoderExt::fn get_oldest_frame --> <!-- trait VideoEncoderExt::fn oldest_frame -->
Get the oldest unfinished pending `VideoCodecFrame` Get the oldest unfinished pending `VideoCodecFrame`
# Returns # Returns
oldest unfinished pending `VideoCodecFrame` oldest unfinished pending `VideoCodecFrame`
<!-- trait VideoEncoderExt::fn get_output_state --> <!-- trait VideoEncoderExt::fn output_state -->
Get the current `VideoCodecState` Get the current `VideoCodecState`
# Returns # Returns
@ -1156,7 +1192,7 @@ This is an Abstract Base Class, you cannot instantiate it.
# Implements # Implements
[`gst_base::BaseTransformExt`](../gst_base/trait.BaseTransformExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`trait@gst_base::BaseTransformExt`], [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- struct VideoFlags --> <!-- struct VideoFlags -->
Extra video flags Extra video flags
<!-- struct VideoFlags::const NONE --> <!-- struct VideoFlags::const NONE -->
@ -1402,6 +1438,125 @@ This format can be used in a
<!-- struct VideoFormatFlags::const TILED --> <!-- struct VideoFormatFlags::const TILED -->
The format is tiled, there is tiling information The format is tiled, there is tiling information
in the last plane. in the last plane.
<!-- struct VideoFormatInfo -->
Information for a video format.
Feature: `v1_18`
<!-- impl VideoFormatInfo::fn component -->
Fill `components` with the number of all the components packed in plane `p`
for the format `self`. A value of -1 in `components` indicates that no more
components are packed in the plane.
Feature: `v1_18`
## `plane`
a plane number
## `components`
array used to store component numbers
<!-- struct VideoFrame -->
A video frame obtained from `VideoFrame::map`
<!-- impl VideoFrame::fn copy -->
Copy the contents from `src` to `self`.
Note: Since: 1.18, `self` dimensions are allowed to be
smaller than `src` dimensions.
## `src`
a `VideoFrame`
# Returns
TRUE if the contents could be copied.
<!-- impl VideoFrame::fn copy_plane -->
Copy the plane with index `plane` from `src` to `self`.
Note: Since: 1.18, `self` dimensions are allowed to be
smaller than `src` dimensions.
## `src`
a `VideoFrame`
## `plane`
a plane
# Returns
TRUE if the contents could be copied.
<!-- impl VideoFrame::fn map -->
Use `info` and `buffer` to fill in the values of `self`. `self` is usually
allocated on the stack, and you will pass the address to the `VideoFrame`
structure allocated on the stack; `VideoFrame::map` will then fill in
the structures with the various video-specific information you need to access
the pixels of the video buffer. You can then use accessor macros such as
GST_VIDEO_FRAME_COMP_DATA(), GST_VIDEO_FRAME_PLANE_DATA(),
GST_VIDEO_FRAME_COMP_STRIDE(), GST_VIDEO_FRAME_PLANE_STRIDE() etc.
to get to the pixels.
```C
GstVideoFrame vframe;
...
// set RGB pixels to black one at a time
if (gst_video_frame_map (&amp;vframe, video_info, video_buffer, GST_MAP_WRITE)) {
guint8 *pixels = GST_VIDEO_FRAME_PLANE_DATA (vframe, 0);
guint stride = GST_VIDEO_FRAME_PLANE_STRIDE (vframe, 0);
guint pixel_stride = GST_VIDEO_FRAME_COMP_PSTRIDE (vframe, 0);
for (h = 0; h < height; ++h) {
for (w = 0; w < width; ++w) {
guint8 *pixel = pixels + h * stride + w * pixel_stride;
memset (pixel, 0, pixel_stride);
}
}
gst_video_frame_unmap (&amp;vframe);
}
...
```
All video planes of `buffer` will be mapped and the pointers will be set in
`self`->data.
The purpose of this function is to make it easy for you to get to the video
pixels in a generic way, without you having to worry too much about details
such as whether the video data is allocated in one contiguous memory chunk
or multiple memory chunks (e.g. one for each plane); or if custom strides
and custom plane offsets are used or not (as signalled by GstVideoMeta on
each buffer). This function will just fill the `VideoFrame` structure
with the right values and if you use the accessor macros everything will
just work and you can access the data easily. It also maps the underlying
memory chunks for you.
## `info`
a `VideoInfo`
## `buffer`
the buffer to map
## `flags`
`gst::MapFlags`
# Returns
`true` on success.
<!-- impl VideoFrame::fn map_id -->
Use `info` and `buffer` to fill in the values of `self` with the video frame
information of frame `id`.
When `id` is -1, the default frame is mapped. When `id` != -1, this function
will return `false` when there is no GstVideoMeta with that id.
All video planes of `buffer` will be mapped and the pointers will be set in
`self`->data.
## `info`
a `VideoInfo`
## `buffer`
the buffer to map
## `id`
the frame id to map
## `flags`
`gst::MapFlags`
# Returns
`true` on success.
<!-- impl VideoFrame::fn unmap -->
Unmap the memory previously mapped with gst_video_frame_map.
<!-- struct VideoFrameFlags --> <!-- struct VideoFrameFlags -->
Extra video frame flags Extra video frame flags
<!-- struct VideoFrameFlags::const NONE --> <!-- struct VideoFrameFlags::const NONE -->
@ -1737,14 +1892,14 @@ operation of video-sources or operators.
# Implements # Implements
[`VideoOrientationExt`](trait.VideoOrientationExt.html) [`VideoOrientationExt`](trait@crate::VideoOrientationExt)
<!-- trait VideoOrientationExt --> <!-- trait VideoOrientationExt -->
Trait containing all `VideoOrientation` methods. Trait containing all `VideoOrientation` methods.
# Implementors # Implementors
[`VideoOrientation`](struct.VideoOrientation.html) [`VideoOrientation`](struct@crate::VideoOrientation)
<!-- trait VideoOrientationExt::fn get_hcenter --> <!-- trait VideoOrientationExt::fn hcenter -->
Get the horizontal centering offset from the given object. Get the horizontal centering offset from the given object.
## `center` ## `center`
return location for the result return location for the result
@ -1752,7 +1907,7 @@ return location for the result
# Returns # Returns
`true` in case the element supports centering `true` in case the element supports centering
<!-- trait VideoOrientationExt::fn get_hflip --> <!-- trait VideoOrientationExt::fn hflip -->
Get the horizontal flipping state (`true` for flipped) from the given object. Get the horizontal flipping state (`true` for flipped) from the given object.
## `flip` ## `flip`
return location for the result return location for the result
@ -1760,7 +1915,7 @@ return location for the result
# Returns # Returns
`true` in case the element supports flipping `true` in case the element supports flipping
<!-- trait VideoOrientationExt::fn get_vcenter --> <!-- trait VideoOrientationExt::fn vcenter -->
Get the vertical centering offset from the given object. Get the vertical centering offset from the given object.
## `center` ## `center`
return location for the result return location for the result
@ -1768,7 +1923,7 @@ return location for the result
# Returns # Returns
`true` in case the element supports centering `true` in case the element supports centering
<!-- trait VideoOrientationExt::fn get_vflip --> <!-- trait VideoOrientationExt::fn vflip -->
Get the vertical flipping state (`true` for flipped) from the given object. Get the vertical flipping state (`true` for flipped) from the given object.
## `flip` ## `flip`
return location for the result return location for the result
@ -2098,13 +2253,13 @@ int main(int argc, char *argv[])
# Implements # Implements
[`VideoOverlayExt`](trait.VideoOverlayExt.html), [`VideoOverlayExtManual`](prelude/trait.VideoOverlayExtManual.html) [`VideoOverlayExt`](trait@crate::VideoOverlayExt), [`VideoOverlayExtManual`](trait@crate::VideoOverlayExtManual)
<!-- trait VideoOverlayExt --> <!-- trait VideoOverlayExt -->
Trait containing all `VideoOverlay` methods. Trait containing all `VideoOverlay` methods.
# Implementors # Implementors
[`VideoOverlay`](struct.VideoOverlay.html) [`VideoOverlay`](struct@crate::VideoOverlay)
<!-- impl VideoOverlay::fn install_properties --> <!-- impl VideoOverlay::fn install_properties -->
This helper shall be used by classes implementing the `VideoOverlay` This helper shall be used by classes implementing the `VideoOverlay`
interface that want the render rectangle to be controllable using interface that want the render rectangle to be controllable using
@ -2245,13 +2400,13 @@ observing out-of-sync frames.
# Implements # Implements
[`VideoSinkExt`](trait.VideoSinkExt.html), [`gst_base::BaseSinkExt`](../gst_base/trait.BaseSinkExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`VideoSinkExt`](trait@crate::VideoSinkExt), [`trait@gst_base::BaseSinkExt`], [`trait@gst::ElementExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
<!-- trait VideoSinkExt --> <!-- trait VideoSinkExt -->
Trait containing all `VideoSink` methods. Trait containing all `VideoSink` methods.
# Implementors # Implementors
[`VideoSink`](struct.VideoSink.html) [`VideoSink`](struct@crate::VideoSink)
<!-- impl VideoSink::fn center_rect --> <!-- impl VideoSink::fn center_rect -->
Takes `src` rectangle and position it at the center of `dst` rectangle with or Takes `src` rectangle and position it at the center of `dst` rectangle with or
without `scaling`. It handles clipping if the `src` rectangle is bigger than without `scaling`. It handles clipping if the `src` rectangle is bigger than

View file

@ -23,7 +23,7 @@ recvonly
# Implements # Implements
[`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`trait@glib::object::ObjectExt`]
<!-- enum WebRTCDTLSTransportState --> <!-- enum WebRTCDTLSTransportState -->
<!-- enum WebRTCDTLSTransportState::variant New --> <!-- enum WebRTCDTLSTransportState::variant New -->
new new
@ -44,7 +44,7 @@ Feature: `v1_18`
# Implements # Implements
[`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`trait@glib::object::ObjectExt`]
<!-- impl WebRTCDataChannel::fn close --> <!-- impl WebRTCDataChannel::fn close -->
Close the `self`. Close the `self`.
@ -176,7 +176,7 @@ This is an Abstract Base Class, you cannot instantiate it.
# Implements # Implements
[`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`trait@glib::object::ObjectExt`]
<!-- enum WebRTCICETransportPolicy --> <!-- enum WebRTCICETransportPolicy -->
GST_WEBRTC_ICE_TRANSPORT_POLICY_ALL: all GST_WEBRTC_ICE_TRANSPORT_POLICY_ALL: all
GST_WEBRTC_ICE_TRANSPORT_POLICY_RELAY: relay GST_WEBRTC_ICE_TRANSPORT_POLICY_RELAY: relay
@ -213,13 +213,13 @@ Feature: `v1_16`
# Implements # Implements
[`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`trait@glib::object::ObjectExt`]
<!-- struct WebRTCRTPSender --> <!-- struct WebRTCRTPSender -->
# Implements # Implements
[`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`trait@glib::object::ObjectExt`]
<!-- struct WebRTCRTPTransceiver --> <!-- struct WebRTCRTPTransceiver -->
@ -227,7 +227,7 @@ This is an Abstract Base Class, you cannot instantiate it.
# Implements # Implements
[`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) [`trait@glib::object::ObjectExt`]
<!-- impl WebRTCRTPTransceiver::fn get_property_direction --> <!-- impl WebRTCRTPTransceiver::fn get_property_direction -->
Direction of the transceiver. Direction of the transceiver.

File diff suppressed because it is too large Load diff

View file

@ -15,7 +15,7 @@ glib::wrapper! {
pub struct AppSink(Object<ffi::GstAppSink, ffi::GstAppSinkClass>) @extends gst::Element, gst::Object, @implements gst::URIHandler; pub struct AppSink(Object<ffi::GstAppSink, ffi::GstAppSinkClass>) @extends gst::Element, gst::Object, @implements gst::URIHandler;
match fn { match fn {
get_type => || ffi::gst_app_sink_get_type(), type_ => || ffi::gst_app_sink_get_type(),
} }
} }

View file

@ -16,7 +16,7 @@ glib::wrapper! {
pub struct AppSrc(Object<ffi::GstAppSrc, ffi::GstAppSrcClass>) @extends gst::Element, gst::Object, @implements gst::URIHandler; pub struct AppSrc(Object<ffi::GstAppSrc, ffi::GstAppSrcClass>) @extends gst::Element, gst::Object, @implements gst::URIHandler;
match fn { match fn {
get_type => || ffi::gst_app_src_get_type(), type_ => || ffi::gst_app_src_get_type(),
} }
} }

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 3c6ebf4) Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from 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 @ 3c6ebf4) // Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
// 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 @ 3c6ebf4) // Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
// 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 @ 3c6ebf4) // Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
// 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 @ 3c6ebf4) // Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
// 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 @ 3c6ebf4) // Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
// 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

@ -16,7 +16,7 @@ glib::wrapper! {
pub struct AudioBaseSink(Object<ffi::GstAudioBaseSink, ffi::GstAudioBaseSinkClass>) @extends gst_base::BaseSink, gst::Element, gst::Object; pub struct AudioBaseSink(Object<ffi::GstAudioBaseSink, ffi::GstAudioBaseSinkClass>) @extends gst_base::BaseSink, gst::Element, gst::Object;
match fn { match fn {
get_type => || ffi::gst_audio_base_sink_get_type(), type_ => || ffi::gst_audio_base_sink_get_type(),
} }
} }

View file

@ -16,7 +16,7 @@ glib::wrapper! {
pub struct AudioBaseSrc(Object<ffi::GstAudioBaseSrc, ffi::GstAudioBaseSrcClass>) @extends gst_base::BaseSrc, gst::Element, gst::Object; pub struct AudioBaseSrc(Object<ffi::GstAudioBaseSrc, ffi::GstAudioBaseSrcClass>) @extends gst_base::BaseSrc, gst::Element, gst::Object;
match fn { match fn {
get_type => || ffi::gst_audio_base_src_get_type(), type_ => || ffi::gst_audio_base_src_get_type(),
} }
} }

View file

@ -17,7 +17,7 @@ glib::wrapper! {
pub struct AudioDecoder(Object<ffi::GstAudioDecoder, ffi::GstAudioDecoderClass>) @extends gst::Element, gst::Object; pub struct AudioDecoder(Object<ffi::GstAudioDecoder, ffi::GstAudioDecoderClass>) @extends gst::Element, gst::Object;
match fn { match fn {
get_type => || ffi::gst_audio_decoder_get_type(), type_ => || ffi::gst_audio_decoder_get_type(),
} }
} }
@ -52,7 +52,7 @@ pub trait AudioDecoderExt: 'static {
fn min_latency(&self) -> gst::ClockTime; fn min_latency(&self) -> gst::ClockTime;
#[doc(alias = "gst_audio_decoder_get_needs_format")] #[doc(alias = "gst_audio_decoder_get_needs_format")]
fn is_needs_format(&self) -> bool; fn needs_format(&self) -> bool;
#[doc(alias = "gst_audio_decoder_get_parse_state")] #[doc(alias = "gst_audio_decoder_get_parse_state")]
fn parse_state(&self) -> (bool, bool); fn parse_state(&self) -> (bool, bool);
@ -192,7 +192,7 @@ impl<O: IsA<AudioDecoder>> AudioDecoderExt for O {
} }
} }
fn is_needs_format(&self) -> bool { fn needs_format(&self) -> bool {
unsafe { unsafe {
from_glib(ffi::gst_audio_decoder_get_needs_format( from_glib(ffi::gst_audio_decoder_get_needs_format(
self.as_ref().to_glib_none().0, self.as_ref().to_glib_none().0,

View file

@ -16,7 +16,7 @@ glib::wrapper! {
pub struct AudioEncoder(Object<ffi::GstAudioEncoder, ffi::GstAudioEncoderClass>) @extends gst::Element, gst::Object; pub struct AudioEncoder(Object<ffi::GstAudioEncoder, ffi::GstAudioEncoderClass>) @extends gst::Element, gst::Object;
match fn { match fn {
get_type => || ffi::gst_audio_encoder_get_type(), type_ => || ffi::gst_audio_encoder_get_type(),
} }
} }

View file

@ -9,7 +9,7 @@ glib::wrapper! {
pub struct AudioSink(Object<ffi::GstAudioSink, ffi::GstAudioSinkClass>) @extends AudioBaseSink, gst_base::BaseSink, gst::Element, gst::Object; pub struct AudioSink(Object<ffi::GstAudioSink, ffi::GstAudioSinkClass>) @extends AudioBaseSink, gst_base::BaseSink, gst::Element, gst::Object;
match fn { match fn {
get_type => || ffi::gst_audio_sink_get_type(), type_ => || ffi::gst_audio_sink_get_type(),
} }
} }

View file

@ -9,7 +9,7 @@ glib::wrapper! {
pub struct AudioSrc(Object<ffi::GstAudioSrc, ffi::GstAudioSrcClass>) @extends AudioBaseSrc, gst_base::BaseSrc, gst::Element, gst::Object; pub struct AudioSrc(Object<ffi::GstAudioSrc, ffi::GstAudioSrcClass>) @extends AudioBaseSrc, gst_base::BaseSrc, gst::Element, gst::Object;
match fn { match fn {
get_type => || ffi::gst_audio_src_get_type(), type_ => || ffi::gst_audio_src_get_type(),
} }
} }

View file

@ -12,7 +12,7 @@ glib::wrapper! {
match fn { match fn {
copy => |ptr| ffi::gst_audio_stream_align_copy(ptr), copy => |ptr| ffi::gst_audio_stream_align_copy(ptr),
free => |ptr| ffi::gst_audio_stream_align_free(ptr), free => |ptr| ffi::gst_audio_stream_align_free(ptr),
get_type => || ffi::gst_audio_stream_align_get_type(), type_ => || ffi::gst_audio_stream_align_get_type(),
} }
} }

View file

@ -16,7 +16,7 @@ glib::wrapper! {
pub struct StreamVolume(Interface<ffi::GstStreamVolume, ffi::GstStreamVolumeInterface>); pub struct StreamVolume(Interface<ffi::GstStreamVolume, ffi::GstStreamVolumeInterface>);
match fn { match fn {
get_type => || ffi::gst_stream_volume_get_type(), type_ => || ffi::gst_stream_volume_get_type(),
} }
} }

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 3c6ebf4) Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from 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 @ 3c6ebf4) // Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
// 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 @ 3c6ebf4) // Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
// 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 @ 3c6ebf4) // Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
// 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 @ 3c6ebf4) // Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
// 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 @ 3c6ebf4) // Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
// 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

@ -11,7 +11,7 @@ glib::wrapper! {
pub struct Adapter(Object<ffi::GstAdapter, ffi::GstAdapterClass>); pub struct Adapter(Object<ffi::GstAdapter, ffi::GstAdapterClass>);
match fn { match fn {
get_type => || ffi::gst_adapter_get_type(), type_ => || ffi::gst_adapter_get_type(),
} }
} }

View file

@ -22,7 +22,7 @@ glib::wrapper! {
pub struct Aggregator(Object<ffi::GstAggregator, ffi::GstAggregatorClass>) @extends gst::Element, gst::Object; pub struct Aggregator(Object<ffi::GstAggregator, ffi::GstAggregatorClass>) @extends gst::Element, gst::Object;
match fn { match fn {
get_type => || ffi::gst_aggregator_get_type(), type_ => || ffi::gst_aggregator_get_type(),
} }
} }

View file

@ -18,7 +18,7 @@ glib::wrapper! {
pub struct AggregatorPad(Object<ffi::GstAggregatorPad, ffi::GstAggregatorPadClass>) @extends gst::Pad, gst::Object; pub struct AggregatorPad(Object<ffi::GstAggregatorPad, ffi::GstAggregatorPadClass>) @extends gst::Pad, gst::Object;
match fn { match fn {
get_type => || ffi::gst_aggregator_pad_get_type(), type_ => || ffi::gst_aggregator_pad_get_type(),
} }
} }

View file

@ -16,7 +16,7 @@ glib::wrapper! {
pub struct BaseParse(Object<ffi::GstBaseParse, ffi::GstBaseParseClass>) @extends gst::Element, gst::Object; pub struct BaseParse(Object<ffi::GstBaseParse, ffi::GstBaseParseClass>) @extends gst::Element, gst::Object;
match fn { match fn {
get_type => || ffi::gst_base_parse_get_type(), type_ => || ffi::gst_base_parse_get_type(),
} }
} }

View file

@ -16,7 +16,7 @@ glib::wrapper! {
pub struct BaseSink(Object<ffi::GstBaseSink, ffi::GstBaseSinkClass>) @extends gst::Element, gst::Object; pub struct BaseSink(Object<ffi::GstBaseSink, ffi::GstBaseSinkClass>) @extends gst::Element, gst::Object;
match fn { match fn {
get_type => || ffi::gst_base_sink_get_type(), type_ => || ffi::gst_base_sink_get_type(),
} }
} }

View file

@ -16,7 +16,7 @@ glib::wrapper! {
pub struct BaseSrc(Object<ffi::GstBaseSrc, ffi::GstBaseSrcClass>) @extends gst::Element, gst::Object; pub struct BaseSrc(Object<ffi::GstBaseSrc, ffi::GstBaseSrcClass>) @extends gst::Element, gst::Object;
match fn { match fn {
get_type => || ffi::gst_base_src_get_type(), type_ => || ffi::gst_base_src_get_type(),
} }
} }

View file

@ -16,7 +16,7 @@ glib::wrapper! {
pub struct BaseTransform(Object<ffi::GstBaseTransform, ffi::GstBaseTransformClass>) @extends gst::Element, gst::Object; pub struct BaseTransform(Object<ffi::GstBaseTransform, ffi::GstBaseTransformClass>) @extends gst::Element, gst::Object;
match fn { match fn {
get_type => || ffi::gst_base_transform_get_type(), type_ => || ffi::gst_base_transform_get_type(),
} }
} }

View file

@ -9,7 +9,7 @@ glib::wrapper! {
pub struct PushSrc(Object<ffi::GstPushSrc, ffi::GstPushSrcClass>) @extends BaseSrc, gst::Element, gst::Object; pub struct PushSrc(Object<ffi::GstPushSrc, ffi::GstPushSrcClass>) @extends BaseSrc, gst::Element, gst::Object;
match fn { match fn {
get_type => || ffi::gst_push_src_get_type(), type_ => || ffi::gst_push_src_get_type(),
} }
} }

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 3c6ebf4) Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from 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 @ 3c6ebf4) // Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
// 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 @ 3c6ebf4) // Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
// 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 @ 3c6ebf4) // Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
// 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 @ 3c6ebf4) // Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
// 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 @ 3c6ebf4) // Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
// 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

@ -16,7 +16,7 @@ glib::wrapper! {
pub struct TestClock(Object<ffi::GstTestClock, ffi::GstTestClockClass>) @extends gst::Clock, gst::Object; pub struct TestClock(Object<ffi::GstTestClock, ffi::GstTestClockClass>) @extends gst::Clock, gst::Object;
match fn { match fn {
get_type => || ffi::gst_test_clock_get_type(), type_ => || ffi::gst_test_clock_get_type(),
} }
} }

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 3c6ebf4) Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from 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 @ 3c6ebf4) // Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
// 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 @ 3c6ebf4) // Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
// 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 @ 3c6ebf4) // Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
// 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 @ 3c6ebf4) // Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
// 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 @ 3c6ebf4) // Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
// 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

@ -16,7 +16,7 @@ glib::wrapper! {
pub struct ARGBControlBinding(Object<ffi::GstARGBControlBinding, ffi::GstARGBControlBindingClass>) @extends gst::ControlBinding, gst::Object; pub struct ARGBControlBinding(Object<ffi::GstARGBControlBinding, ffi::GstARGBControlBindingClass>) @extends gst::ControlBinding, gst::Object;
match fn { match fn {
get_type => || ffi::gst_argb_control_binding_get_type(), type_ => || ffi::gst_argb_control_binding_get_type(),
} }
} }

View file

@ -16,7 +16,7 @@ glib::wrapper! {
pub struct DirectControlBinding(Object<ffi::GstDirectControlBinding, ffi::GstDirectControlBindingClass>) @extends gst::ControlBinding, gst::Object; pub struct DirectControlBinding(Object<ffi::GstDirectControlBinding, ffi::GstDirectControlBindingClass>) @extends gst::ControlBinding, gst::Object;
match fn { match fn {
get_type => || ffi::gst_direct_control_binding_get_type(), type_ => || ffi::gst_direct_control_binding_get_type(),
} }
} }

View file

@ -18,7 +18,7 @@ glib::wrapper! {
pub struct InterpolationControlSource(Object<ffi::GstInterpolationControlSource, ffi::GstInterpolationControlSourceClass>) @extends TimedValueControlSource, gst::ControlSource, gst::Object; pub struct InterpolationControlSource(Object<ffi::GstInterpolationControlSource, ffi::GstInterpolationControlSourceClass>) @extends TimedValueControlSource, gst::ControlSource, gst::Object;
match fn { match fn {
get_type => || ffi::gst_interpolation_control_source_get_type(), type_ => || ffi::gst_interpolation_control_source_get_type(),
} }
} }

View file

@ -17,7 +17,7 @@ glib::wrapper! {
pub struct LFOControlSource(Object<ffi::GstLFOControlSource, ffi::GstLFOControlSourceClass>) @extends gst::ControlSource, gst::Object; pub struct LFOControlSource(Object<ffi::GstLFOControlSource, ffi::GstLFOControlSourceClass>) @extends gst::ControlSource, gst::Object;
match fn { match fn {
get_type => || ffi::gst_lfo_control_source_get_type(), type_ => || ffi::gst_lfo_control_source_get_type(),
} }
} }

View file

@ -11,7 +11,7 @@ glib::wrapper! {
pub struct ProxyControlBinding(Object<ffi::GstProxyControlBinding, ffi::GstProxyControlBindingClass>) @extends gst::ControlBinding, gst::Object; pub struct ProxyControlBinding(Object<ffi::GstProxyControlBinding, ffi::GstProxyControlBindingClass>) @extends gst::ControlBinding, gst::Object;
match fn { match fn {
get_type => || ffi::gst_proxy_control_binding_get_type(), type_ => || ffi::gst_proxy_control_binding_get_type(),
} }
} }

View file

@ -16,7 +16,7 @@ glib::wrapper! {
pub struct TimedValueControlSource(Object<ffi::GstTimedValueControlSource, ffi::GstTimedValueControlSourceClass>) @extends gst::ControlSource, gst::Object; pub struct TimedValueControlSource(Object<ffi::GstTimedValueControlSource, ffi::GstTimedValueControlSourceClass>) @extends gst::ControlSource, gst::Object;
match fn { match fn {
get_type => || ffi::gst_timed_value_control_source_get_type(), type_ => || ffi::gst_timed_value_control_source_get_type(),
} }
} }

View file

@ -17,7 +17,7 @@ glib::wrapper! {
pub struct TriggerControlSource(Object<ffi::GstTriggerControlSource, ffi::GstTriggerControlSourceClass>) @extends TimedValueControlSource, gst::ControlSource, gst::Object; pub struct TriggerControlSource(Object<ffi::GstTriggerControlSource, ffi::GstTriggerControlSourceClass>) @extends TimedValueControlSource, gst::ControlSource, gst::Object;
match fn { match fn {
get_type => || ffi::gst_trigger_control_source_get_type(), type_ => || ffi::gst_trigger_control_source_get_type(),
} }
} }

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 3c6ebf4) Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from 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 @ 3c6ebf4) // Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
// 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 @ 3c6ebf4) // Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
// 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 @ 3c6ebf4) // Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
// 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 @ 3c6ebf4) // Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
// 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 @ 3c6ebf4) // Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
// 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

@ -18,7 +18,7 @@ glib::wrapper! {
pub struct Asset(Object<ffi::GESAsset, ffi::GESAssetClass>); pub struct Asset(Object<ffi::GESAsset, ffi::GESAssetClass>);
match fn { match fn {
get_type => || ffi::ges_asset_get_type(), type_ => || ffi::ges_asset_get_type(),
} }
} }

View file

@ -15,7 +15,7 @@ glib::wrapper! {
pub struct BaseEffect(Object<ffi::GESBaseEffect, ffi::GESBaseEffectClass>) @extends TrackElement, TimelineElement, @implements Extractable; pub struct BaseEffect(Object<ffi::GESBaseEffect, ffi::GESBaseEffectClass>) @extends TrackElement, TimelineElement, @implements Extractable;
match fn { match fn {
get_type => || ffi::ges_base_effect_get_type(), type_ => || ffi::ges_base_effect_get_type(),
} }
} }

View file

@ -13,7 +13,7 @@ glib::wrapper! {
pub struct BaseTransitionClip(Object<ffi::GESBaseTransitionClip, ffi::GESBaseTransitionClipClass>) @extends OperationClip, Clip, Container, TimelineElement, @implements Extractable; pub struct BaseTransitionClip(Object<ffi::GESBaseTransitionClip, ffi::GESBaseTransitionClipClass>) @extends OperationClip, Clip, Container, TimelineElement, @implements Extractable;
match fn { match fn {
get_type => || ffi::ges_base_transition_clip_get_type(), type_ => || ffi::ges_base_transition_clip_get_type(),
} }
} }

View file

@ -30,7 +30,7 @@ glib::wrapper! {
pub struct Clip(Object<ffi::GESClip, ffi::GESClipClass>) @extends Container, TimelineElement, @implements Extractable; pub struct Clip(Object<ffi::GESClip, ffi::GESClipClass>) @extends Container, TimelineElement, @implements Extractable;
match fn { match fn {
get_type => || ffi::ges_clip_get_type(), type_ => || ffi::ges_clip_get_type(),
} }
} }

View file

@ -21,7 +21,7 @@ glib::wrapper! {
pub struct Container(Object<ffi::GESContainer, ffi::GESContainerClass>) @extends TimelineElement, @implements Extractable; pub struct Container(Object<ffi::GESContainer, ffi::GESContainerClass>) @extends TimelineElement, @implements Extractable;
match fn { match fn {
get_type => || ffi::ges_container_get_type(), type_ => || ffi::ges_container_get_type(),
} }
} }

View file

@ -15,7 +15,7 @@ glib::wrapper! {
pub struct Effect(Object<ffi::GESEffect, ffi::GESEffectClass>) @extends BaseEffect, TrackElement, TimelineElement, @implements Extractable; pub struct Effect(Object<ffi::GESEffect, ffi::GESEffectClass>) @extends BaseEffect, TrackElement, TimelineElement, @implements Extractable;
match fn { match fn {
get_type => || ffi::ges_effect_get_type(), type_ => || ffi::ges_effect_get_type(),
} }
} }

View file

@ -11,7 +11,7 @@ glib::wrapper! {
pub struct Extractable(Interface<ffi::GESExtractable, ffi::GESExtractableInterface>); pub struct Extractable(Interface<ffi::GESExtractable, ffi::GESExtractableInterface>);
match fn { match fn {
get_type => || ffi::ges_extractable_get_type(), type_ => || ffi::ges_extractable_get_type(),
} }
} }

View file

@ -19,7 +19,7 @@ glib::wrapper! {
pub struct Group(Object<ffi::GESGroup, ffi::GESGroupClass>) @extends Container, TimelineElement, @implements Extractable; pub struct Group(Object<ffi::GESGroup, ffi::GESGroupClass>) @extends Container, TimelineElement, @implements Extractable;
match fn { match fn {
get_type => || ffi::ges_group_get_type(), type_ => || ffi::ges_group_get_type(),
} }
} }

View file

@ -26,7 +26,7 @@ glib::wrapper! {
pub struct Layer(Object<ffi::GESLayer, ffi::GESLayerClass>) @implements Extractable; pub struct Layer(Object<ffi::GESLayer, ffi::GESLayerClass>) @implements Extractable;
match fn { match fn {
get_type => || ffi::ges_layer_get_type(), type_ => || ffi::ges_layer_get_type(),
} }
} }

View file

@ -12,7 +12,7 @@ glib::wrapper! {
pub struct OperationClip(Object<ffi::GESOperationClip, ffi::GESOperationClipClass>) @extends Clip, Container, TimelineElement, @implements Extractable; pub struct OperationClip(Object<ffi::GESOperationClip, ffi::GESOperationClipClass>) @extends Clip, Container, TimelineElement, @implements Extractable;
match fn { match fn {
get_type => || ffi::ges_operation_clip_get_type(), type_ => || ffi::ges_operation_clip_get_type(),
} }
} }

View file

@ -19,7 +19,7 @@ glib::wrapper! {
pub struct Pipeline(Object<ffi::GESPipeline, ffi::GESPipelineClass>) @extends gst::Pipeline, gst::Element, gst::Object; pub struct Pipeline(Object<ffi::GESPipeline, ffi::GESPipelineClass>) @extends gst::Pipeline, gst::Element, gst::Object;
match fn { match fn {
get_type => || ffi::ges_pipeline_get_type(), type_ => || ffi::ges_pipeline_get_type(),
} }
} }

View file

@ -18,7 +18,7 @@ glib::wrapper! {
pub struct Project(Object<ffi::GESProject, ffi::GESProjectClass>) @extends Asset; pub struct Project(Object<ffi::GESProject, ffi::GESProjectClass>) @extends Asset;
match fn { match fn {
get_type => || ffi::ges_project_get_type(), type_ => || ffi::ges_project_get_type(),
} }
} }

View file

@ -29,7 +29,7 @@ glib::wrapper! {
pub struct Timeline(Object<ffi::GESTimeline, ffi::GESTimelineClass>) @extends gst::Element, gst::Object, @implements Extractable; pub struct Timeline(Object<ffi::GESTimeline, ffi::GESTimelineClass>) @extends gst::Element, gst::Object, @implements Extractable;
match fn { match fn {
get_type => || ffi::ges_timeline_get_type(), type_ => || ffi::ges_timeline_get_type(),
} }
} }

View file

@ -34,7 +34,7 @@ glib::wrapper! {
pub struct TimelineElement(Object<ffi::GESTimelineElement, ffi::GESTimelineElementClass>) @implements Extractable; pub struct TimelineElement(Object<ffi::GESTimelineElement, ffi::GESTimelineElementClass>) @implements Extractable;
match fn { match fn {
get_type => || ffi::ges_timeline_element_get_type(), type_ => || ffi::ges_timeline_element_get_type(),
} }
} }

View file

@ -22,7 +22,7 @@ glib::wrapper! {
pub struct Track(Object<ffi::GESTrack, ffi::GESTrackClass>) @extends gst::Element, gst::Object; pub struct Track(Object<ffi::GESTrack, ffi::GESTrackClass>) @extends gst::Element, gst::Object;
match fn { match fn {
get_type => || ffi::ges_track_get_type(), type_ => || ffi::ges_track_get_type(),
} }
} }

View file

@ -22,7 +22,7 @@ glib::wrapper! {
pub struct TrackElement(Object<ffi::GESTrackElement, ffi::GESTrackElementClass>) @extends TimelineElement, @implements Extractable; pub struct TrackElement(Object<ffi::GESTrackElement, ffi::GESTrackElementClass>) @extends TimelineElement, @implements Extractable;
match fn { match fn {
get_type => || ffi::ges_track_element_get_type(), type_ => || ffi::ges_track_element_get_type(),
} }
} }

View file

@ -23,7 +23,7 @@ glib::wrapper! {
pub struct TransitionClip(Object<ffi::GESTransitionClip, ffi::GESTransitionClipClass>) @extends BaseTransitionClip, OperationClip, Clip, Container, TimelineElement, @implements Extractable; pub struct TransitionClip(Object<ffi::GESTransitionClip, ffi::GESTransitionClipClass>) @extends BaseTransitionClip, OperationClip, Clip, Container, TimelineElement, @implements Extractable;
match fn { match fn {
get_type => || ffi::ges_transition_clip_get_type(), type_ => || ffi::ges_transition_clip_get_type(),
} }
} }

View file

@ -19,7 +19,7 @@ glib::wrapper! {
pub struct UriClip(Object<ffi::GESUriClip, ffi::GESUriClipClass>) @extends Clip, Container, TimelineElement, @implements Extractable; pub struct UriClip(Object<ffi::GESUriClip, ffi::GESUriClipClass>) @extends Clip, Container, TimelineElement, @implements Extractable;
match fn { match fn {
get_type => || ffi::ges_uri_clip_get_type(), type_ => || ffi::ges_uri_clip_get_type(),
} }
} }

View file

@ -21,7 +21,7 @@ glib::wrapper! {
pub struct UriClipAsset(Object<ffi::GESUriClipAsset, ffi::GESUriClipAssetClass>) @extends Asset; pub struct UriClipAsset(Object<ffi::GESUriClipAsset, ffi::GESUriClipAssetClass>) @extends Asset;
match fn { match fn {
get_type => || ffi::ges_uri_clip_asset_get_type(), type_ => || ffi::ges_uri_clip_asset_get_type(),
} }
} }

View file

@ -12,7 +12,7 @@ glib::wrapper! {
pub struct UriSourceAsset(Object<ffi::GESUriSourceAsset, ffi::GESUriSourceAssetClass>) @extends Asset; pub struct UriSourceAsset(Object<ffi::GESUriSourceAsset, ffi::GESUriSourceAssetClass>) @extends Asset;
match fn { match fn {
get_type => || ffi::ges_uri_source_asset_get_type(), type_ => || ffi::ges_uri_source_asset_get_type(),
} }
} }

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 3c6ebf4) Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from 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 @ 3c6ebf4) // Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
// 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 @ 3c6ebf4) // Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
// 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 @ 3c6ebf4) // Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
// 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 @ 3c6ebf4) // Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
// 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 @ 3c6ebf4) // Generated by gir (https://github.com/gtk-rs/gir @ 3d17b67)
// 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

@ -10,7 +10,7 @@ glib::wrapper! {
pub struct GLDisplayEGL(Object<ffi::GstGLDisplayEGL, ffi::GstGLDisplayEGLClass>) @extends gst_gl::GLDisplay, gst::Object; pub struct GLDisplayEGL(Object<ffi::GstGLDisplayEGL, ffi::GstGLDisplayEGLClass>) @extends gst_gl::GLDisplay, gst::Object;
match fn { match fn {
get_type => || ffi::gst_gl_display_egl_get_type(), type_ => || ffi::gst_gl_display_egl_get_type(),
} }
} }

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