Skip to content
Snippets Groups Projects
Unverified Commit 014825da authored by Gus Grubba's avatar Gus Grubba Committed by GitHub
Browse files

Merge pull request #7042 from mavlink/uvcVideo

UVC Video Work
parents 903ed024 17260d99
No related branches found
No related tags found
No related merge requests found
......@@ -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()
{
......
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment