Struct ffmpeg_sidecar::log_parser::FfmpegLogParser
source · pub struct FfmpegLogParser<R: Read> { /* private fields */ }Implementations§
source§impl<R: Read> FfmpegLogParser<R>
impl<R: Read> FfmpegLogParser<R>
sourcepub fn parse_next_event(&mut self) -> Result<FfmpegEvent, String>
pub fn parse_next_event(&mut self) -> Result<FfmpegEvent, String>
Consume lines from the inner reader until obtaining a completed
FfmpegEvent, returning it.
Typically this consumes a single line, but in the case of multi-line input/output stream specifications, nested method calls will consume additional lines until the entire vector of Inputs/Outputs is parsed.