pub fn seek_to_frame(&mut self, stream_idx: i32, timestamp: i64, flags: SeekFlags
            ) -> Result<(), Error> {
        unsafe {
            match sys::av_seek_frame(self.as_mut_ptr(), stream_idx, timestamp, flags.bits())
            {
                s if s >= 0 => Ok(()),
                e => Err(Error::from(e)),
            }
        }
    }
/// Seeks to a specific frame in the input.
///
/// For more info view [ffmpeg's documentation](
/// https://ffmpeg.org/doxygen/3.4/group__lavf__decoding.html#gaa23f7619d8d4ea0857065d9979c75ac8).
Seeks to a specific frame in the input.
Seeks to a specific frame in the input .
pub fn seek_to_frame(&mut self, stream_idx: i32, timestamp: i64, flags: SeekFlags
            ) -> Result<(), Error> {
        unsafe {
            match sys::av_seek_frame(self.as_mut_ptr(), stream_idx, timestamp, flags.bits())
            {
                s if s >= 0 => Ok(()),
                e => Err(Error::from(e)),
            }
        }
    }
pub fn seek_to_frame ( & mut self , stream_idx : i32 , timestamp : i64 , flags : SeekFlags ) -> Result < ( ) , Error > { unsafe { match sys :: av_seek_frame ( self . as_mut_ptr ( ) , stream_idx , timestamp , flags . bits ( ) ) { s if s >= 0 => Ok ( ( ) ) , e => Err ( Error :: from ( e ) ) , } } }
Seeks to a specific frame in the input.
Seeks to a specific frame in the input .
&mut self
stream_idx
i32
timestamp
i64
flags
SeekFlags
&mut self
stream_idx
i32
timestamp
i64
flags
SeekFlags