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
5872f6b0
Unverified
Commit
5872f6b0
authored
Mar 27, 2020
by
Don Gagne
Committed by
GitHub
Mar 27, 2020
Browse files
Merge pull request #8614 from alexeylysenko/remove_unnecessary_allocations
Removed unnecessary memory allocation
parents
e58ce630
a357909e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/VideoReceiver/GStreamer.cc
View file @
5872f6b0
...
...
@@ -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