@ -29,6 +29,8 @@ const char* VideoSettings::videoSourceMPEGTS = QT_TRANSLATE_NOOP("Vid
const char * VideoSettings : : videoSource3DRSolo = QT_TRANSLATE_NOOP ( " VideoSettings " , " 3DR Solo (requires restart) " ) ;
const char * VideoSettings : : videoSource3DRSolo = QT_TRANSLATE_NOOP ( " VideoSettings " , " 3DR Solo (requires restart) " ) ;
const char * VideoSettings : : videoSourceParrotDiscovery = QT_TRANSLATE_NOOP ( " VideoSettings " , " Parrot Discovery " ) ;
const char * VideoSettings : : videoSourceParrotDiscovery = QT_TRANSLATE_NOOP ( " VideoSettings " , " Parrot Discovery " ) ;
const char * VideoSettings : : videoSourceYuneecMantisG = QT_TRANSLATE_NOOP ( " VideoSettings " , " Yuneec Mantis G " ) ;
const char * VideoSettings : : videoSourceYuneecMantisG = QT_TRANSLATE_NOOP ( " VideoSettings " , " Yuneec Mantis G " ) ;
const char * VideoSettings : : videoSourceHerelinkAirUnit = QT_TRANSLATE_NOOP ( " VideoSettings " , " Herelink AirUnit " ) ;
const char * VideoSettings : : videoSourceHerelinkHotspot = QT_TRANSLATE_NOOP ( " VideoSettings " , " Herelink Hotspot " ) ;
DECLARE_SETTINGGROUP ( Video , " Video " )
DECLARE_SETTINGGROUP ( Video , " Video " )
{
{
@ -48,6 +50,13 @@ DECLARE_SETTINGGROUP(Video, "Video")
videoSourceList . append ( videoSourceParrotDiscovery ) ;
videoSourceList . append ( videoSourceParrotDiscovery ) ;
videoSourceList . append ( videoSourceYuneecMantisG ) ;
videoSourceList . append ( videoSourceYuneecMantisG ) ;
# endif
# endif
# ifdef QGC_HERELINK_AIRUNIT_VIDEO
videoSourceList . append ( videoSourceHerelinkAirUnit ) ;
# else
videoSourceList . append ( videoSourceHerelinkHotspot ) ;
# endif
# ifndef QGC_DISABLE_UVC
# ifndef QGC_DISABLE_UVC
QList < QCameraInfo > cameras = QCameraInfo : : availableCameras ( ) ;
QList < QCameraInfo > cameras = QCameraInfo : : availableCameras ( ) ;
for ( const QCameraInfo & cameraInfo : cameras ) {
for ( const QCameraInfo & cameraInfo : cameras ) {