rav1enc: Don't handle NeedMoreData as "soft" error

This commit is contained in:
Sebastian Dröge 2022-02-06 21:47:52 +02:00
parent b90a670de0
commit fa59fb016e

View file

@ -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,