summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2020-03-31 18:17:45 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2020-03-31 18:17:45 +0200
commitd1e2d3b3fe8cc86950c57e6ce321d49ab0a56410 (patch)
tree0e4c11a395df7a2b322ecadb44a05e71d43d0f7a
parent00294aa031fd269c71cbbaa7b41878e8fb0a3dfb (diff)
downloadODR-AudioEnc-d1e2d3b3fe8cc86950c57e6ce321d49ab0a56410.tar.gz
ODR-AudioEnc-d1e2d3b3fe8cc86950c57e6ce321d49ab0a56410.tar.bz2
ODR-AudioEnc-d1e2d3b3fe8cc86950c57e6ce321d49ab0a56410.zip
Do not include gst files when no HAVE_GST
-rw-r--r--src/GSTInput.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GSTInput.cpp b/src/GSTInput.cpp
index bc7d44b..97bcc0f 100644
--- a/src/GSTInput.cpp
+++ b/src/GSTInput.cpp
@@ -25,15 +25,15 @@
#include <cstdio>
#include <cstring>
-#include <gst/audio/audio.h>
-#include <gst/app/gstappsink.h>
-
#include "GSTInput.h"
#include "config.h"
#if HAVE_GST
+#include <gst/audio/audio.h>
+#include <gst/app/gstappsink.h>
+
using namespace std;
GSTData::GSTData(SampleQueue<uint8_t>& samplequeue) :