Browse Source

Merge pull request #8366 from andrewvoznytsa/pr-DISABLE_VIDEOSTREAMING-fix2

Fix DISABLE_VIDEOSTREAMING (once more)
QGC4.4
Don Gagne 5 years ago committed by GitHub
parent
commit
28546b723b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/VideoStreaming/VideoReceiver.cc

2
src/VideoStreaming/VideoReceiver.cc

@ -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)
return fileSink; return fileSink;
} }
#endif
void void
VideoReceiver::startRecording(const QString &videoFile) VideoReceiver::startRecording(const QString &videoFile)

Loading…
Cancel
Save