[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 00:29:58 PDT 2010


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

--- Comment #2 from Sebastian Dröge <slomo at circular-chaos.org> 2010-07-05 07:29:52 UTC ---
That would be bug #601582 then btw and could be fixed for 0.10 already.


Well, if the pads store the segments and keep track of timestamps and
everything it could be implemented at the pad level. Including the current
position query. Until then we could implement it as another query type that can
be answered by elements that keep track of their segments.


After some more thinking I would implement it as a single query,
GST_QUERY_TYPE_TIMES, which would query both times at once. If something can
know the stream time it can also know the running time.

(Use case for this is btw playbin2's gapless playback. It needs to get the
running times of the sinks when gapless switching between tracks.)

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