gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
authorAndy Wingo <wingo@pobox.com>
Sat, 19 Nov 2005 17:28:58 +0000 (17:28 +0000)
committerAndy Wingo <wingo@pobox.com>
Sat, 19 Nov 2005 17:28:58 +0000 (17:28 +0000)
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...

ChangeLog
gst/gstindex.h

index b4b2984..83dfbd2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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!
index 2ca164e..01f64c2 100644 (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