From cf49d88156ed67220e71a2f04b501118941e623a Mon Sep 17 00:00:00 2001 From: Yevgeny Bezman Date: Fri, 4 Apr 2014 20:20:03 +0300 Subject: [PATCH] replaygain: clarified the need to strange thread initialization| --- beetsplug/replaygain.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/beetsplug/replaygain.py b/beetsplug/replaygain.py index aeb4b1c9c..4a6a31c19 100644 --- a/beetsplug/replaygain.py +++ b/beetsplug/replaygain.py @@ -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: