[gstreamer-bugs] [Bug 343346] patch for missing G_GNUC_NULL_TERMINATED

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue May 30 05:09:41 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=343346
 GStreamer | gstreamer (core) | Ver: HEAD CVS


Jan Schmidt changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thaytan at mad.scientist.com




------- Comment #2 from Jan Schmidt  2006-05-30 12:09 UTC -------
I'm not sure we can actually do this, although it would be nice.

In existing apps, it is valid to do gst_structure_new ("Name", NULL), because
it internally checks for the first fieldname being NULL, even though it's
separate from the varargs. Of course, such code is better off using
gst_structure_empty_new for a little more efficiency.

However, adding the argument means that existing code using this idiom will
fail to compile, even though it's valid. Ditto for the gst_caps_new methods.

I think we have to punt this to 0.11.


-- 
Configure bugmail: http://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