Searched refs:TryReceiveResult (Results 1 – 3 of 3) sorted by relevance
431 pub enum TryReceiveResult { enum476 pub fn try_receive_frame(&mut self, frame: &mut AvFrame) -> Result<TryReceiveResult, AvError> { in try_receive_frame() argument480 AVERROR_EAGAIN => Ok(TryReceiveResult::TryAgain), in try_receive_frame()481 AVERROR_EOF => Ok(TryReceiveResult::FlushCompleted), in try_receive_frame()482 ret if ret >= 0 => Ok(TryReceiveResult::Received), in try_receive_frame()515 ) -> Result<TryReceiveResult, AvError> { in try_receive_packet() argument519 AVERROR_EAGAIN => Ok(TryReceiveResult::TryAgain), in try_receive_packet()520 AVERROR_EOF => Ok(TryReceiveResult::FlushCompleted), in try_receive_packet()521 ret if ret >= 0 => Ok(TryReceiveResult::Received), in try_receive_packet()
25 use ffmpeg::avcodec::TryReceiveResult;170 Ok(TryReceiveResult::TryAgain) => { in try_receive_packet()188 Ok(TryReceiveResult::FlushCompleted) => { in try_receive_packet()197 Ok(TryReceiveResult::Received) => { in try_receive_packet()
295 Ok(TryReceiveResult::Received) => { in try_receive_frame()306 Ok(TryReceiveResult::TryAgain) => { in try_receive_frame()327 Ok(TryReceiveResult::FlushCompleted) => { in try_receive_frame()