From d536990ad4907603d10ece1c77f52045275296f7 Mon Sep 17 00:00:00 2001 From: Thomas Adamcik Date: Thu, 5 May 2011 22:37:55 +0200 Subject: [PATCH] Update _set_state docstring --- mopidy/gstreamer.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mopidy/gstreamer.py b/mopidy/gstreamer.py index 79e87de4..7125efe9 100644 --- a/mopidy/gstreamer.py +++ b/mopidy/gstreamer.py @@ -205,8 +205,9 @@ class GStreamer(ThreadingActor): "READY" -> "NULL" "READY" -> "PAUSED" - :param state_name: NULL, READY, PAUSED, or PLAYING - :type state_name: string + :param state: State to set pipeline to. One of: `gst.STATE_NULL`, + `gst.STATE_READY`, `gst.STATE_PAUSED` and `gst.STATE_PLAYING`. + :type state: :class:`gst.State` :rtype: :class:`True` or :class:`False` """ result = self._pipeline.set_state(state)