gst/gstindex.h (GstIndex): Add field for user_data_destroy. We don't have a dispose...
authorAndy Wingo <wingo@pobox.com>
Sat, 19 Nov 2005 17:26:27 +0000 (17:26 +0000)
committerAndy Wingo <wingo@pobox.com>
Sat, 19 Nov 2005 17:26:27 +0000 (17:26 +0000)
commit4a61de0e11de11453baae88bab58c49c904198b2
treed616f7b75dd8a8c84f2b45c7f66c7a3e168068fa
parent77d95482f66670ba26466706c8f28f9aba4482fd
gst/gstindex.h (GstIndex): Add field for user_data_destroy. We don't have a dispose function, so it won't get called ...

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

* 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!

* gst/gstindex.c (gst_index_set_filter_full): New API function,
allows a destroy function to be set so user_data can be freed.
Fixes #168438.
(gst_index_set_filter): Call gst_index_set_filter_full.
ChangeLog
gst/gstindex.c
gst/gstindex.h