Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
02f69bea
Commit
02f69bea
authored
Jan 13, 2016
by
dogmaphobic
Browse files
"Fix" for hanging on exit when Video Streaming build is enabled.
parent
438cf368
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/VideoStreaming/VideoStreaming.cc
View file @
02f69bea
...
@@ -114,7 +114,16 @@ void initializeVideoStreaming(int &argc, char* argv[])
...
@@ -114,7 +114,16 @@ void initializeVideoStreaming(int &argc, char* argv[])
void
shutdownVideoStreaming
()
void
shutdownVideoStreaming
()
{
{
/* From: http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-Gst.html#gst-deinit
*
* "It is normally not needed to call this function in a normal application as the resources will automatically
* be freed when the program terminates. This function is therefore mostly used by testsuites and other memory
* profiling tools."
*
* It's causing a hang on exit. It hangs while deleting some thread.
*
#if defined(QGC_GST_STREAMING)
#if defined(QGC_GST_STREAMING)
gst_deinit();
gst_deinit();
#endif
#endif
*/
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment