Skip to content

audio/video: Fix some clippy warnings

Sebastian Dröge requested to merge slomo/gstreamer-rs:clippy-warnings into master

warning: use of unwrap_or followed by a function call --> gstreamer-audio/src/subclass/audio_encoder.rs:360:18 | 360 | .unwrap_or(element.proxy_getcaps(None, filter)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: try this: unwrap_or_else(|| element.proxy_getcaps(None, filter))

Merge request reports

Loading