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.
This commit is contained in:
Philipp Hörist 2017-06-28 00:43:44 +02:00
parent 923bbc87a2
commit bd3a0c8ac6
1 changed files with 1 additions and 1 deletions

View File

@ -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(
))