diff --git a/video/rav1e/src/rav1enc/imp.rs b/video/rav1e/src/rav1enc/imp.rs index 9d3eaf11..ca7e5b75 100644 --- a/video/rav1e/src/rav1enc/imp.rs +++ b/video/rav1e/src/rav1enc/imp.rs @@ -981,6 +981,10 @@ impl Rav1Enc { Err(data::EncoderStatus::Encoded) => { gst_debug!(CAT, obj: element, "Encoded but not output frame yet",); } + Err(data::EncoderStatus::NeedMoreData) => { + gst_debug!(CAT, obj: element, "Encoded but need more data",); + return Ok(gst::FlowSuccess::Ok); + } Err(data::EncoderStatus::Failure) => { gst::element_error!( element,