mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-01 16:01:01 +00:00
Fix rust fmt
This commit is contained in:
parent
8a81ca526b
commit
cb1ea2195f
1 changed files with 5 additions and 1 deletions
|
@ -70,7 +70,11 @@ fn connect_ndi(cat: gst::DebugCategory, element: &BaseSrc, ip: &str, stream_name
|
|||
let mut audio = false;
|
||||
let mut video = false;
|
||||
|
||||
if element.get_factory().map(|f| f.get_name() == "ndiaudiosrc").unwrap_or(false) {
|
||||
if element
|
||||
.get_factory()
|
||||
.map(|f| f.get_name() == "ndiaudiosrc")
|
||||
.unwrap_or(false)
|
||||
{
|
||||
audio = true;
|
||||
} else {
|
||||
video = true;
|
||||
|
|
Loading…
Reference in a new issue