Browse Source

Merge pull request #8267 from tcanabrava/move_video_manager

Move VideoManager class from FligthDisplay to VideoStreaming
QGC4.4
Gus Grubba 5 years ago committed by GitHub
parent
commit
55248a8064
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      qgroundcontrol.pro
  2. 1
      src/CMakeLists.txt
  3. 11
      src/FlightDisplay/CMakeLists.txt
  4. 2
      src/VideoStreaming/CMakeLists.txt
  5. 0
      src/VideoStreaming/VideoManager.cc
  6. 0
      src/VideoStreaming/VideoManager.h

4
qgroundcontrol.pro

@ -568,7 +568,6 @@ HEADERS += \ @@ -568,7 +568,6 @@ HEADERS += \
src/Camera/QGCCameraManager.h \
src/CmdLineOptParser.h \
src/FirmwarePlugin/PX4/px4_custom_mode.h \
src/FlightDisplay/VideoManager.h \
src/FlightMap/Widgets/ValuesWidgetController.h \
src/FollowMe/FollowMe.h \
src/Joystick/Joystick.h \
@ -775,7 +774,6 @@ SOURCES += \ @@ -775,7 +774,6 @@ SOURCES += \
src/Camera/QGCCameraIO.cc \
src/Camera/QGCCameraManager.cc \
src/CmdLineOptParser.cc \
src/FlightDisplay/VideoManager.cc \
src/FlightMap/Widgets/ValuesWidgetController.cc \
src/FollowMe/FollowMe.cc \
src/Joystick/Joystick.cc \
@ -1317,11 +1315,13 @@ HEADERS += \ @@ -1317,11 +1315,13 @@ HEADERS += \
src/VideoStreaming/VideoReceiver.h \
src/VideoStreaming/VideoStreaming.h \
src/VideoStreaming/SubtitleWriter.h \
src/VideoStreaming/VideoManager.h
SOURCES += \
src/VideoStreaming/VideoReceiver.cc \
src/VideoStreaming/VideoStreaming.cc \
src/VideoStreaming/SubtitleWriter.cc \
src/VideoStreaming/VideoManager.cc
contains (CONFIG, DISABLE_VIDEOSTREAMING) {
message("Skipping support for video streaming (manual override from command line)")

1
src/CMakeLists.txt

@ -157,7 +157,6 @@ target_link_libraries(qgc @@ -157,7 +157,6 @@ target_link_libraries(qgc
comm
FactSystem
FirmwarePlugin
FlightDisplay
FlightMap
FollowMe
Geo

11
src/FlightDisplay/CMakeLists.txt

@ -1,13 +1,4 @@ @@ -1,13 +1,4 @@
add_library(FlightDisplay
VideoManager.cc
)
target_link_libraries(FlightDisplay
PRIVATE
qgc
)
add_custom_target(FligthDisplayQml
SOURCES
FlightDisplayView.qml
@ -28,5 +19,3 @@ SOURCES @@ -28,5 +19,3 @@ SOURCES
PreFlightSoundCheck.qml
VirtualJoystick.qml
)
target_include_directories(FlightDisplay PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})

2
src/VideoStreaming/CMakeLists.txt

@ -13,6 +13,8 @@ add_library(VideoStreaming @@ -13,6 +13,8 @@ add_library(VideoStreaming
VideoReceiver.h
VideoStreaming.cc
VideoStreaming.h
VideoManager.cc
VideoManager.h
)
target_link_libraries(VideoStreaming

0
src/FlightDisplay/VideoManager.cc → src/VideoStreaming/VideoManager.cc

0
src/FlightDisplay/VideoManager.h → src/VideoStreaming/VideoManager.h

Loading…
Cancel
Save