diff --git a/src/FlightDisplay/FlightDisplayViewUVC.qml b/src/FlightDisplay/FlightDisplayViewUVC.qml index 2670e437a2bea558dfcc7fc8e7ec8614ff765961..3bbd3ffbc2431c3697de037761b80aa5f5a9d032 100644 --- a/src/FlightDisplay/FlightDisplayViewUVC.qml +++ b/src/FlightDisplay/FlightDisplayViewUVC.qml @@ -16,8 +16,9 @@ Rectangle { id: _root width: parent.width height: parent.height - anchors.centerIn: parent color: Qt.rgba(0,0,0,0.75) + clip: true + anchors.centerIn: parent function adjustAspectRatio() { diff --git a/src/Settings/VideoSettings.cc b/src/Settings/VideoSettings.cc index 0fdd43d962503ae76f8abe51ebe141a66adcb189..48430a6895412ebe488867b924e269350dfd4c10 100644 --- a/src/Settings/VideoSettings.cc +++ b/src/Settings/VideoSettings.cc @@ -90,7 +90,7 @@ DECLARE_SETTINGSFACT_NO_FUNC(VideoSettings, videoSource) if (!_videoSourceFact) { _videoSourceFact = _createSettingsFact(videoSourceName); //-- Check for sources no longer available - if(!_nameToMetaDataMap.contains(_videoSourceFact->rawValue().toString())) { + if(!_videoSourceFact->enumStrings().contains(_videoSourceFact->rawValue().toString())) { if (_noVideo) { _videoSourceFact->setRawValue(videoSourceNoVideo); } else {