[][src]Struct gstreamer_pbutils::EncodingProfile

pub struct EncodingProfile(_, _);

The opaque base class object for all encoding profiles. This contains generic information like name, description, format and preset.

Implements

EncodingProfileExt, glib::object::ObjectExt

Implementations

impl EncodingProfile[src]

pub fn find(
    targetname: &str,
    profilename: Option<&str>,
    category: Option<&str>
) -> Option<EncodingProfile>
[src]

Find the EncodingProfile with the specified name and category.

targetname

The name of the target

profilename

The name of the profile, if None provided, it will default to the encoding profile called default.

category

The target category. Can be None

Returns

The matching EncodingProfile or None.

pub fn from_discoverer(
    info: &DiscovererInfo
) -> Result<EncodingProfile, BoolError>
[src]

Creates a EncodingProfile matching the formats from the given DiscovererInfo. Streams other than audio or video (eg, subtitles), are currently ignored.

info

The DiscovererInfo to read from

Returns

The new EncodingProfile or None.

Trait Implementations

impl Clone for EncodingProfile[src]

impl Debug for EncodingProfile[src]

impl Eq for EncodingProfile[src]

impl Hash for EncodingProfile[src]

impl IsA<EncodingProfile> for EncodingAudioProfile[src]

impl IsA<EncodingProfile> for EncodingContainerProfile[src]

impl IsA<EncodingProfile> for EncodingVideoProfile[src]

impl Ord for EncodingProfile[src]

impl<T: ObjectType> PartialEq<T> for EncodingProfile[src]

impl<T: ObjectType> PartialOrd<T> for EncodingProfile[src]

impl Send for EncodingProfile[src]

impl StaticType for EncodingProfile[src]

impl Sync for EncodingProfile[src]

Auto Trait Implementations

impl RefUnwindSafe for EncodingProfile

impl Unpin for EncodingProfile

impl UnwindSafe for EncodingProfile

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 
[src]

impl<T> Cast for T where
    T: ObjectType
[src]

impl<T> From<T> for T[src]

impl<O> GObjectExtManualGst for O where
    O: IsA<Object>, 
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ObjectExt for T where
    T: ObjectType
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.