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

Required methods

This is supported on crate feature v1_12 only.

Makes a deep copy of self

Returns

The copy of self

Get whether the format that has been negotiated in at some point can be renegotiated later during the encoding.

Returns

the description of the profile, can be None.

This is supported on crate feature v1_20 only.

Returns

The properties that are going to be set on the underlying element

Returns

a suitable file extension for self, or NULL.

Returns

the gst::Caps corresponding to the media format used in the profile. Unref after usage.

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 name of the profile, can be None.

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.

Returns

the name of the gst::Preset factory to be used in the profile.

This is supported on crate feature v1_18 only.

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.

Returns

the human-readable name of the type of self.

Checks whether the two EncodingProfile are equal

b

a EncodingProfile

Returns

true if self and b are equal, else false.

This is supported on crate feature v1_20 only.

Implementors

This is supported on crate feature v1_12 only.
This is supported on crate feature v1_20 only.
This is supported on crate feature v1_18 only.
This is supported on crate feature v1_20 only.