From 4bccc99723ccad179ed23eab7ad5413e802f0199 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Sat, 19 Nov 2005 17:28:58 +0000 Subject: [PATCH] gst/gstindex.h (GstIndexFilter): Actually pass on the user_data. Original commit message from CVS: 2005-11-19 Andy Wingo * 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... --- ChangeLog | 4 ++++ gst/gstindex.h | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b4b2984..83dfbd2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2005-11-19 Andy Wingo + * 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! diff --git a/gst/gstindex.h b/gst/gstindex.h index 2ca164e..01f64c2 100644 --- a/gst/gstindex.h +++ b/gst/gstindex.h @@ -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 -- 2.7.4