Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilipp Hörist <forenjunkie@chello.at>2017-06-28 01:43:44 +0300
committerPhilipp Hörist <forenjunkie@chello.at>2017-06-28 01:43:44 +0300
commitbd3a0c8ac6a81ccfa6aaf8cabe711aa0099ce4e0 (patch)
tree4add5b7c6b98bd6ad51620d528c0b20f780a7144 /src
parent923bbc87a2d2f860e9b4e521d14088036185941f (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/config.py2
1 files changed, 1 insertions, 1 deletions
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(
))