diff options
author | trilene <trilene@runbox.com> | 2020-09-17 15:17:06 -0400 |
---|---|---|
committer | trilene <trilene@runbox.com> | 2020-09-17 15:17:06 -0400 |
commit | 8d7c70d9128ee2295e22640bca650f2885ec33bc (patch) | |
tree | d5d5b768cc9f9d299a818639e8f3615287668117 /src/WebRTCSession.cpp | |
parent | Adapt device monitoring for GStreamer 1.18 (diff) | |
download | nheko-8d7c70d9128ee2295e22640bca650f2885ec33bc.tar.xz |
Fix preprocessor directive
Diffstat (limited to 'src/WebRTCSession.cpp')
-rw-r--r-- | src/WebRTCSession.cpp | 2 |
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 } |