[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:57:48 PDT 2010


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

--- Comment #5 from Wim Taymans <wim.taymans at gmail.com> 2010-07-05 08:57:46 UTC ---
(In reply to comment #4)
> > 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()).

That would be a bug then.

> 
> > 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).

That's true. But you actively need to do something to make elements in a
pipeline have different base_times (and clocks). Do we really do this and do
elements in this case need to know about the other 'time domain'?


It sounds like you want to make the POSITION query it more generic so that it
can return more than just stream_time.

-- 
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