Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
614b39c9
Commit
614b39c9
authored
Feb 18, 2020
by
Andrew Voznytsa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use VideoReceiverLog category for video streaming stuff
parent
4fdc5f5f
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
41 deletions
+44
-41
VideoReceiver.cc
src/VideoStreaming/VideoReceiver.cc
+40
-39
VideoStreaming.cc
src/VideoStreaming/VideoStreaming.cc
+4
-2
No files found.
src/VideoStreaming/VideoReceiver.cc
View file @
614b39c9
This diff is collapsed.
Click to expand it.
src/VideoStreaming/VideoStreaming.cc
View file @
614b39c9
...
...
@@ -17,6 +17,8 @@
#include <QtQml>
#include <QDebug>
#include "VideoReceiver.h"
#if defined(QGC_GST_STREAMING)
#include <gst/gst.h>
...
...
@@ -146,7 +148,7 @@ void initializeVideoStreaming(int &argc, char* argv[], int gstDebuglevel)
GError
*
error
=
nullptr
;
if
(
!
gst_init_check
(
&
argc
,
&
argv
,
&
error
))
{
qC
ritical
(
)
<<
"gst_init_check() failed: "
<<
error
->
message
;
qC
Critical
(
VideoReceiverLog
)
<<
"gst_init_check() failed: "
<<
error
->
message
;
g_error_free
(
error
);
}
...
...
@@ -192,7 +194,7 @@ void initializeVideoStreaming(int &argc, char* argv[], int gstDebuglevel)
gst_object_unref
(
sink
);
sink
=
nullptr
;
}
else
{
qC
ritical
(
)
<<
"unable to find qmlglsink - you need to build it yourself and add to GST_PLUGIN_PATH"
;
qC
Critical
(
VideoReceiverLog
)
<<
"unable to find qmlglsink - you need to build it yourself and add to GST_PLUGIN_PATH"
;
}
GST_PLUGIN_STATIC_REGISTER
(
qgc
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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