[Bug 596374] probably shouldn't use -1 as special value on uint property
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sun Oct 21 09:47:12 PDT 2012
https://bugzilla.gnome.org/show_bug.cgi?id=596374
GStreamer | gnonlin | git
Tim-Philipp Müller <t.i.m> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|HEAD |1.0.0
Severity|normal |blocker
--- Comment #6 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2012-10-21 16:47:07 UTC ---
I think it's inconsistent, as per comment #3, and we should change it now that
we have the opportunity, before gnonlin is released for 1.0.
I would change the property type to a signed int, and continue to use -1 as the
special value. The lowest priority is then G_MAXINT.
The current code is also broken btw, in that it assumes sizeof(int) = 4.
G_MAXUINT32 is used instead of G_MAXUINT.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list