mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-22 19:41:00 +00:00
rav1enc: Don't handle NeedMoreData
as "soft" error
This commit is contained in:
parent
d3d483d0b5
commit
1b8ee90f83
1 changed files with 4 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue