diff --git a/src/VideoStreaming/VideoReceiver.cc b/src/VideoStreaming/VideoReceiver.cc index 20aa8713bacef6b7d15d2155c05992fcc3abe0bd..c4f698d6a6885df8bb285fe51eca0473f258954a 100644 --- a/src/VideoStreaming/VideoReceiver.cc +++ b/src/VideoStreaming/VideoReceiver.cc @@ -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() {