[Bug 740557] videotestsrc: add ball motion based on system clock

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Nov 29 11:28:01 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=740557
  GStreamer | gst-plugins-base | git

--- Comment #14 from Sebastian Dröge (slomo) <slomo at coaxion.net> 2014-11-29 19:27:59 UTC ---
So you want the wallclock time? No, gst_util_get_timestamp() does not give you
that... I'm surprised it's only 1/2s off for you and not a completely different
number.

Why do you want the wallclock time here? For the sweep it might make sense to
use the current running time of the element maybe. You can get that by using
the normal synchronization formula:
gst_clock_get_time(gst_element_get_clock(element)) -
gst_element_get_base_time(element)  (plus correct reference counting, handling
of no clock or base 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