[gstreamer-bugs] [Bug 546328] New: fractions with G_MAXINT cause failure for fixation
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Mon Aug 4 15:00:53 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
Summary: fractions with G_MAXINT cause failure for fixation
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: critical
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: tester at tester.ca
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
If we try to fixate a list { 15/2, 5/1 } around G_MAXINT/1 (like v4l2src tries
to do with one of my webcams). It fails because
gst_structure_fixate_field_nearest_fraction() does (G_MAXINT/1 - 15/2) and that
fails. That prevents my otherwise perfectly fine Logitech quickcam Fusion from
working with telepathy stream-engine..
Fixing that mean breaking the API in some way..We can either make the max
num/demum to be sqrt(G_MAXINT)~ 46k .. Or we could store the num/demun into a
64bit...
--
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