[gstreamer-bugs] [Bug 546328] fractions with G_MAXINT cause failure for fixation

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Aug 4 15:19:03 PDT 2008


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

  GStreamer | gstreamer (core) | Ver: HEAD CVS




------- Comment #1 from Olivier Crete (Tester)  2008-08-04 22:19 UTC -------
Created an attachment (id=115860)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=115860&action=view)
Find nearest fraction using doubles instead of fractions

I though about the problem a bit more and the solution became clear, the result
does not have to be perfectly accurate to find which is the nearest, an
approximation is OK, so we can use a double to do the maths, we can get there
without having to worry about integer overflows.


-- 
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=546328.




More information about the Gstreamer-bugs mailing list