mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-05-11 18:59:00 +00:00
mccparse/sccparse: Don't log gst::FlowError::Flushing or Eos as error to the debug logs
This commit is contained in:
parent
8fcdfc1d41
commit
5c426a3649
2 changed files with 4 additions and 2 deletions
|
@ -567,7 +567,7 @@ impl MccParse {
|
|||
}
|
||||
|
||||
self.srcpad.push(buffer).map_err(|err| {
|
||||
if err != gst::FlowError::Flushing {
|
||||
if err != gst::FlowError::Flushing && err != gst::FlowError::Eos {
|
||||
gst_error!(CAT, obj: element, "Pushing buffer returned {:?}", err);
|
||||
}
|
||||
err
|
||||
|
|
|
@ -457,7 +457,9 @@ impl SccParse {
|
|||
}
|
||||
|
||||
self.srcpad.push_list(buffers).map_err(|err| {
|
||||
gst_error!(CAT, obj: element, "Pushing buffer returned {:?}", err);
|
||||
if err != gst::FlowError::Flushing && err != gst::FlowError::Eos {
|
||||
gst_error!(CAT, obj: element, "Pushing buffer returned {:?}", err);
|
||||
}
|
||||
err
|
||||
})?;
|
||||
|
||||
|
|
Loading…
Reference in a new issue