-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMake: Improve GStreamer Inclusion #11806
Conversation
103e8d8
to
9db942b
Compare
8686864
to
e297efc
Compare
455a835
to
d0deb87
Compare
That's great. I tried it out. It works perfectly |
c370e37
to
517f18c
Compare
@@ -15,6 +7,16 @@ qt_add_library(VideoManager STATIC | |||
VideoManager.h | |||
) | |||
|
|||
# option(QGC_ENABLE_VIDEOSTREAMING "Enable video streaming" ON) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why leave in commented out?
qgcputenv("GST_PLUGIN_SYSTEM_PATH", "/usr/lib/x86_64-linux-gnu", "/gstreamer-1.0"); | ||
qgcputenv("GST_PLUGIN_PATH_1_0", currentDir, "../lib"); | ||
qgcputenv("GST_PLUGIN_PATH", currentDir, "../lib"); | ||
// const QString currentDir = QCoreApplication::applicationDirPath(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why leave in commented out?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was still messing with those when I had time. I'm having a hard time getting it perfect for all systems
target_compile_definitions(GStreamerReceiver PUBLIC QGC_GST_STREAMING) | ||
if(CMAKE_BUILD_TYPE STREQUAL "Release") | ||
if(MACOS AND CMAKE_BUILD_TYPE STREQUAL "Release") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How come Mac only?
95d0178
to
3d44849
Compare
c04e92d
to
eed6a8c
Compare
eed6a8c
to
5180f41
Compare
Significantly better method of handling GStreamer in CMake