Trait gstreamer_pbutils::prelude::EncodingProfileExt [−][src]
pub trait EncodingProfileExt: 'static {}Show methods
fn copy(&self) -> EncodingProfile; fn allows_dynamic_output(&self) -> bool; fn description(&self) -> Option<GString>; fn file_extension(&self) -> Option<GString>; fn format(&self) -> Caps; fn input_caps(&self) -> Caps; fn name(&self) -> Option<GString>; fn presence(&self) -> u32; fn preset(&self) -> Option<GString>; fn preset_name(&self) -> Option<GString>; fn is_single_segment(&self) -> bool; fn type_nick(&self) -> Option<GString>; fn is_enabled(&self) -> bool; fn is_equal<P: IsA<EncodingProfile>>(&self, b: &P) -> bool;
Trait containing all EncodingProfile
methods.
Implementors
crate::EncodingAudioProfile
, crate::EncodingContainerProfile
, crate::EncodingProfile
, crate::EncodingVideoProfile
Required methods
fn copy(&self) -> EncodingProfile
[src]
v1_12
only.fn allows_dynamic_output(&self) -> bool
[src]
Get whether the format that has been negotiated in at some point can be renegotiated later during the encoding.
fn description(&self) -> Option<GString>
[src]
fn file_extension(&self) -> Option<GString>
[src]
Returns
a suitable file extension for self
, or NULL.
fn format(&self) -> Caps
[src]
Returns
the crate::gst::Caps
corresponding to the media format used
in the profile. Unref after usage.
fn input_caps(&self) -> Caps
[src]
Computes the full output caps that this self
will be able to consume.
Returns
The full caps the given self
can consume. Call
gst_caps_unref()
when you are done with the caps.
fn name(&self) -> Option<GString>
[src]
fn presence(&self) -> u32
[src]
Returns
The number of times the profile is used in its parent container profile. If 0, it is not a mandatory stream.
fn preset(&self) -> Option<GString>
[src]
Returns
the name of the crate::gst::Preset
to be used in the profile.
This is the name that has been set when saving the preset.
fn preset_name(&self) -> Option<GString>
[src]
Returns
the name of the crate::gst::Preset
factory to be used in the profile.
fn is_single_segment(&self) -> bool
[src]
v1_18
only.Returns
[crate::true
] if the stream represented by self
should use a single
segment before the encoder, [crate::false
] otherwise. This means that buffers will be retimestamped
and segments will be eat so as to appear as one segment.
fn type_nick(&self) -> Option<GString>
[src]
Returns
the human-readable name of the type of self
.
fn is_enabled(&self) -> bool
[src]
fn is_equal<P: IsA<EncodingProfile>>(&self, b: &P) -> bool
[src]
Implementors
impl<O: IsA<EncodingProfile>> EncodingProfileExt for O
[src]
impl<O: IsA<EncodingProfile>> EncodingProfileExt for O
[src]fn copy(&self) -> EncodingProfile
[src]
fn copy(&self) -> EncodingProfile
[src]v1_12
only.fn allows_dynamic_output(&self) -> bool
[src]
fn description(&self) -> Option<GString>
[src]
fn file_extension(&self) -> Option<GString>
[src]
fn format(&self) -> Caps
[src]
fn input_caps(&self) -> Caps
[src]
fn name(&self) -> Option<GString>
[src]
fn presence(&self) -> u32
[src]
fn preset(&self) -> Option<GString>
[src]
fn preset_name(&self) -> Option<GString>
[src]
fn is_single_segment(&self) -> bool
[src]
fn is_single_segment(&self) -> bool
[src]v1_18
only.