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
dbf1dc04
Commit
dbf1dc04
authored
Jan 17, 2017
by
Jacob Walser
Browse files
Don't define _shutdownPipeline if there is no gstreamer support
parent
a457abc9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/VideoStreaming/VideoReceiver.cc
View file @
dbf1dc04
...
...
@@ -351,6 +351,7 @@ void VideoReceiver::setVideoSavePath(const QString & path)
qCDebug
(
VideoReceiverLog
)
<<
"New Path:"
<<
_path
;
}
#if defined(QGC_GST_STREAMING)
void
VideoReceiver
::
_shutdownPipeline
()
{
GstBus
*
bus
=
NULL
;
if
((
bus
=
gst_pipeline_get_bus
(
GST_PIPELINE
(
_pipeline
)))
!=
NULL
)
{
...
...
@@ -371,6 +372,7 @@ void VideoReceiver::_shutdownPipeline() {
_running
=
false
;
emit
recordingChanged
();
}
#endif
#if defined(QGC_GST_STREAMING)
void
VideoReceiver
::
_handleError
()
{
...
...
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