Unverified Commit 55248a80 authored by Gus Grubba's avatar Gus Grubba Committed by GitHub

Merge pull request #8267 from tcanabrava/move_video_manager

Move VideoManager class from FligthDisplay to VideoStreaming
parents 385c643c f4927eab
...@@ -568,7 +568,6 @@ HEADERS += \ ...@@ -568,7 +568,6 @@ HEADERS += \
src/Camera/QGCCameraManager.h \ src/Camera/QGCCameraManager.h \
src/CmdLineOptParser.h \ src/CmdLineOptParser.h \
src/FirmwarePlugin/PX4/px4_custom_mode.h \ src/FirmwarePlugin/PX4/px4_custom_mode.h \
src/FlightDisplay/VideoManager.h \
src/FlightMap/Widgets/ValuesWidgetController.h \ src/FlightMap/Widgets/ValuesWidgetController.h \
src/FollowMe/FollowMe.h \ src/FollowMe/FollowMe.h \
src/Joystick/Joystick.h \ src/Joystick/Joystick.h \
...@@ -775,7 +774,6 @@ SOURCES += \ ...@@ -775,7 +774,6 @@ SOURCES += \
src/Camera/QGCCameraIO.cc \ src/Camera/QGCCameraIO.cc \
src/Camera/QGCCameraManager.cc \ src/Camera/QGCCameraManager.cc \
src/CmdLineOptParser.cc \ src/CmdLineOptParser.cc \
src/FlightDisplay/VideoManager.cc \
src/FlightMap/Widgets/ValuesWidgetController.cc \ src/FlightMap/Widgets/ValuesWidgetController.cc \
src/FollowMe/FollowMe.cc \ src/FollowMe/FollowMe.cc \
src/Joystick/Joystick.cc \ src/Joystick/Joystick.cc \
...@@ -1317,11 +1315,13 @@ HEADERS += \ ...@@ -1317,11 +1315,13 @@ HEADERS += \
src/VideoStreaming/VideoReceiver.h \ src/VideoStreaming/VideoReceiver.h \
src/VideoStreaming/VideoStreaming.h \ src/VideoStreaming/VideoStreaming.h \
src/VideoStreaming/SubtitleWriter.h \ src/VideoStreaming/SubtitleWriter.h \
src/VideoStreaming/VideoManager.h
SOURCES += \ SOURCES += \
src/VideoStreaming/VideoReceiver.cc \ src/VideoStreaming/VideoReceiver.cc \
src/VideoStreaming/VideoStreaming.cc \ src/VideoStreaming/VideoStreaming.cc \
src/VideoStreaming/SubtitleWriter.cc \ src/VideoStreaming/SubtitleWriter.cc \
src/VideoStreaming/VideoManager.cc
contains (CONFIG, DISABLE_VIDEOSTREAMING) { contains (CONFIG, DISABLE_VIDEOSTREAMING) {
message("Skipping support for video streaming (manual override from command line)") message("Skipping support for video streaming (manual override from command line)")
......
...@@ -157,7 +157,6 @@ target_link_libraries(qgc ...@@ -157,7 +157,6 @@ target_link_libraries(qgc
comm comm
FactSystem FactSystem
FirmwarePlugin FirmwarePlugin
FlightDisplay
FlightMap FlightMap
FollowMe FollowMe
Geo Geo
......
add_library(FlightDisplay
VideoManager.cc
)
target_link_libraries(FlightDisplay
PRIVATE
qgc
)
add_custom_target(FligthDisplayQml add_custom_target(FligthDisplayQml
SOURCES SOURCES
FlightDisplayView.qml FlightDisplayView.qml
...@@ -28,5 +19,3 @@ SOURCES ...@@ -28,5 +19,3 @@ SOURCES
PreFlightSoundCheck.qml PreFlightSoundCheck.qml
VirtualJoystick.qml VirtualJoystick.qml
) )
target_include_directories(FlightDisplay PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
...@@ -13,6 +13,8 @@ add_library(VideoStreaming ...@@ -13,6 +13,8 @@ add_library(VideoStreaming
VideoReceiver.h VideoReceiver.h
VideoStreaming.cc VideoStreaming.cc
VideoStreaming.h VideoStreaming.h
VideoManager.cc
VideoManager.h
) )
target_link_libraries(VideoStreaming target_link_libraries(VideoStreaming
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment