pub struct StreamMap { /* private fields */ }Expand description
Stream mapping configuration
Implementations§
Source§impl StreamMap
impl StreamMap
Sourcepub fn from_input(input_index: usize) -> Self
pub fn from_input(input_index: usize) -> Self
Map all streams from an input
Sourcepub fn specific(input_index: usize, stream_spec: StreamSpecifier) -> Self
pub fn specific(input_index: usize, stream_spec: StreamSpecifier) -> Self
Map a specific stream
Sourcepub fn video_from(input_index: usize) -> Self
pub fn video_from(input_index: usize) -> Self
Map video streams from input
Sourcepub fn audio_from(input_index: usize) -> Self
pub fn audio_from(input_index: usize) -> Self
Map audio streams from input
Sourcepub fn subtitle_from(input_index: usize) -> Self
pub fn subtitle_from(input_index: usize) -> Self
Map subtitle streams from input
Sourcepub fn stream_index(input_index: usize, stream_index: usize) -> Self
pub fn stream_index(input_index: usize, stream_index: usize) -> Self
Map a specific stream by index
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StreamMap
impl RefUnwindSafe for StreamMap
impl Send for StreamMap
impl Sync for StreamMap
impl Unpin for StreamMap
impl UnwindSafe for StreamMap
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more