webrtcsink: don't return value from error closure

the signal doesn't expect a return value, which meant we were panicking
as soon as the signaller tried to report an error.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1167>
This commit is contained in:
Mathieu Duponchelle 2023-04-08 01:32:33 +02:00 committed by Sebastian Dröge
parent 58c8c0edc7
commit 3368f55a88

View file

@ -1415,7 +1415,6 @@ impl WebRTCSink {
gst::StreamError::Failed,
["Signalling error: {}", error]
);
false
})
),