From bd3a0c8ac6a81ccfa6aaf8cabe711aa0099ce4e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Wed, 28 Jun 2017 00:43:44 +0200 Subject: [PATCH] Only use GStreamer when Farstream is available To use GStreamer we need to call Gst.Init(). We call Gst.Init() only when Farstream is available. --- src/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.py b/src/config.py index ceb138c06..aa2d84a45 100644 --- a/src/config.py +++ b/src/config.py @@ -439,7 +439,7 @@ class PreferencesWindow: if config == value: combobox.set_active(index) - if HAS_GST: + if HAS_GST and gajim.HAVE_FARSTREAM: create_av_combobox('audio_input', AudioInputManager().get_devices()) create_av_combobox('audio_output', AudioOutputManager().get_devices( ))