[−]Struct gstreamer_pbutils::EncodingProfile
The opaque base class object for all encoding profiles. This contains generic information like name, description, format and preset.
Implements
Methods
impl EncodingProfile
[src][−]
pub fn find(
targetname: &str,
profilename: Option<&str>,
category: Option<&str>
) -> Option<EncodingProfile>
[src][−]
targetname: &str,
profilename: Option<&str>,
category: Option<&str>
) -> Option<EncodingProfile>
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][−]
info: &DiscovererInfo
) -> Result<EncodingProfile, BoolError>
Trait Implementations
impl Clone for EncodingProfile
[+]
impl Debug for EncodingProfile
[+]
impl Eq for EncodingProfile
impl Hash for EncodingProfile
[+]
impl IsA<EncodingProfile> for EncodingAudioProfile
impl IsA<EncodingProfile> for EncodingContainerProfile
impl IsA<EncodingProfile> for EncodingVideoProfile
impl Ord for EncodingProfile
[+]
impl<T: ObjectType> PartialEq<T> for EncodingProfile
[+]
impl<T: ObjectType> PartialOrd<T> for EncodingProfile
[+]
impl Send for EncodingProfile
[src]
impl StaticType for EncodingProfile
[+]
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][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<Super, Sub> CanDowncast<Sub> for Super where
Sub: IsA<Super>,
Super: IsA<Super>,
[src]
Sub: IsA<Super>,
Super: IsA<Super>,
impl<T> Cast for T where
T: ObjectType,
[src][+]
T: ObjectType,
impl<T> From<T> for T
[src][+]
impl<O> GObjectExtManualGst for O where
O: IsA<Object>,
[src][+]
O: IsA<Object>,
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ObjectExt for T where
T: ObjectType,
[src][+]
T: ObjectType,
impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src][+]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src][+]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src][+]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src][+]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src][+]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T> ToSendValue for T where
T: ToValue + SetValue + Send + ?Sized,
[src][+]
T: ToValue + SetValue + Send + ?Sized,
impl<T> ToValue for T where
T: SetValue + ?Sized,
[src][+]
T: SetValue + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,