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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Nov 30 03:13:15 PST 2014


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

--- Comment #19 from Sebastian Dröge (slomo) <slomo at coaxion.net> 2014-11-30 11:13:09 UTC ---
I think it's unexpected to use any other time here than the running time. You
disagree so maybe there should be an enum property "animation-mode", which can
take the following values: frames (current behaviour that should stay the
default), running time, wall clock time.

Also instead of gettimeofday() you probably want to use g_get_current_time()
for portability. Also note that clockoverlay uses localtime() or localtime_r(),
but that shouldn't make a difference for the seconds and sub-seconds.

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