summaryrefslogtreecommitdiff
path: root/multimedia/quodlibet/files/patch-quodlibet_player_gstbe_util.py
blob: 4c24ba8538c2524833dea639af4ce712517fda66 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- quodlibet/player/gstbe/util.py.orig	2020-10-15 13:54:35 UTC
+++ quodlibet/player/gstbe/util.py
@@ -28,14 +28,9 @@ def pulse_is_running():
         element.set_state(Gst.State.NULL)
         return res != Gst.StateChangeReturn.FAILURE
 
-    # In case we don't have it call the pulseaudio binary
-    try:
-        subprocess.check_call(["pulseaudio", "--check"])
-    except subprocess.CalledProcessError:
-        return False
-    except OSError:
-        return False
-    return True
+    # NOTE: Don't check with 'pulseaudio --check' because it can't guarantee
+    #       Gstreamer works with PA (e.g., when 'pulsesink' not installed).
+    return False
 
 
 def link_many(elements):