Hi there,

invoking the following commands repeatedly  in a playing pipeline:

     print self.clock.get_time()
     print self.player.get_base_time()

outputs the following results:

1218486552177048000
748299
1218486552997959000
748299
1218486553569937000
748299

According to Python GStreamer documentation: 
http://pygstdocs.berlios.de/pygst-reference/class-gstelement.html#method-gstelement--get-base-time,
 
the get_base_time() returns “the absolute time of the clock when this 
element was last put to PLAYING. Substracting the base time from the 
clock time gives the stream time of the element.”

Sorry, but how should I do that? The results of the different methods 
are not ”sustractable” from one another.

Thanks for your help,


Pablo
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to