mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-22 00:48:17 +00:00
gccbwe: don't log an error when handling a buffer list while stopping
When `webrtcsink` was stopped, `gccbwe` could log an error if it was handling a buffer list. This commit logs an error only if `push_list()` returned an error other than `Flushing`. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1556>
This commit is contained in:
parent
6d36b9160a
commit
47429e2ed8
1 changed files with 3 additions and 1 deletions
|
@ -1096,7 +1096,9 @@ impl BandwidthEstimator {
|
|||
|
||||
if !list.is_empty() {
|
||||
if let Err(err) = bwe.imp().push_list(list) {
|
||||
gst::error!(CAT, obj: bwe, "pause task, reason: {err:?}");
|
||||
if err != gst::FlowError::Flushing {
|
||||
gst::error!(CAT, obj: bwe, "pause task, reason: {err:?}");
|
||||
}
|
||||
pause()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue