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
Auto Trait Implementations
impl RefUnwindSafe for Video
impl Send for Video
impl Sync for Video
impl Unpin for Video
impl UnwindSafe for Video
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more