|
|
@ -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) |
|
|
|