GNOME Bugzilla – Bug 515469
patch to add gst_index_set_resolver_full
Last modified: 2008-02-11 17:54:46 UTC
gst_index_set_resolver_full is missing. It's needed by GStreamermm to set a destroy callback. The patch adds gst_index_set_resolver_full.
Created attachment 104792 [details] [review] gst_index_set_resolver_full patch
The destroy callback does not appear to be called (apart from when re-calling this function.
Patch by: Siavash Safi <siavash dot safi at gmail dot com> * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver), (gst_index_set_resolver_full): * gst/gstindex.h: Add new function with option to dispose of user_data in resolver. Actually call the dispose function when finalizing the object and not just when changing the resolver/filter. API: GstIndex::gst_index_set_resolver_full() * docs/gst/gstreamer-sections.txt: Add new function to docs. Fixes #515469.