Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2022-02-06 22:47:52 +0300
committerSebastian Dröge <slomo@coaxion.net>2022-02-07 10:30:57 +0300
commit1b8ee90f832acf92e303ac7d72488d6de032bbfc (patch)
treed97a0d5db47872365915f280129f3584c4d97f5d /video/rav1e
parentd3d483d0b5dc162e5fe0028075a64bb078bd0950 (diff)
rav1enc: Don't handle `NeedMoreData` as "soft" error
Diffstat (limited to 'video/rav1e')
-rw-r--r--video/rav1e/src/rav1enc/imp.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/video/rav1e/src/rav1enc/imp.rs b/video/rav1e/src/rav1enc/imp.rs
index 9d3eaf114..ca7e5b758 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,