Browse Source

Merge pull request #8275 from andrewvoznytsa/pr-gstreamer-tweaks

Allow developers (or advanced users) to override gstreamer debug settings
QGC4.4
Gus Grubba 5 years ago committed by GitHub
parent
commit
e36a8fbc64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/VideoStreaming/VideoStreaming.cc

2
src/VideoStreaming/VideoStreaming.cc

@ -132,7 +132,7 @@ void initializeVideoStreaming(int &argc, char* argv[], char* logpath, char* debu @@ -132,7 +132,7 @@ void initializeVideoStreaming(int &argc, char* argv[], char* logpath, char* debu
gst_ios_init();
#else
//-- Generic initialization
if (logpath) {
if (qgetenv("GST_DEBUG").isEmpty() && logpath) {
QString gstDebugFile = QString("%1/%2").arg(logpath).arg("gstreamer-log.txt");
qDebug() << "GStreamer debug output:" << gstDebugFile;
if (debuglevel) {

Loading…
Cancel
Save