Tracking time for which a pipeline has been in Playing state.

Tim-Philipp Müller t.i.m at zen.co.uk
Wed Feb 23 03:01:59 PST 2011


On Wed, 2011-02-23 at 16:20 +0530, Yogesh Marwaha wrote:


> progressreport element only give access to the processed and actual
> lengths of stream. It does show remaining time in the debug output but
> that too is always increasing (i.e. when pipeline is put to Paused
> state)

Yes, indeed. You could just create a GTimer and
start/pause/continue/stop it depending on pipeline state change messages
on the bus.

 Cheers
  -Tim




More information about the gstreamer-devel mailing list