pub struct Video {
    pub pixel_width: u64,
    pub pixel_height: u64,
    pub display_width: Option<u64>,
    pub display_height: Option<u64>,
    pub interlaced: Option<bool>,
    pub stereo: Option<StereoMode>,
}
Expand description

A video track’s specifications

Fields

pixel_width: u64

Width of encoded video frames in pixels

pixel_height: u64

Height of encoded video frames in pixels

display_width: Option<u64>

Width of video frames to display

display_height: Option<u64>

Height of video frames to display

interlaced: Option<bool>

Whether video is interlaced

stereo: Option<StereoMode>

Stereo video mode

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.