diff --git a/src/FlightDisplay/FlightDisplayViewVideo.qml b/src/FlightDisplay/FlightDisplayViewVideo.qml index d1c84c1e375..66701676606 100644 --- a/src/FlightDisplay/FlightDisplayViewVideo.qml +++ b/src/FlightDisplay/FlightDisplayViewVideo.qml @@ -26,7 +26,9 @@ Item { property bool useSmallFont: true - property double _ar: QGroundControl.videoManager.aspectRatio + property double _ar: QGroundControl.videoManager.gstreamerEnabled + ? QGroundControl.videoManager.videoSize.width / QGroundControl.videoManager.videoSize.height + : QGroundControl.videoManager.aspectRatio property bool _showGrid: QGroundControl.settingsManager.videoSettings.gridLines.rawValue property var _dynamicCameras: globals.activeVehicle ? globals.activeVehicle.cameraManager : null property bool _connected: globals.activeVehicle ? !globals.activeVehicle.communicationLost : false