Fix preprocessor directive

This commit is contained in:
trilene 2020-09-17 15:17:06 -04:00
parent b527c5a21c
commit 8d7c70d912
1 changed files with 1 additions and 1 deletions

View File

@ -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
}