diff options
author | Philipp Hörist <forenjunkie@chello.at> | 2017-06-28 01:43:44 +0300 |
---|---|---|
committer | Philipp Hörist <forenjunkie@chello.at> | 2017-06-28 01:43:44 +0300 |
commit | bd3a0c8ac6a81ccfa6aaf8cabe711aa0099ce4e0 (patch) | |
tree | 4add5b7c6b98bd6ad51620d528c0b20f780a7144 /src | |
parent | 923bbc87a2d2f860e9b4e521d14088036185941f (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.py | 2 |
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( )) |