mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-26 12:00:32 +00:00
mccparse/sccparse: Don't log gst::FlowError::Flushing or Eos as error to the debug logs
This commit is contained in:
parent
f908cbaffd
commit
4a2c93299e
2 changed files with 4 additions and 2 deletions
|
@ -564,7 +564,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
|
||||
|
|
|
@ -454,7 +454,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