[Bug 322587] [API 0.11] change gst_value_union() return value to void
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Nov 10 10:39:11 PST 2011
https://bugzilla.gnome.org/show_bug.cgi?id=322587
GStreamer | gstreamer (core) | git
Vincent Penquerc'h <vincent.penquerch> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vincent.penquerch at collabora
| |.co.uk
--- Comment #9 from Vincent Penquerc'h <vincent.penquerch at collabora.co.uk> 2011-11-10 18:39:05 UTC ---
Now, there's one extra reason why a union call might fail:
if one tries to union [0..3] with [6..9], say.
A theoretical solution would be to expand that into {0, 1, 2, 3, 6, 7, 8, 9},
but that does not scale very well at all.
Not sure what to do here. Erroring out above a certain "resulting list size"
threshold seems wrong.
Alternatively, keep the return codes for such cases, but fail hard on type
mismatches instead of returning errors. Not sure I like that either.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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