Browse Source

Fix compiler warning

QGC4.4
Don Gagne 9 years ago
parent
commit
bd19fc83ff
  1. 2
      src/VideoStreaming/VideoStreaming.cc

2
src/VideoStreaming/VideoStreaming.cc

@ -42,12 +42,14 @@ @@ -42,12 +42,14 @@
#endif
#if defined(QGC_GST_STREAMING)
#if (defined(__macos) && defined(QGC_INSTALL_RELEASE)) || defined(Q_OS_WIN)
static void qgcputenv(const QString& key, const QString& root, const QString& path)
{
QString value = root + path;
qputenv(key.toStdString().c_str(), QByteArray(value.toStdString().c_str()));
}
#endif
#endif
void initializeVideoStreaming(int &argc, char* argv[])
{

Loading…
Cancel
Save