Clarify dependencies for RG GStreamer backend

This commit is contained in:
Adrian Sampson 2014-05-17 13:21:55 -07:00
parent 9bf4a69c85
commit 32a3da5961
2 changed files with 5 additions and 2 deletions

View file

@ -280,7 +280,9 @@ class GStreamerBackend(object):
GObject.threads_init()
Gst.init([sys.argv[0]])
except:
raise FatalReplayGainError("GStreamer failed to initialize")
raise FatalReplayGainError(
"Failed to load GStreamer; check that python-gi is installed"
)
self.GObject = GObject
self.GLib = GLib

View file

@ -23,8 +23,9 @@ GStreamer
To use `GStreamer`_ for ReplayGain analysis, you will of course need to
install GStreamer and plugins for compatibility with your audio files.
You will need at least GStreamer 1.0.
You will need at least GStreamer 1.0 and `PyGObject 3.x`_ (a.k.a. python-gi).
.. _PyGObject 3.x: https://wiki.gnome.org/action/show/Projects/PyGObject
.. _GStreamer: http://gstreamer.freedesktop.org/
Then, enable the plugin (see :ref:`using-plugins`) and specify the GStreamer