Fix rust fmt

This commit is contained in:
rubenrua 2018-09-25 16:04:00 +02:00
parent 8a81ca526b
commit cb1ea2195f

View file

@ -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;