[−][src]Trait gstreamer_pbutils::EncodingProfileExt
Trait containing all EncodingProfile methods.
Implementors
EncodingAudioProfile, EncodingContainerProfile, EncodingProfile, EncodingVideoProfile
Required methods
fn copy(&self) -> EncodingProfile
fn get_allow_dynamic_output(&self) -> bool
Get whether the format that has been negotiated in at some point can be renegotiated later during the encoding.
fn get_description(&self) -> Option<GString>
Returns
the description of the profile, can be None.
fn get_file_extension(&self) -> Option<GString>
Returns
a suitable file extension for self, or NULL.
fn get_format(&self) -> Caps
Returns
the gst::Caps corresponding to the media format used
in the profile. Unref after usage.
fn get_input_caps(&self) -> Caps
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 get_name(&self) -> Option<GString>
Returns
the name of the profile, can be None.
fn get_presence(&self) -> u32
Returns
The number of times the profile is used in its parent container profile. If 0, it is not a mandatory stream.
fn get_preset(&self) -> Option<GString>
Returns
the name of the gst::Preset to be used in the profile.
This is the name that has been set when saving the preset.
fn get_preset_name(&self) -> Option<GString>
Returns
the name of the gst::Preset factory to be used in the profile.
fn get_single_segment(&self) -> bool
Feature: v1_18
Returns
true if the stream represented by self should use a single
segment before the encoder, false otherwise. This means that buffers will be retimestamped
and segments will be eat so as to appear as one segment.
fn get_type_nick(&self) -> Option<GString>
Returns
the human-readable name of the type of self.