[gstreamer-bugs] [Bug 467667] [0.11] GST_FRAMES_TO_CLOCK_TIME() and GST_CLOCK_TIME_TO_FRAMES() should use GstClockTime, not gdouble

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Aug 17 08:09:09 PDT 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=467667

  GStreamer | gst-plugins-base | Ver: HEAD CVS




------- Comment #7 from Tim-Philipp Müller  2007-08-17 15:09 UTC -------
Looks ok to me too.  I think you might even be able to use
gst_util_uint64_scale_int() in both cases.  I'd keep the (GstClockTime) cast of
the return value for the first case (I realise it's typedef'ed to guint64, but
I'm not sure if c++ compilers might still complain about it. It's clearer in
any case IMHO).


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=467667.




More information about the Gstreamer-bugs mailing list