From 6e26121edf5360ecf20e898d0aa791974592dd77 Mon Sep 17 00:00:00 2001 From: davidsastresas Date: Wed, 27 Sep 2023 16:34:38 +0200 Subject: [PATCH] VideoSettings: Flag Herelink streams as configured: otherwise videoManager won't restart the receiver and video won't work properly when configured for Herelink --- src/Settings/VideoSettings.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Settings/VideoSettings.cc b/src/Settings/VideoSettings.cc index 8ade41d..89e8a6b 100644 --- a/src/Settings/VideoSettings.cc +++ b/src/Settings/VideoSettings.cc @@ -225,6 +225,16 @@ bool VideoSettings::streamConfigured(void) qCDebug(VideoManagerLog) << "Testing configuration for MPEG-TS Stream:" << udpPort()->rawValue().toInt(); return udpPort()->rawValue().toInt() != 0; } + //-- If Herelink Air unit, good to go + if(vSource == videoSourceHerelinkAirUnit) { + qCDebug(VideoManagerLog) << "Stream configured for Herelink Air Unit"; + return true; + } + //-- If Herelink Hotspot, good to go + if(vSource == videoSourceHerelinkHotspot) { + qCDebug(VideoManagerLog) << "Stream configured for Herelink Hotspot"; + return true; + } return false; }