GNOME Bugzilla – Bug 675353
clarify usage of GST time unit macros
Last modified: 2012-05-15 09:52:13 UTC
g_timeout_add and clutter_actor_animate expect milliseconds but GST_SECOND is in nano. so to fix the units differnce use glib's G_TIME_SPAN_MILLISECOND (which is 1000) to increase code readability. right now the code uses GST_USECOND instead of 1000 which is a bit weird and hard to read at first glance since that parameter is meant in milliseconds, i.e. 1000 == 1second.
Fixed http://git.gnome.org/browse/snappy/commit/?id=b30d53242b8ff9fb36272ca0120430622cbf045f