Commit d04193a3 authored by Andrew Voznytsa's avatar Andrew Voznytsa

Fix DISABLE_VIDEOSTREAMING

parent 1200542b
...@@ -907,6 +907,7 @@ VideoReceiver::setVideoSink(GstElement* videoSink) ...@@ -907,6 +907,7 @@ VideoReceiver::setVideoSink(GstElement* videoSink)
// we are adding these elements-> +->teepad-->queue-->_filesink | // we are adding these elements-> +->teepad-->queue-->_filesink |
// | | // | |
// +------------------------+ // +------------------------+
#if defined(QGC_GST_STREAMING)
GstElement* GstElement*
VideoReceiver::_makeFileSink(const QString& videoFile, unsigned format) VideoReceiver::_makeFileSink(const QString& videoFile, unsigned format)
{ {
...@@ -988,6 +989,7 @@ VideoReceiver::_makeFileSink(const QString& videoFile, unsigned format) ...@@ -988,6 +989,7 @@ VideoReceiver::_makeFileSink(const QString& videoFile, unsigned format)
return fileSink; return fileSink;
} }
#endif
void void
VideoReceiver::startRecording(const QString &videoFile) VideoReceiver::startRecording(const QString &videoFile)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment