[]Struct gstreamer_pbutils::DiscovererVideoInfo

pub struct DiscovererVideoInfo(_, _);

DiscovererStreamInfo specific to video streams (this includes images).

Implements

DiscovererStreamInfoExt, glib::object::ObjectExt

Methods

impl DiscovererVideoInfo[src]

pub fn get_bitrate(&self) -> u32[src]

Returns

the average or nominal bitrate of the video stream in bits/second.

pub fn get_depth(&self) -> u32[src]

Returns

the depth in bits of the video stream.

pub fn get_height(&self) -> u32[src]

Returns

the height of the video stream in pixels.

pub fn get_max_bitrate(&self) -> u32[src]

Returns

the maximum bitrate of the video stream in bits/second.

pub fn get_width(&self) -> u32[src]

Returns

the width of the video stream in pixels.

pub fn is_image(&self) -> bool[src]

Returns

true if the video stream corresponds to an image (i.e. only contains one frame).

pub fn is_interlaced(&self) -> bool[src]

Returns

true if the stream is interlaced, else false.

impl DiscovererVideoInfo[src]

pub fn get_framerate(&self) -> Fraction[src]

pub fn get_par(&self) -> Fraction[src]

Trait Implementations

impl Clone for DiscovererVideoInfo

impl Debug for DiscovererVideoInfo

impl Eq for DiscovererVideoInfo

impl Hash for DiscovererVideoInfo

impl IsA<DiscovererStreamInfo> for DiscovererVideoInfo

impl Ord for DiscovererVideoInfo

impl<T: ObjectType> PartialEq<T> for DiscovererVideoInfo

impl<T: ObjectType> PartialOrd<T> for DiscovererVideoInfo

impl Send for DiscovererVideoInfo[src]

impl StaticType for DiscovererVideoInfo

impl Sync for DiscovererVideoInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for DiscovererVideoInfo

impl Unpin for DiscovererVideoInfo

impl UnwindSafe for DiscovererVideoInfo

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.