[Bug 667303] systemclock: use CoreVideo on Mac OS X

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jul 24 02:29:12 PDT 2013


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

--- Comment #2 from Håvard Graff (hgr) <havard.graff at gmail.com> 2013-07-24 09:29:08 UTC ---
(In reply to comment #1)
> Review of attachment 204621 [details]:
> 
> How good is the accuracy of the clock? Is it monotonic?
> 
> I don't remember those numbers anymore, but it was the clock we used for everything in Movi / Jabber Video on OSX.
> 
> What's the [-]? And why doesn't it work properly on iOS?
> 
> Don't remember, probably not needed, and you will have to ask Apple why. I just remember that it did not behave at all.

> ::: gst/gstsystemclock.c
> @@ +202,3 @@
> +    } else {
> +      priv->cv_ratio_n = 1;
> +      priv->cv_ratio_d = host_freq / GST_SECOND;
> 
> You mean cv_ratio_n = GST_SECOND; cv_ratio_d = host_freq; right? And the
> frequency is really reported in nanoseconds by CVGetHostClocKFrequency?

Well, do you do one large division initially, or do you do a large division
every time you access the clock? Result is the same, consider it a small
optimization. And yes, obviously in nanoseconds.

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