[gst-devel] get_time object needs an argument?

Tim-Philipp Müller t.i.m at zen.co.uk
Sun May 3 18:33:31 CEST 2009


On Sun, 2009-05-03 at 09:17 -0700, EmbeddedMicro wrote:

> I am trying to get the current time using time = gst.Clock.get_time() but I
> get the error TypeError: descriptor 'get_time' of 'gst.Clock' object needs
> an argument. On 
> http://pygstdocs.berlios.de/pygst-reference/class-gstclock.html#method-gstclock--get-time
> http://pygstdocs.berlios.de/pygst-reference/class-gstclock.html#method-gstclock--get-time 
> it does not show any arguments needed for get_time(). What's going on here?

You probably need to call that on a GstClock object, so
clock.get_time().

Cheers
 -Tim






More information about the gstreamer-devel mailing list