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 element_properties(&self) -> Option<Structure>;
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;
fn connect_element_properties_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId;
}Expand description
Trait containing all EncodingProfile methods.
Implementors
EncodingAudioProfile, EncodingContainerProfile, EncodingProfile, EncodingVideoProfile
Required methods
fn copy(&self) -> EncodingProfile[src]
fn copy(&self) -> EncodingProfile[src]v1_12 only.fn allows_dynamic_output(&self) -> bool[src]
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 element_properties(&self) -> Option<Structure>[src]
fn element_properties(&self) -> Option<Structure>[src]v1_20 only.Returns
The properties that are going to be set on the underlying element
fn file_extension(&self) -> Option<GString>[src]
fn file_extension(&self) -> Option<GString>[src]Returns
a suitable file extension for self, or NULL.
fn input_caps(&self) -> Caps[src]
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.
Returns
The number of times the profile is used in its parent container profile. If 0, it is not a mandatory stream.
Returns
the name of the gst::Preset to be used in the profile.
This is the name that has been set when saving the preset.
fn preset_name(&self) -> Option<GString>[src]
fn preset_name(&self) -> Option<GString>[src]Returns
the name of the gst::Preset factory to be used in the profile.
fn is_single_segment(&self) -> bool[src]
fn is_single_segment(&self) -> bool[src]v1_18 only.fn is_enabled(&self) -> bool[src]fn connect_element_properties_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
fn connect_element_properties_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId[src]v1_20 only.Implementors
v1_12 only.v1_20 only.v1_18 only.fn connect_element_properties_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
fn connect_element_properties_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId[src]v1_20 only.