Commit 26e62d39 authored by Romain Vimont's avatar Romain Vimont Committed by Luca Barbato

Fix process_frame() usage

The return type of process_frame() has changed from
Option<FrameSummary> to Vec<FrameSummary> in commit

Adapt usage for rav1repl accordingly.
parent f049242b
......@@ -77,7 +77,7 @@ fn main() {
match line.split_whitespace().next() {
Some("process_frame") => {
match process_frame(&mut ctx, &mut io.output, &mut y4m_dec, y4m_enc.as_mut()) {
Ok(Some(frame_info)) => frame_info.iter().for_each(|frame| eprintln!("{}", frame)),
Ok(frame_info) => frame_info.iter().for_each(|frame| eprintln!("{}", frame)),
Err(_) => break,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment