[gstreamer-bugs] [Bug 623540] Add support for querying the stream time and running time

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jul 5 01:14:38 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=623540
  GStreamer | gstreamer (core) | git

--- Comment #4 from Sebastian Dröge <slomo at circular-chaos.org> 2010-07-05 08:14:34 UTC ---
(In reply to comment #3)
> (In reply to comment #0)
> > Hi,
> > it'd be nice if we had a way to query the current stream time and running time
> > from some element.
> 
> The current stream time can be get with a position query

The position query reports the position (i.e. buffer timestamps) for most
elements, not the stream time. Which could be slightly different depending on
the applied segment (start and rate) (gst_segment_to_stream_time()).

> and the running_time by taking the clock_time - base_time. 

That would be the running time of the element that holds the clock, right? But
that can be different to the running time inside some element (as calculated by
gst_segment_to_running_time() from the buffer timestamp).

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the Gstreamer-bugs mailing list