Philipp Hörist pushed to branch master at gajim / gajim

Commits:
bd3a0c8a by Philipp Hörist at 2017-06-28T00:43:44+02:00
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.

- - - - -


1 changed file:

- src/config.py


Changes:

=====================================
src/config.py
=====================================
--- 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(
                 ))



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/bd3a0c8ac6a81ccfa6aaf8cabe711aa0099ce4e0
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to