summary refs log tree commit diff
path: root/src/WebRTCSession.cpp
diff options
context:
space:
mode:
authortrilene <trilene@runbox.com>2020-09-17 15:17:06 -0400
committertrilene <trilene@runbox.com>2020-09-17 15:17:06 -0400
commit8d7c70d9128ee2295e22640bca650f2885ec33bc (patch)
treed5d5b768cc9f9d299a818639e8f3615287668117 /src/WebRTCSession.cpp
parentAdapt device monitoring for GStreamer 1.18 (diff)
downloadnheko-8d7c70d9128ee2295e22640bca650f2885ec33bc.tar.xz
Fix preprocessor directive
Diffstat (limited to 'src/WebRTCSession.cpp')
-rw-r--r--src/WebRTCSession.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WebRTCSession.cpp b/src/WebRTCSession.cpp
index afa9fc22..b4cdeced 100644
--- a/src/WebRTCSession.cpp
+++ b/src/WebRTCSession.cpp
@@ -21,7 +21,7 @@ WebRTCSession::WebRTCSession()
 {
         qRegisterMetaType<WebRTCSession::State>();
         connect(this, &WebRTCSession::stateChanged, this, &WebRTCSession::setState);
-#if GST_CHECK_VERSION(1, 18, 0)
+#if defined (GSTREAMER_AVAILABLE) && GST_CHECK_VERSION(1, 18, 0)
         init();
 #endif
 }