[Bug 745667] GstVolume: Unable to set the volume with gcc-4.9 on arm platform
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Mar 5 03:29:03 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=745667
Sebastian Dröge (slomo) <slomo at coaxion.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |slomo at coaxion.net
--- Comment #1 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
If that line is really the problem, or the lines below it... then I would say
this is a compiler bug (or undefined C behaviour I didn't know yet).
What happens afterwards is that we multiple a float with signed integers, and
my guess is that the compiler breaks that by first casting the float to an
integer (thus giving 0 for values < 1.0)... instead of casting the integer to a
float first.
Does the attached patch fix it for you?
--
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