GNOME Bugzilla – Bug 127133
[API] Need non-vararg version of gst_index_add_association
Last modified: 2005-08-15 01:27:55 UTC
Basically, we need a version of this function which doesn't take a variable list of arguments, so that people writing bindings can actually bind this functionality.
Created attachment 21506 [details] [review] Proposed solution, defines gst_index_add_association_list
Just to explain the proposed patch a little. Basically, it defines the following function: GstIndexEntry* gst_index_add_association_list (GstIndex *index, gint id, GstAssocFlag flags, gint nassocs, GstIndexAssociation *assocs) Basically, the new version takes an array of GstIndexAssociation, rather than a variable list of GstFormat/value pairs. This patch also modifies the original varargs version to call the _list() equivalent to perform the low-level functionality.
Adding the PATCH keyword and marking priority as high.
david, what do you think ?
2004-02-06 David Schleef <ds@schleef.org> * gst/gstindex.c: (gst_index_add_format), (gst_index_add_id), (gst_index_add_entry), (gst_index_add_associationv), (gst_index_add_association): Add gst_index_add_associationv() and clean up gst_index_add_association(). #127133