pub struct Input { /* private fields */ }
Implementations
sourceimpl Input
impl Input
pub unsafe fn wrap(ptr: *mut AVFormatContext) -> Self
pub unsafe fn as_ptr(&self) -> *const AVFormatContext
pub unsafe fn as_mut_ptr(&mut self) -> *mut AVFormatContext
sourceimpl Input
impl Input
pub fn format(&self) -> Input
pub fn video_codec(&self) -> Option<Codec>
pub fn audio_codec(&self) -> Option<Codec>
pub fn subtitle_codec(&self) -> Option<Codec>
pub fn data_codec(&self) -> Option<Codec>
pub fn probe_score(&self) -> i32
pub fn packets(&mut self) -> PacketIter<'_>ⓘNotable traits for PacketIter<'a>impl<'a> Iterator for PacketIter<'a> type Item = (Stream<'a>, Packet);
pub fn pause(&mut self) -> Result<(), Error>
pub fn play(&mut self) -> Result<(), Error>
pub fn seek<R: Range<i64>>(&mut self, ts: i64, range: R) -> Result<(), Error>
Trait Implementations
Auto Trait Implementations
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