gcc: Ignore errors pausing task

We can't do much about it at this point

Fixes https://github.com/centricular/webrtcsink/issues/110
This commit is contained in:
Thibault Saunier 2022-10-11 09:53:32 -03:00 committed by Mathieu Duponchelle
parent e110847ede
commit f4692cb1dd

View file

@ -1054,7 +1054,7 @@ impl BandwidthEstimator {
self.srcpad.start_task(move || { self.srcpad.start_task(move || {
let pause = || { let pause = || {
if let Some(pad) = weak_pad.upgrade() { if let Some(pad) = weak_pad.upgrade() {
pad.pause_task().unwrap(); let _ = pad.pause_task();
} }
}; };
let bwe = weak_bwe let bwe = weak_bwe