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
a357909e
Commit
a357909e
authored
Mar 27, 2020
by
Alexey
Browse files
Removed unnecessary memory allocation
parent
e28a6c9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/VideoReceiver/GStreamer.cc
View file @
a357909e
...
...
@@ -125,7 +125,7 @@ GStreamer::initialize(int argc, char* argv[], int debuglevel)
#endif
//-- If gstreamer debugging is not configured via environment then use internal QT logging
if
(
q
getenv
(
"GST_DEBUG"
)
.
isEmpty
()
)
{
if
(
q
EnvironmentVariableIsEmpty
(
"GST_DEBUG"
))
{
gst_debug_set_default_threshold
(
static_cast
<
GstDebugLevel
>
(
debuglevel
));
gst_debug_remove_log_function
(
gst_debug_log_default
);
gst_debug_add_log_function
(
qt_gst_log
,
nullptr
,
nullptr
);
...
...
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