gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.

Original commit message from CVS:
2005-11-19  Andy Wingo  <wingo@pobox.com>

* gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
Really fixes #168438. However I don't see anywhere where the
filter function is called... stupid GStreamer...
This commit is contained in:
Andy Wingo 2005-11-19 17:28:58 +00:00
parent 4a61de0e11
commit 4bccc99723
2 changed files with 6 additions and 1 deletions

View file

@ -1,5 +1,9 @@
2005-11-19 Andy Wingo <wingo@pobox.com>
* gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
Really fixes #168438. However I don't see anywhere where the
filter function is called... stupid GStreamer...
* gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
don't have a dispose function, so it won't get called when the
object is unreffed, but oh well!

View file

@ -252,7 +252,8 @@ struct _GstIndexGroup {
*
*/
typedef gboolean (*GstIndexFilter) (GstIndex *index,
GstIndexEntry *entry);
GstIndexEntry *entry,
gpointer user_data);
/**
* GstIndexResolverMethod:
* @GST_INDEX_RESOLVER_CUSTOM: Use a custom resolver