[gst-devel] gst-python, getting a percentage progress.
Łukasz Strzygowski
lucass at gentoo.org
Sat Aug 28 11:14:02 CEST 2004
Hello,
I'm using gst-python and gst.play.Play class. My problem is, that I
don't know how to get an information about percentage progress of
playing song. I couldn't find any documentation about gst.play.Play,
only few very basic examples.
I have tried something like that, but it always returns (0, 0L):
>>> play = gst.play.Play()
>>> (...)
>>> play.query(gst.QUERY_POSITION, gst.FORMAT_PERCENT)
My configuration:
gstreamer-0.8.5
gst-python-0.7.92
Thanks for help.
--
Łukasz Strzygowski <lucass at gentoo.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20040828/4cb3ad6b/attachment.pgp>
More information about the gstreamer-devel
mailing list