mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-29 06:50:59 +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 audio = false;
|
||||||
let mut video = 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;
|
audio = true;
|
||||||
} else {
|
} else {
|
||||||
video = true;
|
video = true;
|
||||||
|
|
Loading…
Reference in a new issue