mirror of
https://github.com/beetbox/beets.git
synced 2026-01-03 22:42:44 +01:00
replaygain: clarified the need to strange thread initialization|
This commit is contained in:
parent
d8c37d6ca3
commit
cf49d88156
1 changed files with 2 additions and 3 deletions
|
|
@ -266,9 +266,8 @@ class GStreamerBackend(object):
|
|||
gi.require_version('Gst', '1.0')
|
||||
|
||||
from gi.repository import GObject, Gst
|
||||
# Thread initialization. The pipeline freezes if not initialized
|
||||
# at this point. Not entirely sure why this is not handled by
|
||||
# the framwork.
|
||||
# Calling GObject.threads_init() is not needed for
|
||||
# PyGObject 3.10.2+
|
||||
GObject.threads_init()
|
||||
Gst.init([sys.argv[0]])
|
||||
except:
|
||||
|
|
|
|||
Loading…
Reference in a new issue