[Bug 764288] New: structure: Large integer gets detected as double instead of int64
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Mar 28 18:50:10 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=764288
Bug ID: 764288
Summary: structure: Large integer gets detected as double
instead of int64
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gstreamer (core)
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: vivia at ahiru.eu
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 324893
--> https://bugzilla.gnome.org/attachment.cgi?id=324893&action=edit
Test case
Running the attached test case gives this output:
Serialized structure measurement, field1=(int)1000000000;
Structure didn't contain an int64 field1
Serialized structure measurement, field1=(double)10000000000;
Structure didn't contain an int64 field1
Why double? There's no decimal point anywhere, shouldn't it be detected as an
int64 instead?
PS: I know it's leaky, it's just a small demo.
PS2: Why is there no GST_STRUCTURE_FORMAT ? Now I'm leaking the strings as well
as the structures :(
--
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