We simply set the video aspect ratio before we set the resolution and
We don't try to change the resolution when aspect ratio gets changed
videoSettings.setVideoResolution()
}
}
-
- onVideoAspectRatioChanged: {
- if (!root.deviceChangeInProgress) {
- videoSettings.setVideoResolution()
- }
- }
}
PipelineManager {
capitalize: true
text: qsTr("%1 %2").arg(resolutionName).arg(resolution)
checked: settings.videoResolution == resolutionName
- onClicked: settings.videoResolution = resolutionName
+ onClicked: {
+ settings.videoAspectRatio = resolutionAspectRatio
+ settings.videoResolution = resolutionName
+ }
}
}
}