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:
parent
923bbc87a2
commit
bd3a0c8ac6
|
@ -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(
|
||||
))
|
||||
|
|
Loading…
Reference in New Issue